Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Thread priorities
@ 1999-03-12  5:00 Rob
  1999-03-12  5:00 ` Jeff Denham
  0 siblings, 1 reply; 4+ messages in thread
From: Rob @ 1999-03-12  5:00 UTC (permalink / raw)


Can someone either point me to a reference or provide some clarification how
the priority adjustment is performed in Digital Unix?

My understanding is that if a thread becomes CPU intensive the scheduler can
reduce its priority and similarly if a process is blocked waiting then the
scheduler can increase its priority.

I have written a kernel debugger extension to print out various fields from
the thread structure and it seems that the inverse seems to be happening (at
least with respect to the threads that are busy). In other words the number
is reducing which for Mach priorities indicates that its priority is
increasing.

If anyone can shed any light on the calculation of these fields, or any of
the fields in the thread structure it would be appreciated.

Rob Kirkbride (rob@rk-comp.demon.co.uk)









^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-03-16  5:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-12  5:00 Thread priorities Rob
1999-03-12  5:00 ` Jeff Denham
1999-03-16  5:00   ` Rob Kirkbride
1999-03-16  5:00     ` Jeff Denham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox