nginx, inside openvz CT, worker_cpu_affinity [message #47302] |
Sat, 28 July 2012 14:34  |
Nick Knutov
Messages: 2 Registered: February 2011
|
Junior Member |
|
|
Hello all,
> http://nginx.org/en/docs/ngx_core_module.html#worker_cpu_aff inity
>
> worker_processes 4;
> worker_cpu_affinity 0001 0010 0100 1000;
>
> "Binds worker processes to the sets of CPUs."
Does it make sense inside OpenVZ container?
Will it work if --cpus does not specified in CT config?
How will it work, if --cpus is specified and less then physical cores?
How will it work, if --cpus is specified and CPU has hyper-threading and
1) --cpus less then cpu cores
2) or --cpus less and odd(!) (example: --cpus: 3, physical CPU cores: 4
+ HT)
--
Best Regards,
Nick Knutov
|
|
|