Why doesn't multithreading in C# reach 100% CPU?

前端 未结 13 1324
眼角桃花
眼角桃花 2021-01-30 22:17

I\'m working on a program that processes many requests, none of them reaching more than 50% of CPU (currently I\'m working on a dual core). So I created a threa

相关标签:
13条回答
  • 2021-01-30 22:55

    Maybe I'm misunderstanding something, but you said none of your requests (each in a separate thread) reaches 100% CPU.

    What operating system are you using?

    I seem to vaguely recall that in old versions of windows (e.g., early XPs and 2000s), CPU utilization was considered from total of two processors, so a single thread wasn't able to make it past 50% unless it was the idle process..

    0 讨论(0)
提交回复
热议问题