Quote:Original post by Show
I don't get it.
If what you say is true, then how come playing Windows 3d pinball doesn't use 100% cpu?
With pinball opened, it only says '6%' under window task manager, and the rest is system idle process.
For world of warcraft, it runs at around 85% cpu...compare to my game that only draws a tile map runs at 100%.
Ummmm...
If the CPU runs @ 100% all the time, wouldnt the temp be too high?
I always though CPUs just allocate whatever is needed for an app, and save the rest of resource..
The reason why pinball doesn't use that much of the CPU, is the program is telling the computer that it doesn't need that many resources. It only updates once every x milliseconds.
On the other hand, even if you think you have only one triangle, it is possible to use 100% of the CPU. If you don't cap what you're displaying, or use an intelligent algorithm, the computer basically looks at the situation and says
Hey, I have one triangle and was told to run this continuously.
So that's what it does. It runs that one triangle at 3500 frames per second using every spare CPU clock cycle, because that's what you told it to do.
I know I mentioned that you should be using close to 100% of the CPU clock cycle, because I made a few assumptions about what you're trying to do. Other people mentioned its not always a smart idea. And we're both right to a certain degree. You need to use as much of the computer as you feel is necessary.
If you get 1000+ fps, maybe you can lay off the CPU some, and save the battery life. On the other hand, if you're running at 2 fps at 10% CPU intake, maybe you want to increase it.