|
virtual | ~Test ()=default |
| this is an interface
|
|
lib::Random | makeRandGen () |
| build a dedicated new RandomGen, seeded from the default-Gen
|
|
virtual void | run (Arg arg)=0 |
|
void | seedRand () |
| draw a new random seed from a common nucleus, and re-seed the default-Gen.
|
|
static string | firstTok (Arg) |
| conveniently pick the first token from the argument line
|
|
static uint | firstVal (Arg, uint=1) |
| conveniently use some number given as argument, with optional default
|
|
◆ smokeTest()
◆ setup_systematicSchedule()
void setup_systematicSchedule |
( |
| ) |
|
|
inlineprivate |
◆ verify_instrumentation()
void verify_instrumentation |
( |
| ) |
|
|
inlineprivate |
◆ search_breaking_point()
void search_breaking_point |
( |
| ) |
|
|
inlineprivate |
◆ watch_expenseFunction()
void watch_expenseFunction |
( |
| ) |
|
|
inlineprivate |
- Test:
- Investigate the relation of run time (expense) to input length.
- again use the integrated StressRig
- this time overload the scheduler with a peak of uncorrelated jobs and watch the time and load required to work through this challenge
- conduct a series of runs with random number of jobs (within bounds)
- collect the observed data (as CSV), calculate a linear regression model
- optionally generate a Gnuplot script for visualisation
- See also
- vault::gear::bench::ParameterRange
-
gnuplot-gen.hpp
Definition at line 371 of file scheduler-stress-test.cpp.
References MARK_TEST_FUN.
◆ investigateWorkProcessing()
void investigateWorkProcessing |
( |
| ) |
|
|
inlineprivate |
- Test:
- use an extended load pattern to emulate a typical high work load
- using 4-step linear chains, interleaved such that each level holds 4 nodes
- the structure overall spans out to 66 levels, leading to ∅3.88 nodes/level
- load on each node is 5ms, so the overall run would take ~330ms back to back
- this structure is first performed on the bench::BreakingPoint
- in the second part, a similar structure with 4-times the size is performed as a single run, but this time with planning and execution interleaved.
- this demonstrates the Scheduler can sustain stable high load performance
Definition at line 426 of file scheduler-stress-test.cpp.
References TestChainLoad< maxFan >::buildTopology(), Config::COMPUTATION_CAPACITY, TestChainLoad< maxFan >::getHash(), MARK_TEST_FUN, StressTestRig< maxFan >::testSetup(), and TRANSIENTLY.
The documentation for this class was generated from the following file: