On Mon, Mar 21, 2016 at 6:37 PM, Vishwas Srivastava <vishu.kernel@xxxxxxxxx> wrote:
PR=20+nice (-20<= nice <=19)Roughly they are related with..It is loosely coupled with the "nice" value, which is a user-space concept.PR field is the kernel notion of importance of a task.Hi All,i was trying to understand the the meaning of the PR field in the "top" command.
which means, PR can never go below 0.As an experiment to understand this even more, i created an user-app with real-time scheduling policy (SCHED_FIFO) and ran this application.while the application was running i triggerred "top" and what i see that the PR value for my application displays a -ve value.If at all this is correct, what are the valid range of PR which i should expect?
what does this mean.
Quick answer: have you check and read sched_setscheduler() in detail, especially part that explains about SCHED_FIFO?
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies