Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Aptitude
  • Engineering Mathematics
  • Discrete Mathematics
  • Operating System
  • DBMS
  • Computer Networks
  • Digital Logic and Design
  • C Programming
  • Data Structures
  • Algorithms
  • Theory of Computation
  • Compiler Design
  • Computer Org and Architecture
Open In App
Next Article:
Difference between Short-Term and Medium-Term Scheduler
Next article icon

Difference between Short-Term and Medium-Term Scheduler

Last Updated : 13 Aug, 2020
Comments
Improve
Suggest changes
Like Article
Like
Report
Prerequisite – Process Schedulers 1. Short-Term Scheduler : Short term scheduler is also known as CPU scheduler. Its main objective is to boost the system performance according to certain set criteria. Short term scheduler helps to select the group of processes that are ready to execute and allocate CPU to each one of them. Unlike Middle term scheduler, it executes more frequently i.e within a few seconds. Short term scheduler has less control over DOM (Degree of Multi-programming). 2. Middle-Term Scheduler : Middle term scheduler is also known as the Swapping scheduler. Its main objective is to swap out the suspended processes from the main memory. If a running process make I/O request it becomes suspended. A suspended process will not show any progress towards completion so it should be moved to secondary storage, hence providing space for new processes. Unlike Short term scheduler, it's execution is not quite frequent. Middle term scheduler reduced the DOM (Degree of Multi-programming). Difference between Short-Term and Medium-Term Scheduler :
S.No. SHORT-TERM SCHEDULER MIDDLE-TERM SCHEDULER
1. Short-Term scheduler is also known as CPU Scheduler. Middle-Term scheduler is also known as Swapping Scheduler.
2. Speed of Short-Term scheduler is very fast as compared to middle-Term scheduler. Its speed is less than Short-Term scheduler.
3. It provides less control over Degree of programming. It reduces the Degree of Programming.
4. Its presence in Time sharing system is very minimal. Middle-term scheduler is a part of Time sharing system.
5. In short-term scheduler, there occurs transition of process from ready to executing state. In middle-term scheduler, no process transition state occurs.
6. Its function is to selects those processes which are ready to execute. Its function is to reintroduce process back in the memory.

Next Article
Difference between Short-Term and Medium-Term Scheduler

V

vanshgaur14866
Improve
Article Tags :
  • Operating Systems
  • Difference Between
  • GATE CS
  • Operating Systems-CPU Scheduling

Similar Reads

    Difference between Short-Term, Medium Term, and Long-Term Scheduler
    Process scheduling is an important activity done by the process manager to remove the process from the CPU and schedule the next process, the process removal and dispatch are based on multiple factors like process completion, priority, I/O requirement, etc. Process scheduling plays an important role
    5 min read
    Difference between Long-Term and Short-Term Scheduler
    Long-Term Scheduler is also known as Job Scheduler. Long-term scheduler regulates the programs which are selected to system for processing. In this the programs are setup in the queue and as per the requirement the best one job is selected and it takes the processes from job pool. It regulates the D
    2 min read
    Difference between Long-Term and Medium-Term Scheduler
    Prerequisite - Process Schedulers Long-Term Scheduler: Long-term schedulers are called job schedulers. The long-term scheduler controls the programs that are selected within the system for processing. In this, programs are found during a queue and therefore the best job is chosen as per the need it
    4 min read
    Difference between dispatcher and scheduler
    Scheduler and the Dispatcher are the two most important terms in an operating system. which are critical in the management of processes as well as the execution of processes. While the scheduler chooses processes that must be run, the dispatcher is in charge of passing these processes to the CPU. De
    7 min read
    Difference between Time Sharing OS and Real-Time OS
    Prerequisite - Types of Operating Systems Time sharing operating system allows concurrent execution of programs through rapid switching thereby giving each process the same amount of time to execute. In this operating system Switching method/function is available. This switching is incredibly quick
    2 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences