Search documentation
Dashboard
Fault Injection
Experiments

CPU Experiment

The CPU experiment generates high load for one or more CPU cores. It does this by running expensive arithmetic operations across a number of threads (one for each core targeted). When the CPU Gremlin runs, the OS Scheduler decides where the process will run and your application (and all other processes) will compete for CPU time. There's no guarantee that our process will all block others.

Options

ParameterFlagRequiredDefaultVersionDescription
Cores-c intFalse10.0.1The number of cores to try to utilize.
Percent-p <0-100>False1002.11.0The percent of each core to utilize.
All Cores-aFalseFalse2.11.0If set, consume all available cores (cannot be used with -c parameter).
Length-l intFalse600.0.1The length of the experiment (seconds).