- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Are Nice and Renice 'permanent?'
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
тАО10-13-2003 03:10 AM
тАО10-13-2003 03:10 AM
Are Nice and Renice 'permanent?'
My understanding of Nice and Reniced processes is that they are still subject to Unix's process aging, where as the process gets older, it's priority will be raised in an attempt to get even low priority jobs some process time.
Thus, the effect of nice or renice on a process should be considered only temporary.
Eventually a process intensive job will still be at the head of the queue given enough time on the system.
Am I missing something here (again)? If so, please help enlighten me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2003 03:17 AM
тАО10-13-2003 03:17 AM
Re: Are Nice and Renice 'permanent?'
The nice value is taken into account when calculating the priority, so the effect should be permanent.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2003 03:24 AM
тАО10-13-2003 03:24 AM
Re: Are Nice and Renice 'permanent?'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2003 03:26 AM
тАО10-13-2003 03:26 AM
Re: Are Nice and Renice 'permanent?'
I was looking for some reference to quote you. What I came up with is from HP's "Theory of Operations for the PA-RISC HP 9000 Systems":
"The schedcpu() routine adjusts the p_pri field of the process structure that holds the value the system uses for scheduling. Factors that are used to determine this value include how much CPU time the process has used, the number of processes competing for the CPU, and the nice value (timeshare processes only)."
So, each time the priority is recalculated, the nice value is taken into account, making the effect permanent.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2003 03:30 AM
тАО10-13-2003 03:30 AM
Re: Are Nice and Renice 'permanent?'
By itself its only a factor in priority. There are lots of other thinks that need to go on on a Unix box.
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
тАО10-13-2003 03:30 AM
тАО10-13-2003 03:30 AM
Re: Are Nice and Renice 'permanent?'
Here is some intersting stuff :
http://www.itworld.com/nl/unix_sys_adm/04242002/
A newer job fired will take into consideration the older jobs running .
Manoj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2003 03:33 AM
тАО10-13-2003 03:33 AM
Re: Are Nice and Renice 'permanent?'
I've done just that in the past when trying to control some unruly processes, and after a few minutes, the process priority is as high as ever.
I'm sure that the nice setting doesn't change, and is permanent.
However, it seems the practical affect on my process will become nil after a period of time, unless nice places a limit on how high a process priority can be raised as it ages.
Has anyone heard of a limit like that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2003 03:46 AM
тАО10-13-2003 03:46 AM
Re: Are Nice and Renice 'permanent?'
I suspect you're right that, depending on the situation and load, "niced" processes can gain priority. The only limit is that they will remain in the time share run queues (178 thru 255).
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2003 08:02 AM
тАО10-13-2003 08:02 AM
Re: Are Nice and Renice 'permanent?'
http://h30046.www3.hp.com/solutions/hpuxmanagement.html
of course I like to take care of unruley processes by killing them and yelling at the developer......fortunately I don't "charge" the mound......and for a good laugh about charging the mound: http://www.espn.go.com/page2/s/caple/031013.html
live free or die
harry