From 34d6423660cc7cf42c9e96085c3ef6c5ad399b1a Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Fri, 8 Dec 2023 04:22:12 +0100 Subject: [PATCH] Scheduler-test: **first successful complete run** MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Scheduling a wake-up job behind the end of the planned schedule did the trick. Sometimes there is ''strong contention'' immediately after full provision of the WorkForce, but this seems to be as expected, since the »Jobs« currently used have no actually relevant run time on their own. It is even more surprising that the Capacity-control logic is able to cope with this situation in a matter of just some milliseconds, bringing the average Lag at ~ 300µs --- tests/vault/gear/test-chain-load-test.cpp | 2 + tests/vault/gear/test-chain-load.hpp | 18 +++- wiki/thinkPad.ichthyo.mm | 100 +++++++++++++++++++--- 3 files changed, 109 insertions(+), 11 deletions(-) diff --git a/tests/vault/gear/test-chain-load-test.cpp b/tests/vault/gear/test-chain-load-test.cpp index e0c04834d..82fb6d01f 100644 --- a/tests/vault/gear/test-chain-load-test.cpp +++ b/tests/vault/gear/test-chain-load-test.cpp @@ -109,11 +109,13 @@ SHOW_EXPR(offset()) Scheduler scheduler{bFlow, watch}; SHOW_EXPR(testLoad.getHash()) + CHECK (testLoad.getHash() == 0x5306191657DA4105); SHOW_EXPR(offset()) testLoad.setupSchedule(scheduler) .launch_and_wait(); SHOW_EXPR(offset()) SHOW_EXPR(testLoad.getHash()) + CHECK (testLoad.getHash() == 0x5306191657DA4105); } diff --git a/tests/vault/gear/test-chain-load.hpp b/tests/vault/gear/test-chain-load.hpp index bc630fa8e..ddeb939b6 100644 --- a/tests/vault/gear/test-chain-load.hpp +++ b/tests/vault/gear/test-chain-load.hpp @@ -86,6 +86,7 @@ //#include "lib/hash-value.h" #include "vault/gear/job.h" #include "vault/gear/scheduler.hpp" +#include "vault/gear/special-job-fun.hpp" //#include "vault/gear/nop-job-functor.hpp" #include "lib/uninitialised-storage.hpp" #include "lib/time/timevalue.hpp" @@ -1284,7 +1285,9 @@ cout <<"--> reschedule to "< @@ -1357,6 +1360,19 @@ cout <<"+++ "< + + + + @@ -101305,7 +101309,7 @@ Date:   Thu Apr 20 18:53:17 2023 +0200
- + @@ -101317,10 +101321,10 @@ Date:   Thu Apr 20 18:53:17 2023 +0200
- - - - + + + + @@ -101337,17 +101341,38 @@ Date:   Thu Apr 20 18:53:17 2023 +0200
- - + + + + + + + + + + +

+ so einen Job auf den Level nach dem letzten Level setzen +

+ + +
+ +
+ + + + +
@@ -101398,6 +101423,17 @@ Date:   Thu Apr 20 18:53:17 2023 +0200
+ + + + + + + + + + + @@ -101638,13 +101674,57 @@ Date:   Thu Apr 20 18:53:17 2023 +0200
- + - - + + + + + + + + + + + + + + + + + + + + + + + +

+ danach / sonst : läuft verdächtig gut +

+ + +
+ + + + + + + + + + + + + + + + +