- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Processor/system overhead related to multi-process...
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
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
тАО05-06-2005 07:55 AM
тАО05-06-2005 07:55 AM
Processor/system overhead related to multi-processors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2005 08:03 AM
тАО05-06-2005 08:03 AM
Re: Processor/system overhead related to multi-processors
A single-threaded task will likely still take the same amount of CPU seconds to complete. Now the benefit would be, with multiple CPUs, you can have multiple different single-threaded tasks executing on each CPU, thus each task could get back to a CPU quicker.
There could potentially be some overhead with additional CPUs because HP-UX has to keep track of what is running on each CPU. I don't know if that has been measured anywhere though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2005 09:05 AM
тАО05-06-2005 09:05 AM
Re: Processor/system overhead related to multi-processors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2005 02:16 PM
тАО05-06-2005 02:16 PM
Re: Processor/system overhead related to multi-processors
But all that was back in the late 1980's. 9.04 was the first opsystem with excellent code for multi-processor systems, overhead measured in less than a couple of % total CPU time. But note that this is never a fixed value because it depends on what is happening in the Monarch (first) processor. There are specific events that must be single-threaded such as rearranging memory, performing a core dump on a program, and many other kernel tasks that cannot done in parallel. When this happens, a spinlock is created which effectively causes all non-Monarch processors to stop running kernel code until the task is completed. Minimizing spinlocks reduces the overhead for multiple CPUs.
Today, multi-CPU systems run 32 (or more) CPUs and spinlocks are quite minimal. I doubt that the increase in processor count significantly increased multi-CPU overhead. Certain types of I/O can create extra spinlocks so it may be possible to see additional kernel delays (not necessarily compute time) with Glance/MWA.
Your biggest changes in performance figures will be with disk I/O first. The high physical I/O rate needs to be addressed and since the applications are generating massive I/O's that are apparently not using the cache effectively, DBAs need to look at DB performance figures. It is really easy to write bad queries and without appropriate indexes, massive (but unnecessary) disk I/O will be generated.
Like all performance projects, you have to create a benchmark task that can be run repeatedly with dependable results. Then when changes are made, the benchmark can provide accurate metrics. Most database programs can benefit by configuring a lot of additional memory (Gb).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2005 01:58 PM
тАО05-07-2005 01:58 PM
Re: Processor/system overhead related to multi-processors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2005 03:37 AM
тАО05-09-2005 03:37 AM
Re: Processor/system overhead related to multi-processors
Bill's comments about system code optimization for multi-processors was interesting, and I feel comfortable in ruling out additional system overhead just due to adding a 5th cp.
Both Bill and Ted alluded to disk I/O and potential contention. Using sar, typical numbers are %usr = 35%, %sys = 20% and %wait = 35%. As I noted originally, QAD/Progress uses disk cache. The cache hit ratio averages in the range of 89-91%, using about 800 MB for cache (dbc_max_pct = 10%, for a 8 GB system). According to "rule of thumb", 90% is an acceptable hit ratio. We have an EMC disk array which has an average response time in the 5-9 ms range (sar -d). Given all this, I assume we just have an I/O bound system, generated by the ERP application and it's various transaction types, generated by ~400 end-users. Reducing I/O volumes would appear to be a very difficult task. Does the %sys (from sar above), reflect system processor time or system wait time?
Thanks for your comments - they were informative and I am just trying to understand how this works so we can make good decisions as our processor load grows (50+% growth trend in the last year, as measured by mwa GBL_CPU_TOTAL_UTIL).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2005 03:50 AM
тАО05-09-2005 03:50 AM
Re: Processor/system overhead related to multi-processors
If you have your disk layout with to much write activity in one disk or disk set, you can get massive i/o problems that have nothing to do with the additional cpu's.
If you have a write intensive database sitting on a lun laid out with raid 5 you can have the same problem.
bad application code can cause it as well.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com