Optimizing utilization with the EDF scheduler

Mr. Efficient

Whipped Cream

Linux development has increasingly focused on the needs of real-time applications, so it is only logical to equip the kernel with an Earliest Deadline First scheduler. This option presents various advantages compared with conventional priority-driven scheduling.

Infos

  1. Deadline task scheduling in the kernel documentation: http://lxr.free-electrons.com/source/Documentation/scheduler/sched-deadline.txt
  2. New system call sched_setattr: http://man7.org/linux/man-pages/man2/sched_setattr.2.html
  3. Juri Lelli, "SCHED_DEADLINE, How to Use It", Online-Video: https://www.youtube.com/watch?v=AmyfSjRMcIY
  4. Listings for this article: ftp://ftp.linux-magazin.com/pub/listings/admin-magazine.com/25

The Author

Eva-Katharina Kunst has been an avid supporter of open source since the beginnings of Linux. Jürgen Quade, professor at the Lower Rhine University, published his third Linux book at the end of April: Embedded Linux Learning with the Raspberry Pi .

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy ADMIN Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Visualizing kernel scheduling
    The Google SchedViz tool lets you visualize how the Linux kernel scheduler allocates jobs among cores and whether they are being usurped.
  • Law of Averages – Load Averaging

    Load averaging can be a source of confusion for admins. We provide a look at some basic considerations.

  • Linux I/O Schedulers
    The Linux kernel has several I/O schedulers that can greatly influence performance. We take a quick look at I/O scheduler concepts and the options that exist within Linux.
  • Resource Management with Slurm

    One way to share HPC systems among several users is to use a software tool called a resource manager. Slurm, probably the most common job scheduler in use today, is open source, scalable, and easy to install and customize.

  • Linux I/O Schedulers

    The Linux kernel has several I/O schedulers that can greatly influence performance. We take a quick look at I/O scheduler concepts and the options that exist within Linux.

comments powered by Disqus