This content has been marked as final. Show 4 replies
We're using Linux (Red Hat). Sorry for leaving that out.
Yes, I've ready the document; sorry if my questions weren't clear or the answers should be obvious. The original post has been edited.Having more than 4 cores should not be a problem.
Several of the scenarios use Solaris processor sets to take advantage of the machine architecture, and to make sure that the selected CPUs in the processor set are isolated from any other activity on the machine. The equivalent functionality on Linux includes processor affinity and cpusets, in order to restrict the set of processors used by the tests.Having less cores just means the test will not be able to demonstrate deterministic behaviour.
you can use the script as-is (on Solaris or Linux) to run the scenarios on a single-processor machine, although some of the scenarios, mainly those for the GCDeterministic program, require a 4-CPU machine. If you have a single-CPU machine, just remove all instances of the following command in the script file:
* Solaris: psrset
* Linux: taskset
Note that removing these commands in the GCDeterministic scenarios will affect deterministic behavior.
Thanks, tschodt. I guess part of my confusion was not understanding exactly why some of the GCDeterministic scenarios require four CPUs in order to demonstrate determinism. All of the scenarios use either one or two CPUs. If the "one CPU" scenarios were able to demonstrate determinism on a single-CPU system, it wasn't clear to me why the "two CPU" scenarios required four CPUs to demonstrate determinism.