OS-Deadline Scheduling

In deadline scheduling certain jobs are scheduled to be completed within a specific time or deadline. These jobs may have very high value if...

In deadline scheduling certain jobs are scheduled to be completed within a specific time or deadline. These jobs may have very high value if delivered on time and may be worthless if delivered later than the deadline. The user is often willing to pay a premium to have the system ensure on-time consumption. Deadline scheduling is complex for many reasons.
  •  The user must supply the resource requirements of the job in advance. Such information is rarely available.
  •  The system must run the deadline job without severely degrading service to other users.
  •  The system must plan its resource requirements through to the deadline because new jobs may arrive and place unpredictable demands on the system.
  •  If many deadline jobs are to be active at once, scheduling could become so complex.
  •  The intensive resource management required by deadline scheduling may generate substantial overhead.

FIRST-IN-FIRST-OUT (FIFO) SCHEDULING:

First-in-first-out is the simplest scheduling processes are dispatched according to their arrival time on the ready queue. Once a process has the CPU, it runs to completion. FIFO is a nonpreemptive discipline. It is somewhat unfair in that long jobs make short jobs wait, and unimportant jobs make important jobs wait. This scheduling is not useful for interactive users because it cannot guarantee good response times.




FIFO is often embedded within other schemes. For example, many scheduling schemes dispatch processes according to priority, but processes with the same priority are dispatched FIFO.

ROUND ROBIN (RR) SCHEDULING:

In round robin(RR) Scheduling processes are dispatched FIFO but are given a limited amount of CPU time called a time-slice or a quantum. If a process does not complete before its CPU time expires, the CPU is preempted and given to the next waiting process. The preempted process is then placed at the end of the ready list. Round Robin is effective in timesharing environments in which the system needs to guarantee reasonable response times for interactive users.


kleinrock discusses a variant of round robin called selfish round robin. In this scheme, as processes enter the system, they first reside in a holding queue until their priorities reach the levels of processes in an active queue.

Name

ADO,131,ASP,3,C++,61,CORE JAVA,1,CSS,115,HTML,297,index,5,JAVASCRIPT,210,OS,47,PHP,65,SAD,53,SERVLETS,23,SOFTWARE ENGINEERING,245,SQL,71,TCP/IP,1,XHTML,9,XML,18,
ltr
item
Best Online Tutorials | Source codes | Programming Languages: OS-Deadline Scheduling
OS-Deadline Scheduling
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9cVx1xXQWqhyphenhyphenvu65QvRDgsvk5wOuRwd7xghyphenhyphenjNo4kl4bXmOtptOD4jAdEyj6hl02Jsf_zs3FexEFblN-56nzCcoNaw8XVAHv0pmy9ZVpA7aM9V1GDbhnsSBqJFdh7hMWiTU8JTmlO0Ros/s400/Capture.PNG
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9cVx1xXQWqhyphenhyphenvu65QvRDgsvk5wOuRwd7xghyphenhyphenjNo4kl4bXmOtptOD4jAdEyj6hl02Jsf_zs3FexEFblN-56nzCcoNaw8XVAHv0pmy9ZVpA7aM9V1GDbhnsSBqJFdh7hMWiTU8JTmlO0Ros/s72-c/Capture.PNG
Best Online Tutorials | Source codes | Programming Languages
https://www.1000sourcecodes.com/2012/09/os-deadline-scheduling.html
https://www.1000sourcecodes.com/
https://www.1000sourcecodes.com/
https://www.1000sourcecodes.com/2012/09/os-deadline-scheduling.html
true
357226456970214079
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content