On Fri, Sep 05, 2008 at 08:49:49AM +0200, Robert G. wrote:
Hey, as everyone knows, if you have 1-2-4 cpus/cores, you can set the
For 2 cores/cpus is like this: worker_cpu_affinity 0101 1010;
For 4 cores/cpus is like this: worker_cpu_affinity 1000 0100 0010 0001;
But how about 8 cores/cpus?
worker_cpu_affinity 1st_worker_mask 2nd_worker_mask … ;
worker_cpu_affinity 00001111 11110000;
will run first worker on 0-3 CPUS and second worker on 4-7 CPUS.
However, please note that worker_cpu_affinity is currently broken and
it may not work correctly. Recently CPU affinity had appeared in
FreeBSD 7, so I will probably fix it to see how it may affect on