language-icon Old Web
English
Sign In

Processor sharing

The processor sharing algorithm 'emerged as an idealisation of round-robin scheduling algorithms in time-shared computer systems'. A single server queue operating subject to Poisson arrivals (such as an M/M/1 queue or M/G/1 queue) with a processor sharing discipline has a geometric stationary distribution. The sojourn time jobs experience has no closed form solution, even in an M/M/1 queue. Generalized processor sharing is a multi-class adaptation of the policy which shares service capacity according to positive weight factors to all non-empty job classes at the node, irrespective of the number of jobs of each class present. Often it is assumed that the jobs within a class form a queue and that queue is served on a first-come, first-served basis, but this assumption is not necessary for many GPS applications. In processor scheduling, generalized processor sharing is 'an idealized scheduling algorithm that achieves perfect fairness. All practical schedulers approximate GPS and use it as a reference to measure fairness.' In multilevel processor sharing a finite set of thresholds are defined and jobs partitioned according to how much service they have received. The lowest level (containing jobs which have received the least service) has the highest priority and higher levels monotonically decreasing priorities. Within each level an internal discipline is used.

[ "Queueing theory", "Scheduling (computing)", "Queue", "processor sharing queue" ]
Parent Topic
Child Topic
    No Parent Topic