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

前端 未结 13 1330
眼角桃花
眼角桃花 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:47

    This isn't an answer really, but have you checked perfmon to see what resources it is using and have you run profilers on the code to see where it is spending time?

    How have you determined that IO or other non CPU resources are not the bottleneck?

    Can you give a brief description of what the threads are doing?

提交回复
热议问题