- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- CPU usage on hyperthreaded Xeon processors
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2003 05:27 AM
тАО08-21-2003 05:27 AM
I'm having a discussion with a mainframe guy who is doing some testing on one of my Linux boxes. I have a box with two Xeon 2.8 Ghz CPUs in it, with hyperthreading turned on, and I'm running RedHat Advanced Server 2.1. The box shows four CPUs in all the usual utilities [sar, top, etc.] as a result of the hyperthreading.
My mainframe friend is running a test script that reads a large file. He notes that his script consumes over 99% of one CPU, while the other three show no usage. His contention is that since he is getting half of one physical 2.8 Ghz CPU, his script is running on a virtual 1.4 Ghz CPU. I argue back with him that if nothing else is running on the second virtual CPU, he is getting all of the physical CPU. I'm not a wizard on hyperthreading, but it seems that his CPU usage would always be at 2.4 Ghz. I understand what he is trying to say about getting half the physical CPU, but I don't think that saying he has a 1.4 Ghz CPU is a fair statement. I think he gets a 2.8 Ghz CPU for half as much time.
Opinions? Comments?
JP
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2003 07:00 AM
тАО08-21-2003 07:00 AM
Re: CPU usage on hyperthreaded Xeon processors
related links:
http://arstechnica.com/paedia/h/hyperthreading/hyperthreading-1.html
http://developer.intel.com/software/products/browse/itanium.htm
http://www-106.ibm.com/developerworks/linux/library/l-htl/?ca=dgr-lnxw01
Rgds
Vitaly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2003 08:57 AM
тАО08-21-2003 08:57 AM
Re: CPU usage on hyperthreaded Xeon processors
I think the way OS behaves for hypethreading is still limited. The advantage is more felt only when many application run simultaneously.
More here
http://www.2cpu.com/Hardware/ht_analysis/
Some statistics here
http://www.pcworld.com/news/article/0,aid,107492,00.asp
cheers
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2003 01:15 PM
тАО08-21-2003 01:15 PM
Re: CPU usage on hyperthreaded Xeon processors
For what its worth I think you're instincts are right. I love those boxes you are running, fast and furious.
I'm running the old web hosting business of Red Hat 7.3's stock smp kernel even though I have but one CPU right now, that is the way I'd run things in a multi-cpu environment.
What is your Linux Distribution?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2003 04:27 PM
тАО08-21-2003 04:27 PM
Re: CPU usage on hyperthreaded Xeon processors
Thanks for the links. That is some good info.
Steven,
I'm running Advanced Server 2.1, using the e25 enterprise kernel,
since I have two CPUs and 8 Gb of RAM. I just built another one
this week, same configuration, except that the CPUs are 3.066 Ghz.
Those are some *FAST* boxes, and I'm having a blast working with them.
My point with my mainframe guy was that if he is running something
on one CPU at 99%, and the other CPUs are idle, then he must be getting
pretty much all of a 2.8 Ghz CPU, and not a 1.4 Ghz virtual CPU. Those
mainframers are used to dividing up CPUs on their system, and maybe it
works that way on their end, but I'm debating the point with this guy and
I just wanted some feedback to see if I was understanding the hyperthreading
correctly.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2003 04:39 PM
тАО08-21-2003 04:39 PM
SolutionIt literally is multiple-executes-per-cycle.
Using one single threaded application won't show one whit of performance boost. Use 10 of them at a time, and you might see some improovement. Using a well written multi-threaded application, you'd see a reasonable amount of improovement.
You might find this useful:
http://www-106.ibm.com/developerworks/linux/library/l-htl/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2003 04:30 AM
тАО08-23-2003 04:30 AM
Re: CPU usage on hyperthreaded Xeon processors
Hi,
I don't think that his statement is right. You are getting 2.8GHz not 1.4GHz. But it depends on the script and the OS....
More info on CPUs here:
http://www.geek.com/procspec/procspec.htm