- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- hyperthreading vs no. processors vs performance
Operating System - Linux
1819791
Members
3282
Online
109607
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО04-25-2005 04:11 AM
тАО04-25-2005 04:11 AM
hyperthreading vs no. processors vs performance
I have heard that as you increase the no. of
processors on an SMP box, the amount of performance gain from hyperthreading decreases.
With 8 physical processors, the actual gain is only 0 - 5%.
Given this, is there any point at which hyperthreading could actually decrease
performance and should therefore be disabled ?
Thanks
John
processors on an SMP box, the amount of performance gain from hyperthreading decreases.
With 8 physical processors, the actual gain is only 0 - 5%.
Given this, is there any point at which hyperthreading could actually decrease
performance and should therefore be disabled ?
Thanks
John
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2005 08:00 AM
тАО04-25-2005 08:00 AM
Re: hyperthreading vs no. processors vs performance
This decrease is processing power is due to the management overhead. Its the law of diminishing returns, with each addition of complexity gains are reduced.
One thing people neglect to tell you when discussing multiprocessor machines, hyperthreading, dual cores, etc. is the fact that your application must make use of multiple threads for any additional processors to make a difference. The OS will take advantage of the extra processors as far as cpu cycle slices but it will not make a difference in the speed of a single thread application. The processors speed determines how fast an operation completes.
The other side of the coin is the hyperthreading benchmarks have been ALL OVER the place, and mostly seem to relate to versions of libraries and kernel patch levels and gcc compile time options, this makes sense as hyper threading is relatively new and the code base for it is still expanding, but it leaves a lot of room for error in planning your system, OS versions now affect the processor utilization.
I personally doubt that there is a system available for purchase today that has enough processor slots open that would allow you to hit the point where management overhead from hyperthreading would become detremental to the overall function of the machine. Kernel version and the applications intelligent use of threads will have more impact.
--Dave
One thing people neglect to tell you when discussing multiprocessor machines, hyperthreading, dual cores, etc. is the fact that your application must make use of multiple threads for any additional processors to make a difference. The OS will take advantage of the extra processors as far as cpu cycle slices but it will not make a difference in the speed of a single thread application. The processors speed determines how fast an operation completes.
The other side of the coin is the hyperthreading benchmarks have been ALL OVER the place, and mostly seem to relate to versions of libraries and kernel patch levels and gcc compile time options, this makes sense as hyper threading is relatively new and the code base for it is still expanding, but it leaves a lot of room for error in planning your system, OS versions now affect the processor utilization.
I personally doubt that there is a system available for purchase today that has enough processor slots open that would allow you to hit the point where management overhead from hyperthreading would become detremental to the overall function of the machine. Kernel version and the applications intelligent use of threads will have more impact.
--Dave
Clothes make the man, Naked people have little to no effect on society
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2005 09:16 PM
тАО04-25-2005 09:16 PM
Re: hyperthreading vs no. processors vs performance
It greatly depends on what the machine is doing. If it is mainly i/o, then there is not much gain. If the machine is doing numbercrunching, then the gain can be (almost) up to the number of processes.
If you have 6 processes fighting for the cpu on a single cpu machine, adding a second cpu will boot performance: the 6 processes now fight for 2 cpus.
If you switch from a sinlge-core to a multi-core cpu, the boost will be less than switching to multiple real processors since the cpus share the same socket and hence each have less bandwith with the outside world.
If you switch from single thread to multi thread, the boost will be even less than multi-core would be since the cpus now also share the same cache (and other parts of the cpu).
In the end, there is always the more overhead in the os from the more (logical) cpus it sees.
My idea is to have the number of logicalcpu-s just around the number of processes that are actually using the cpu. On most unix machines, this is represented by the load of the machine. If it is worth having more load than cpus or more cpus than load is to be seen at the system itself.
If you have 6 processes fighting for the cpu on a single cpu machine, adding a second cpu will boot performance: the 6 processes now fight for 2 cpus.
If you switch from a sinlge-core to a multi-core cpu, the boost will be less than switching to multiple real processors since the cpus share the same socket and hence each have less bandwith with the outside world.
If you switch from single thread to multi thread, the boost will be even less than multi-core would be since the cpus now also share the same cache (and other parts of the cpu).
In the end, there is always the more overhead in the os from the more (logical) cpus it sees.
My idea is to have the number of logicalcpu-s just around the number of processes that are actually using the cpu. On most unix machines, this is represented by the load of the machine. If it is worth having more load than cpus or more cpus than load is to be seen at the system itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2005 12:54 AM
тАО04-27-2005 12:54 AM
Re: hyperthreading vs no. processors vs performance
with 8 processors the impact of the cpu's 2nd-level cache is very high because the memory access bandwith tends to be an issue.
with hyperthreading the chance of cache flushing is higher, so You might end up loosing performance. :/
with hyperthreading the chance of cache flushing is higher, so You might end up loosing performance. :/
yesterday I stood at the edge. Today I'm one step ahead.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP