- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Question about relation between nice value and...
Operating System - HP-UX
1753901
Members
8714
Online
108810
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
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-10-2009 11:00 PM
тАО04-10-2009 11:00 PM
Question about relation between nice value and %CPU
Hi HP UX Expert,
I would like to ask why a process with nice value of 20 can be allcoated more cpu power than those with nice value of 15 (See the attachment). What is the relation between nice value (NI) and priority (PRI) and %CPU? Is the NI is invertedly proportional to priority ? Why processes with same NI can have different PI? Please advise.
Thanks milliion!
Anthony
I would like to ask why a process with nice value of 20 can be allcoated more cpu power than those with nice value of 15 (See the attachment). What is the relation between nice value (NI) and priority (PRI) and %CPU? Is the NI is invertedly proportional to priority ? Why processes with same NI can have different PI? Please advise.
Thanks milliion!
Anthony
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2009 12:17 AM
тАО04-11-2009 12:17 AM
Re: Question about relation between nice value and %CPU
It depends on what the two processes are doing. Processes that the kernel determines are unmutual get lower priority.
Typically CPU bound processes get their priority lowered by increasing the PRI value.
http://docs.hp.com/en/B2355-60130/nice.1.html
Typically CPU bound processes get their priority lowered by increasing the PRI value.
http://docs.hp.com/en/B2355-60130/nice.1.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2009 03:08 AM
тАО04-11-2009 03:08 AM
Re: Question about relation between nice value and %CPU
Hi Papoon,
read this: http://en.wikipedia.org/wiki/Nice_(Unix)
Rgds-Kranti
read this: http://en.wikipedia.org/wiki/Nice_(Unix)
Rgds-Kranti
Dont look BACK as U will miss something INFRONT!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2009 08:39 AM
тАО04-12-2009 08:39 AM
Re: Question about relation between nice value and %CPU
priority is what the priority of the process is.
Nice value is used to determine how quickly its priority increases when it is waiting for the CPU.
If the program with a nice value of 15 does a lot of I/O it will generate a I/O request and then wait till it finishes where a CPU bound program with a nice value of 20 might get cpu since there is nothing else using the cpu.
Nice value is used to determine how quickly its priority increases when it is waiting for the CPU.
If the program with a nice value of 15 does a lot of I/O it will generate a I/O request and then wait till it finishes where a CPU bound program with a nice value of 20 might get cpu since there is nothing else using the cpu.
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP