From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ad5311af1ae95293,start X-Google-Attributes: gidfee84,public X-Google-Thread: 10650a,ad5311af1ae95293,start X-Google-Attributes: gid10650a,public From: "Rob" Subject: Thread priorities Date: 1999/03/12 Message-ID: <7caki3$fv8$1@news5.svr.pol.co.uk>#1/1 X-Deja-AN: 454127118 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@theplanet.net X-Trace: news5.svr.pol.co.uk 921228675 16360 62.136.60.204 (12 Mar 1999 08:51:15 GMT) Organization: Customer of Planet Online NNTP-Posting-Date: 12 Mar 1999 08:51:15 GMT Newsgroups: comp.unix.internals,comp.unix.osf.osf1 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)