On 05-06-16 15:49, Parth Mittal wrote:
Hi
We’re trying to run domserver an judgedaemons on the same machine (a 6 core VM). My plan so far is to use the kernel flag isolcpus to reserve 4 cores for the judgedaemons. My question is that when we bind a judgedaemon using judgedamon -n does it set the affinity to the right mask by itself or do I need to do something?
Yes, the argument of -n is passed on via testcasse_run.sh to runguard's -P option, which binds the process to the CPU core with that ID. So if you start 4 judgedaemons with arguments to -n the 4 cores you want to use, then there's nothing else you need to do.
The one extra thing you could do, is explicitly make other processes *not* use those 4 cores, but I'm not sure that's easy to do.
Best, Jaap