You are here: Home / RTLWS 1999-2017 / RTLWS Submitted Papers / 
2022-08-12 - 10:54

Real Time Linux Workshops

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

13th Real-Time Linux Workshop from October 20 to 22 at the Faculty of Electrical Engineering, Czech Technical University in Prague

Announcement - Hotels - Directions - Agenda - Paper Abstracts - Presentations - Registration - Abstract Submission - Sponsoring - Gallery

Adaptive tickless kernel

Frederic Weisbecker

The scheduler tick is a timer that runs periodically from 100 to 1000 times per second. It acts as a kernel heartbeat to maintain the progression of walltime, jiffies, the scheduler state, rcu state, load statistics, cputime, timers, etc...

With 2.6.21 came a new feature called dynticks that shuts down the periodic tick when a CPU goes idle. The goal was to reduce CPU energy consumption and the amount of interrupt generating critical section that can hurt latencies on a real time environment.

Today, more efforts are invested to push the tickless feature further when the CPU is busy running tasks. Ie: minimizing the periodic tick as much as possible. The goal is not anymore about energy saving but rather in reducing even more the critical sections that induce latencies. Throughput may also get better without useless interrupts to handle and the amount of CPU cache they use. So this is expected to be useful for the two extreme evironments that Real Time and High Performance Computing are. And may be even for more common usecases in the middle (embedded, desktop, server,...).

Of course getting that feature properly upstream is going to be some adventure.