user3476791
user3476791

Reputation: 1092

What is is the maximum number of threads that I can use for a server?

I want to use 8 threads to run a program. The information of my server is as follow.

number of physical CPU: 2 number of CPU core: cpu cores : 4 number of processor: 16

So how many cores of the server can I use at one time at most?

Upvotes: 0

Views: 91

Answers (1)

Laurent Michel
Laurent Michel

Reputation: 405

If they are all compute bound, about 8 (the 16 is coming from hyper-threading, i.e., fake cores). if the threads are IO bound you can have a lot more.

Upvotes: 1

Related Questions