OpenVZ Forum


Home » Mailing lists » Users » nginx, inside openvz CT, worker_cpu_affinity
nginx, inside openvz CT, worker_cpu_affinity [message #47302] Sat, 28 July 2012 14:34 Go to previous message
Nick Knutov is currently offline  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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: routing from external through HN to loopback on CT
Next Topic: CONFIG_SCHED_VCPU & CONFIG_FAIRSCHED missing...
Goto Forum:
  


Current Time: Wed Jun 18 21:00:01 GMT 2025

Total time taken to generate the page: 0.05645 seconds