tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Scheduling params
@ 1998-09-06 19:24 Lars Bro
  0 siblings, 0 replies; only message in thread
From: Lars Bro @ 1998-09-06 19:24 UTC (permalink / raw)
  To: tru64-unix-managers

Hi,

On an old-fashioned Unix scheduler, each timer interrupt increments
the value p_cpu in the process structure of the running process. For
each time slice, a new priority p_pri is computed as a function of
mainly p_cpu and p_nice, the cpu usage and nice value.

On SVR4 systems this follows a table with one entry per priority and a
value telling what priorities the process is given if it uses up all of
the quantum assigned at this level (punished, then) or if it yields the
processor before end of the quantum(rewarded, then).

It is my opinion that a timesharing process that waits long, then runs
on the processor for a period of time that is less than the quantum will
not be preempted by other timesharing processes. Its timesharing
priority will be high as it waited long.

Is this true ?
How can I get to know the value of the timesharing quanta on DU (since
they dont have the dispadmin(8) command) ?

-- 
   Lars Bro                                        lbr@dksin.dk 
   ABB Daimler-Benz Transportation Signal A/S      +45 36 39 01 77

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-09-06 19:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-06 19:24 Scheduling params Lars Bro

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