You are here: Home / Science / RTLWS Submitted Papers / 
2021-06-20 - 03:14

Dates and Events:

OSADL Articles:

2021-02-09 12:00

Open Source OPC UA PubSub over TSN project phase #3 launched

Letter of Intent with call for participation is now available

2016-11-12 12:00

Raspberry Pi and real-time Linux

Let's have a look at the OSADL QA Farm data

2016-09-17 12:00

Preemption latency of real-time Linux systems

How to measure it – and how to fix it, if it's too high?

Details of the Real Time Linux Foundation Working Group Project

OSADL Project: Real Time Linux Workshops

Real Time Linux Foundation Workshops since 1999

Real Time Linux Workshops

1999 - 2000 - 2001 - 2002 - 2003 - 2004 - 2005 - 2006 - 2007 - 2008 - 2009 - 2010 - 2011 - 2012 - 2013 - 20142015

16th Real Time Linux Workshop, October 12 to 13, 2014 at the CCD Congress Center Dusseldorf collocated with LinuxCon Europe in Dusseldorf, Germany

Announcement - Call for participation (ASCII) - Hotels - Directions - Agenda - Paper Abstracts - Presentations - Registration - Abstract Submission - Sponsors - Gallery

Greedy CPU reclaiming for SCHED_DEADLINE

Luca Abeni, University of Trento
Claudio Scordino, Evidence Srl
Juri Lelli, ReTiS Lab, Scuola Superiore Sant'Anna, Pisa, Italy
Luigi Palopoli, University of Trento

The SCHED_DEADLINE scheduling policy (implementing a reservation-based CPU scheduler based on the Constant Bandwidth Server algorithm) has just been merged in the mainline Linux kernel. Such a scheduling policy allows to associate (Q,T) pairs to real-time tasks, meaning that a task is reserved an amount of execution time Q (the task's runtime, or maximum budget) every reservation period T. In this way, it is possible to provide guaranteed real-time performance by properly dimensioning the runtime Q and the period T based on the task parameters (execution time and activation pattern). However, if a task exhibits relevant variations in its execution or inter-activation times, a pure reservation-based scheduler such as SCHED_DEADLINE can cause system underutilisation or resource waste, because the CPU time reserved to the task can often be left unused (especially when considering hard real-time tasks and dimensioning the scheduler parameters on the worst-case task's parameters). This problem can be solved by using a proper CPU reclaiming algorithm; however, while many different reclaiming algorithms have been proposed in literature none of them has been implemented in Linux yet.

This paper describes the implementation of the GRUB reclaiming algorithm based on Linux/SCHED_DEADLINE, and presents some experimental results showing the effectiveness and usefulness of the presented modifications to SCHED_DEADLINE.