CPU usage not maximized?

Status
Not open for further replies.

pointwood

Ars Praefectus
5,949
Subscriptor
I could imagine it was close to 100% because the screensaver is drawing the protein on the screen while the console client isn't doing any graphics intensive stuff. Just a guess though.

Since you have a CPU with hyperthreading, it's quite normal that your CPU usage is ~50% since your OS sees it your CPU as a dual and you only run one client. You could run 2 clients and probably get a bit more points -- :) --
 

pan2

Ars Scholae Palatinae
1,010
Perhaps I don't understand hyperthreading well enough, but I find these responses strange. Does this mean that if I run an ordinary app which has not been specifically designed to take advantage of multiple processors then I am sacrificing performance? Running two instances of DF isn't such an unreasonable thing, but if I'm trying to actually get something done in say Mathematica or Photoshop, I can't imagine running two copies of either of those to any benefit.

I would have thought that the CPU would be smart enough to use all available resources in the event of only one CPU intensive app. Can I expect better performance by disabling HT?

Also, as I mentioned in my original post, both logical procs. are being used to significant (but not identical) degrees, according to the task manager.
 
There is no way to tell "actual" CPU usage with Hyperthreading. Hyperthreading is a really weird technology. It allows multiple instructions to be run at once, if it is possible. It appears to Windows as two logical CPUs, and because how much work can be done at once is dependent on what instructions are being executed, Windows can't tell anything, so it just assumes each represents 50% of the total processor usage.

It's entirely possible to have an intensive process use 100% of the CPU (by not allowing any other instructions to be executed simultaneously), but Windows will still tell you it's using 50% because it has no way of knowing this. Most programs generally aren't that intensive instruction-wise, so multiple instructions can be run at once if the process is multi-threaded, or if you run multiple applications (like multiple instances of the same program).

Hope that helps, it's pretty crazy technology that's kinda hard to understand. Ars has an article on HT if you want to learn more.

In DC, generally HT creates slightly longer time periods to complete a single work unit .... but you're doing almost twice the work in that given time, so you actually come out very much ahead.
 
Status
Not open for further replies.