Answer the question
In order to leave comments, you need to log in
Specify HT CPU threads as separate cores in nginx.conf?
When configuring nginx, it became a question of specifying the number of processor cores.
If the possessor supports Hyper-threading, indicate the physical cores or the total number of threads?
Thank you!
Answer the question
In order to leave comments, you need to log in
I have never come across a situation in which nginx would really need all the cores in the system. Even if you use compression - usually the application does not rest on nginx and not on the lack of a processor for nginx.
Therefore, there is not much difference, as you point out. I prefer not to have large clusters of processes hanging around in the system, so I don’t run more than 4 nginx workers.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question