Nginx master configuration tuning binds the worker process to the cpu.

Because the high-speed L1 and L2 caches of each cpu cannot be shared, when the worker process is not bound to the cpu and the worker process is processed by another cpu, the L1 and L2 caches will become invalid. In order to make the worker process better hit the cpu cache, the worker process is bound to the cpu. The configuration parameters are as follows:
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_45937255/article/details/115214279