HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Timeslice
Operating System - HP-UX
1832645
Members
3264
Online
110043
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
03-09-2004 01:00 AM
03-09-2004 01:00 AM
Hi
I am having problems with a third party product which is causing high loads when looking at top. This leads me to my question at present the timeslice is set to 10 if i increased this would this mean that the load would be shared more even with active processes.
Thanks
I am having problems with a third party product which is causing high loads when looking at top. This leads me to my question at present the timeslice is set to 10 if i increased this would this mean that the load would be shared more even with active processes.
Thanks
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2004 01:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2004 01:04 AM
03-09-2004 01:04 AM
Re: Timeslice
Here's a sample:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=238397
Pete
Pete
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=238397
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2004 02:09 AM
03-09-2004 02:09 AM
Re: Timeslice
Hi Zean,
The best description I've heard about timeslice is "It's the max amount of time a process is *not* gonna get" - i.e. it's the max amount of time *another* process can spend on the CPU while you're in the queue waiting. It's NO guarantee that your process will get that amount - it's just a guarantee that it's the longest amount you could ever not get.
Pete is most certainly correct that in the VAST majority of cases one should leave it at 10 & leave it alone. Never set it less of course. But there have been *rare* instances when setting it higher can yield slight to moderate performance improvements, but GREAT care & research must be taken to clearly document this. You *have* to be able to show that you can reduce the number of context switches - especially forced - by giving all processes essentially the option to spend more time on the CPU. But this should be the last resort.
I think a better initial approach would be to insure that there are no resource contentions (semaphores, messaging, etc.), poor programming techniques (stupid loops, inefficient cache usage, etc.) or non-CPU (memory, disk, cache, etc.) bottlenecks causing inefficient CPU usage that "look" like CPU bottlenecks - this is *very* common. Then after all these are looked at & ruled out, you can also look at lowering the priority on the "hog" through several techniques (nice/renice, setprivgrp, or the rtprio()/rtsched() calls, etc.)
THEN if none of the above have an impact you can seriously think about raising timeslice. BUT measure, measure & measure again before AND after any of the above are tried so you'll have a clue about whether they are working or not.
My 2 cents,
Jeff
The best description I've heard about timeslice is "It's the max amount of time a process is *not* gonna get" - i.e. it's the max amount of time *another* process can spend on the CPU while you're in the queue waiting. It's NO guarantee that your process will get that amount - it's just a guarantee that it's the longest amount you could ever not get.
Pete is most certainly correct that in the VAST majority of cases one should leave it at 10 & leave it alone. Never set it less of course. But there have been *rare* instances when setting it higher can yield slight to moderate performance improvements, but GREAT care & research must be taken to clearly document this. You *have* to be able to show that you can reduce the number of context switches - especially forced - by giving all processes essentially the option to spend more time on the CPU. But this should be the last resort.
I think a better initial approach would be to insure that there are no resource contentions (semaphores, messaging, etc.), poor programming techniques (stupid loops, inefficient cache usage, etc.) or non-CPU (memory, disk, cache, etc.) bottlenecks causing inefficient CPU usage that "look" like CPU bottlenecks - this is *very* common. Then after all these are looked at & ruled out, you can also look at lowering the priority on the "hog" through several techniques (nice/renice, setprivgrp, or the rtprio()/rtsched() calls, etc.)
THEN if none of the above have an impact you can seriously think about raising timeslice. BUT measure, measure & measure again before AND after any of the above are tried so you'll have a clue about whether they are working or not.
My 2 cents,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP