I/O scheduling

The position of I/O schedulers within various layers of the Linux kernel's storage stack.[1]

Input/output (I/O) scheduling is the method that computer operating systems use to decide in which order the block I/O operations will be submitted to storage volumes. I/O scheduling is sometimes called disk scheduling.

I/O scheduling

I/O scheduling usually has to work with hard disk drives that have long access times for requests placed far away from the current position of the disk head (this operation is called a seek). To minimize the effect this has on system performance, most I/O schedulers implement a variant of the elevator algorithm that reorders the incoming randomly ordered requests so the associated data would be accessed with minimal arm/head movement.

I/O schedulers can have many purposes depending on the goals; common purposes include the following:

  • To minimize time wasted by hard disk seeks
  • To prioritize a certain processes' I/O requests
  • To give a share of the disk bandwidth to each running process
  • To guarantee that certain requests will be issued before a particular deadline

Scheduling disciplines

Common scheduling disciplines include the following:

See also

References

  1. Werner Fischer; Georg Schönberger (2015-06-01). "Linux Storage Stack Diagram". Thomas-Krenn.AG. Retrieved 2015-06-08.
  2. "mClock: Handling Throughput Variability for Hypervisor IO Scheduling". VMware Inc. Retrieved 2015-07-12.
  3. "Budget Fair Queueing I/O Scheduler".
  4. https://www.phoronix.com/scan.php?page=news_item&px=BFQ-Queued-Linux-4.12
  5. "Kyber multiqueue I/O scheduler".
  6. https://www.phoronix.com/scan.php?page=news_item&px=Linux-4.12-BFQ-Kyber

Further reading

  • Operating Systems: Three Easy Pieces, by Remzi H. Arpaci-Dusseau and Andrea C. Arpaci-Dusseau. Arpaci-Dusseau Books, 2014. Relevant chapter: Hard Disk Drives
  • Love, R. (2005). Linux Kernel Development, Novell Press. ISBN 0-672-32720-1
  • Operating Systems: Internals and Design Principles, seventh edition, by William Stallings
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.