File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,8 @@ OPTIONS
2323 -n, --dry-run Show what would have been done.
2424 -t, --timeout <N> Timeout after N seconds. This option is ignored by -n.
2525 --backoff <N> Wait for factor of microseconds before starting work.
26- -c, --cpu <N> Spawn N workers spinning on sqrt().
26+ -c, --cpu <N> Spawn N workers spinning on pseudo-random number generation
27+ and sqrt().
2728 -i, --io <N> Spawn N workers spinning on sync().
2829 -m, --vm <N> Spawn N workers spinning on malloc()/free().
2930 --vm-bytes <B> Malloc B bytes per vm worker (default is 256MB).
@@ -39,7 +40,8 @@ OPTIONS
3940EXAMPLES
4041 The simple case is that you just want to bring the system load average up to an
4142 arbitrary value. The following forks 13 processes, each of which spins in a
42- tight loop calculating the sqrt() of a random number acquired with rand().
43+ tight loop calculating the sqrt() of a random number acquired from a fixed-seed
44+ pseudo-random number generator (xoroshiro128+).
4345
4446 stress -c 13
4547
Original file line number Diff line number Diff line change @@ -802,7 +802,8 @@ usage (int status)
802802 " -n, --dry-run show what would have been done\n"
803803 " -t, --timeout N timeout after N seconds\n"
804804 " --backoff N wait factor of N microseconds before work starts\n"
805- " -c, --cpu N spawn N workers spinning on sqrt()\n"
805+ " -c, --cpu N spawn N workers spinning on pseudo-random number generation\n"
806+ " and sqrt()\n"
806807 " -i, --io N spawn N workers spinning on sync()\n"
807808 " -m, --vm N spawn N workers spinning on malloc()/free()\n"
808809 " --vm-bytes B malloc B bytes per vm worker (default is 256MB)\n"
You can’t perform that action at this time.
0 commit comments