parallelvm - concurrent VM system test
/testbin/parallelvm
parallelvm runs a fairly large number (24) of fairly small processes in parallel to stress your VM system. The processes perform aimless matrix operations.
Before attempting parallevm make sure the zero test passes; parallelvm will fail with wrong answers if its BSS doesn't start out zeroed. Also, it may be helpful to get it running successfully purely in RAM before cutting back the memory size so it swaps.
If your VM system's fork is particularly slow, you will probably find that the early processes exit before the later ones finish forking. This reduces the total memory load and can easily cause parallelvm to run completely in RAM without needing to swap; this in turn makes it a much less effective stress test. The only real remedy for this (other than making your fork faster) is to make each subprocess run longer; this currently requires patching the test.
parallelvm uses the following system calls:
parallelvm should run properly once your VM system is complete.