Hi Stuart!
On 07/09/2006, at 4:22 PM, Stuart Remphrey wrote:
3.) What's the actual difference between changing
user priority and global priority? What happends if I
change both to maximum (say RT). Is the user priority
less worth the global? If I as root change the user
priority, is there any point in changing the global
priority of the process/project?
Unless the process is specifically designed for realtime operation
pick something else besides RT -- perhaps FX at high priority
(keep process priority less than kernel).
I agree, but to answer the more general question, unless I've
misunderstood:
Each scheduling class presents a range of user priorities that the
user can manipulate. The range varies between classes. See the output
of priocntl -l.
The global priorities are what is used by the scheduler to decide
what to do in the disp() function. Each class provides a mapping from
user to global priorities. I'm not aware, off the top of my head, of
a way to manipulate the global priorities directly.
I may be wrong on this point.
Boyd
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org