DocumentCode :
2329174
Title :
Comparing different scheduling schemes for M/G/1 queue
Author :
Tasneem, Sarah ; Zhang, Feng ; Lipsky, Lester ; Thompson, Steve
Author_Institution :
Math & Comput. Sci., Eastern Connecticut State Univ., Willimantic, CT, USA
fYear :
2010
fDate :
18-20 Dec. 2010
Firstpage :
746
Lastpage :
749
Abstract :
Scheduling has a great influence in improving computer system performance. Many recent system designs use policies which give priority to short jobs as it is often the case that the majority of the jobs are short. SRPT (Shortest Remaining Processing Time First), which servers the jobs that needs the least amount of service to complete, is known to produce optimum mean response time. However SRPT requires having the knowledge of the individual service time exactly in advance, which is not practical. FCFS and PS which shares the system capacity equally among all the jobs can be used if the CPU time requirement of each job is not available beforehand. However, FCFS is detrimental even when there is a moderate variability in job service times. In practice, however, PS must be implemented by RR with time-slicing, which incurs non-negligible job switching overhead for small time-slices. Over time, in addition to PS strategies, for example, LCFSPR (Last Come First Serve with Pre-emptive Resume), LAT (Least-Attained-Time), SRT (Shortest Residual-Time), etc have been presented. A common feature of these strategies is that preemption is employed to favour possibly short jobs. Among these strategies, some are simple to use and incur less overhead, while others incur more overhead. For example, RR and LCFSPR only require insertion of jobs at the front/back of queue (with complexity O(1)), whereas LAT and SRT need to maintain a sorted queue (with complexity O(log(n))), and keep track of the attained times and residual times of individual jobs. LCFSPR also yields M/M/1 result, but it leads to situations where short jobs can get stuck behind long jobs. In this paper, we mainly consider the issue of handling newly arrived jobs in implementing RR strategy. A research issue is then how time-slicing performs if large time-slices have to be used. In this paper, we investigate several RR variants through Discrete Event Simulation. Our results show that, by favouring newly arrived jobs, - - the performance of RR with large time-slices could be improved than that of ideal PS. The simple immediate preemption scheme, which serves the new jobs immediately by preempting the current active job, is shown to further improve the performance of RR.
Keywords :
computational complexity; discrete event simulation; multiprocessing systems; queueing theory; scheduling; systems analysis; CPU time requirement; FCFS; LAT; LCFSPR; M/G/l Queue; PS strategy; RR strategy; SRPT; SRT; computer system performance; discrete event simulation; individual service time; job service time; job switching; last come first serve with preemptive resume; least attained time; optimum mean response time; round-robin strategy; scheduling scheme; shortest remaining processing time first; shortest residual time; system capacity; system design; time slicing; High Coefficient of Variation; LAT; LCFSPR; M/G/1; Processor Sharing; Round-Robin; SRPT; Simulation;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Electrical and Computer Engineering (ICECE), 2010 International Conference on
Conference_Location :
Dhaka
Print_ISBN :
978-1-4244-6277-3
Type :
conf
DOI :
10.1109/ICELCE.2010.5700800
Filename :
5700800
Link To Document :
بازگشت