A
A
aleksander-greek2014-10-02 12:26:20
Nginx
aleksander-greek, 2014-10-02 12:26:20

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

1 answer(s)
A
Alex Chistyakov, 2014-10-02
@aleksander-greek

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 question

Ask a Question

731 491 924 answers to any question