Rate This Document
Findability
Accuracy
Completeness
Readability

Binding Nginx Processes to CPU Cores

Binding Nginx processes to CPU cores can minimize CPU and cache performance loss caused by process switching. Modify the nginx.conf file to implement pinning of the processes and CPU cores.

Tuning guideline: On the premise that service cores are fully loaded, use as few interrupt cores as possible and use them together with the interrupt script.

Modify worker_processes and worker_cpu_affinity in the nginx.conf file based on the number of tested service cores.