Heath Volmer wrote:
> My server has a 3.4 P4 with Hyper-threading.  I recall when this was  
[...]
> Now running linux on the same box; When I run two instances of  
> mprime, both of them run at 100%.  Is it fair to assume that I'm  
> getting full output out of both of them?  How do I tell?

If you have 'hyperthreading' enabled and supported, then you do indeed
get two "CPU"s listed.

When you view the processes using such as "top", then you see the CPU
utilisation of a process as the percentage of whatever CPU instance it
is running on. So for your HT enabled CPU, max utilisation is "200%"
total (100% for two processors).

You can also check in /proc to see if two CPUs are listed.


However: Note that in reality when you enable HT, you are seeing the
'state' for two CPUs that are actually using the shared execution units
of one CPU. This means that despite what you see from "top" showing
"200%", that "200%" is now "200% of perhaps 0.6" for real performance.
That is, depending on your application mix, you can get an overall
slight speedup. (Some specially optimised multimedia can give about a
30% speedup overall for total throughput, other tasks can even give a
slowdown.)


Welcome and good luck in the Linux world!

Regards,
Martin

_______________________________________________
Prime mailing list
[email protected]
http://hogranch.com/mailman/listinfo/prime

Reply via email to