RTL-120 · Real-Time Systems · Advanced

Tuning for Determinism — full syllabus

Turning a general-purpose platform into one that holds a deadline: isolation, affinity, firmware and BIOS.

Duration3 full days in person · 6 half-days online
Cohortmax 14 in person · 20 online
Pricefrom SAR 9,000 in person · local pricing per city
Delivery35% principles · 20% guided investigation · 45% engineering studio

Who this course is for

Platform engineers responsible for a system that must hold a deadline — who have an RT kernel and a measurement method and now need the platform itself to stop interfering.

Prerequisites

Course outline

Day 1 — Taking CPUs away from the kernel

  • isolcpus, nohz_full and rcu_nocbs: what each does and why you need them together
  • Housekeeping CPUs and what still runs on isolated cores
  • cpusets and cgroup v2 for runtime partitioning
  • Kernel threads, workqueues and ksoftirqd placement
  • Verifying isolation actually happened: /proc/interrupts, task placement, timer and RCU traces

Day 2 — Interrupts and the firmware underneath

  • IRQ affinity and steering interrupts away from hot CPUs
  • IRQ-balancing daemons and when to disable them
  • SMI and system management mode: the latency source Linux cannot see
  • BIOS settings that destroy determinism: C-states, P-states, turbo, SMT
  • CPU frequency governors, idle states and the latency cost of power saving

Day 3 — The RT application and the repeatable checklist

  • mlockall, stack prefaulting and the page faults that kill determinism
  • Huge pages and allocator behaviour in RT tasks
  • Priority assignment across application threads, IRQ threads and kernel threads
  • Memory and NUMA placement for the RT process
  • Building a repeatable tuning checklist and revalidating it after platform changes

Hands-on labs

  1. Lab: Isolate a CPU set with isolcpus/nohz_full/rcu_nocbs and prove residual tick and RCU work moved to housekeeping cores
  2. Lab: Steer every IRQ off your RT cores with affinity masks; verify with /proc/interrupts before and after
  3. Lab: Measure the latency cost of C-states, frequency scaling and SMT by toggling each and rerunning cyclictest
  4. Lab: Convert an RT application to mlockall with stack prefaulting and drive its page-fault count to zero
  5. Lab: Assemble a full platform tuning manifest — boot flags, affinity script, BIOS list — and validate it from a cold boot

Capstone project

Turn a general-purpose machine into a deterministic partition: starting from an untuned baseline, apply CPU isolation, IRQ steering, firmware settings and application memory locking in measured steps, recording the cyclictest distribution after each change so every line of the final tuning manifest is justified by a before/after measurement — and document the residual noise sources you could not remove.

What you leave with

Upcoming dates

DatesWhereSeatsEarly birdRegular
15 Nov – 17 Nov 20263 full days RiyadhIn person · KAFD Conference Centre 5 of 14 SAR 8,100until 16 OctSAR 9,000
22 Nov – 24 Nov 20263 full days Kuwait CityIn person · Al Hamra Tower 10 of 14 KWD 670until 23 OctKWD 740
29 Nov – 1 Dec 20263 full days MuscatIn person · Knowledge Oasis Muscat 5 of 14 OMR 830until 30 OctOMR 920
29 Nov – 6 Dec 20266 half-days Gulf bandLive online · 09:00–13:00 GMT+3 15 of 20 US$1,580until 30 OctUS$1,750
30 Nov – 2 Dec 20263 full days OttawaIn person · Kanata North Tech Park 10 of 14 CAD 2,930until 31 OctCAD 3,260
7 Dec – 9 Dec 20263 full days TorontoIn person · MaRS Discovery District 5 of 14 CAD 2,930until 7 NovCAD 3,260
7 Dec – 14 Dec 20266 half-days Europe bandLive online · 09:00–13:00 CET 4 of 20 US$1,580until 7 NovUS$1,750
14 Dec – 16 Dec 20263 full days LondonIn person · Shoreditch Works 10 of 14 GBP 1,680until 14 NovGBP 1,870
14 Dec – 21 Dec 20266 half-days Americas bandLive online · 13:00–17:00 ET 9 of 20 US$1,580until 14 NovUS$1,750
21 Dec – 23 Dec 20263 full days BerlinIn person · Factory Görlitzer Park 5 of 14 EUR 1,990until 21 NovEUR 2,210

Book a seat, or bring this course to your team

Seats can be reserved online; private delivery runs on-site or live online, adapted to your stack.

Course page & booking

Questions about fit or prerequisites? Email hello@kernelsystems.academy. To save this syllabus, print this page to PDF from your browser.