Deadline scheduler

Deadline scheduler

Deadline scheduler is an I/O scheduler for the Linux kernel which was written in 2002 by Jens Axboe.

Overview

The goal of the Deadline scheduler is to guarantee a start service time for a request.[1] It does that by imposing a deadline on all I/O operations to prevent starvation of requests. It also maintains two deadline queues, in addition to the sorted queues (both read and write). Deadline queues are basically sorted by their deadline (the expiration time), while the sorted queues are sorted by the sector number.

Before serving the next request, the Deadline scheduler decides which queue to use. Read queues are given a higher priority, because processes usually block on read operations. Next, the Deadline scheduler checks if the first request in the deadline queue has expired. Otherwise, the scheduler serves a batch of requests from the sorted queue. In both cases, the scheduler also serves a batch of requests following the chosen request in the sorted queue.

By default, read requests have an expiration time of 500 ms, write requests expire in 5 seconds.

An early version of the scheduler was published by Axboe in September 2002.[2]

The kernel documentation suggest this is the preferred scheduler for database systems, especially with Tagged Command Queuing (TCQ) aware disks, or any system with large numbers of disks.[3]

Other I/O schedulers

References

  1. ^ Jens Axboe (11 November 2002). "Deadline IO scheduler tunables". Linux kernel documentation. http://www.mjmwired.net/kernel/Documentation/block/deadline-iosched.txt. Retrieved 20 November 2011. 
  2. ^ "A Deadline I/O Scheduler". Kernel trap blog. 26 September 2002. http://kerneltrap.org/node/431. Retrieved 20 November 2011. 
  3. ^ "Linux IO Scheduler". Wiki. Waikato Linux Users Group. 16 December 2010. http://www.wlug.org.nz/LinuxIoScheduler. Retrieved 20 November 2011. 

Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Deadline Scheduler — Le Deadline scheduler (« ordonnanceur sur échéance » en français) est un ordonnanceur d E/S pour le noyau Linux écrit par Jens Axboe. Sommaire 1 Vue d ensemble 2 Réglage 3 A …   Wikipédia en Français

  • Deadline scheduler — Le Deadline scheduler (« ordonnanceur sur échéance » en français) est un ordonnanceur d E/S pour le noyau Linux écrit par Jens Axboe. Sommaire 1 Vue d ensemble 2 Réglage 3 Autres ordonnanceurs d E/S …   Wikipédia en Français

  • Scheduler (Informatik) — Ein Prozess Scheduler (Scheduler = Steuerprogramm) ist eine Arbitrationslogik, der die zeitliche Ausführung mehrerer Prozesse in Betriebssystemen regelt. Prozess Scheduler kann man grob in unterbrechende (preemptive) und nicht unterbrechende (non …   Deutsch Wikipedia

  • Completely Fair Scheduler — The Completely Fair Scheduler is the name of a task scheduler which was merged into the 2.6.23 release of the Linux kernel. It handles CPU resource allocation for executing processes, and aims to maximize overall CPU utilization while also… …   Wikipedia

  • Noop scheduler — The NOOP scheduler is the simplest I/O scheduler for the Linux kernel. This scheduler was developed by Jens Axboe. Overview The NOOP scheduler inserts all incoming I/O requests into a simple FIFO queue and implements request merging. The… …   Wikipedia

  • Completely Fair Scheduler — Pour les articles homonymes, voir CFS. Le Completely Fair Scheduler (ordonnanceur complètement équitable en français), ou CFS est un ordonnanceur de tâches pour le noyau Linux, qui a fait son apparition avec la version 2.6.23 sortie le… …   Wikipédia en Français

  • Noop scheduler — (ou ordonnanceur NOOP) est le plus simple des ordonnanceur d E/S du noyau Linux, et a été écrit par Jens Axboe. Vue d ensemble L ordonnanceur NOOP fonctionne en plaçant toutes les requêtes d E/S dans une simple file FIFO, et n implémente que la… …   Wikipédia en Français

  • Prozess-Scheduler — Ein Prozess Scheduler (Scheduler = Steuerprogramm) ist eine Arbitrationslogik, die die zeitliche Ausführung mehrerer Prozesse in Betriebssystemen regelt. Prozess Scheduler kann man grob in unterbrechende (preemptive) und nicht unterbrechende (non …   Deutsch Wikipedia

  • Atropos scheduler — In computer science, Atropos is a real time scheduling algorithm developed at Cambridge University. It combines the Earliest Deadline First algorithm with a best effort scheduler to make use of slack time, while exercising strict admission… …   Wikipedia

  • Con Kolivas — Residence Melbourne, Australia Occupation Anaesthetist Known for Linu …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”