Beruflich Dokumente
Kultur Dokumente
INDEX
1.
2.
3.
4.
5.
6.
7.
8.
9.
Introduction
Acknowledgement
Introduction to UNIX
UNIX scheduling algorithms
Problems in UNIX scheduling
Introduction to Linux
Linux process scheduling
Conclusion
References
ACKNOWLEDGEMENT
I wish to express my deepest gratitude and warmest
appreciation to the following people, who, in any way have
contributed and inspired me to the overall success of the
undertaking term paper BALVINDER KAUR MADAM who
had assigned me this job to enhance my knowledge, my
parents who had been the continuous source of financial aid and
moral support and then my roommates who helped me to
complete my work on time.
INTRODUCTION
To manage all the processes in ready queue for the maximum
utilization of cup, this job is done by the process scheduler on
the basis of scheduling algorithms .scheduling is a key concept
in computer multitasking, multiprocessing operating system and
real time operating system designs. Scheduling refers to the way
processes are assigned to run on the available cups since there
are many more processes this assignment is carried out by
software known as a scheduler and dispatcher.
TYPES OF SCHEDULEING ALGORITHMSPrimitive- these are those jobs in which we can take cpu back
from the running process and reassign it after some time.
Primitive algos*Round Robin
*Priority based
* S h o r t e s t r e m a i n i n g time
Non-Primitive: these are those jobs in which we cant take
CPU back from the running process.
Non-Primitive algos:
*First come First serve
*Priority based
*Shortest job first
Linux scheduler
Uses PREEMITIVE PRIORITYBASED SCHEDULING
ALGORITHM Linux assigns higher-priority tasks longer time
quanta and lower-priority tasks shorter time quanta.The
relationship between priorities and time-slice length
A runnable task is considered eligible for execution on the CPU
as long as it has time remaining in its time slice. When a task
has exhausted its time slice, it is considered expired and is not
eligible for execution again until all other tasks have also
exhausted their time quanta. The kernel maintains a list of all
run able tasks in arunqueue data structure. Because of its support
for SMP, each processor maintains its own runqueue and
CONCLUSION
LINUX uses much better algorithms than UNIX uses
MULTIFEEDBACK QUEUE there actually we use 3
algorithms different for different stages .so they do not provide
adequate support for a SMP system ..
THEY do not scale well as the number of a tasks on the system
grows but in ROUND ROBIN large queues are also managed
well..
Refrences
*Wikipedia
*www.Computers world .com
*www.informit.com
*www.linux .com
*www.unix.com