Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nice and priority; renice and ... ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Schmolch
l33t
l33t


Joined: 16 Jun 2002
Posts: 746
Location: Germany

PostPosted: Thu Mar 27, 2003 5:51 pm    Post subject: nice and priority; renice and ... ? Reply with quote

Hi there !

Looking at the output of "top" i can see the processes with their nice and priority -value.

High nice-values seem to result in high priority values, but sometimes its not not totally clear.
There are processes with the same nice values but different priority.
Is the priority always and only the result of the nice-value?

Can anybody say some smart things about this and how it works? :)
Back to top
View user's profile Send private message
gojuka
Apprentice
Apprentice


Joined: 18 Oct 2002
Posts: 235
Location: Kingston, Ontario, Canada

PostPosted: Thu Mar 27, 2003 7:26 pm    Post subject: Reply with quote

Equal nice values does not mean equal priorities. Priorities of every process are decided by the kernel, and scheduling is designed to give every process some piece of the processing pie.

Nice values simply give a process a better or worse chance of getting a piece of the pie. They have an overall positive or negative effect on the priority of a process, but the priority will still run through the range of possible values.

md.
_________________
we're outta control
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum