Quote:
If I run any program, by itself, on the fastest computer in the world. And there are no other bottlenecks - it will hit 100% CPU.
CPU's are supposed to run at 100%. If they aren't, you've got a bottleneck somewhere else - somewhere much slower, probably in the memory, network interface or disk I/O. Or else (fairly commonly) your machine simply doesn't do much.
|
An appropriately written program will never use 100% of a CPU. CPUs are NOT meant to run at 100%, and failing to do so is not a failing of hardware but an intelligent program. Unless you intend to run ONE program on the computer (you know, before the days of things like multitasking) then this might be true. But here in the 21st century, we have servers running tens or hundreds of different services that need to be using equal shares of the CPU time; 100% collectively, perhaps, but not individually.
This is ESPECIALLY true of a webserver: do you really want ONE client to bog down the server so much that it is inaccessible to other clients?