Sep 9 – 11, 2019
Europe/Lisbon timezone

Core Scheduling for RT

Sep 11, 2019, 10:00 AM
Esmerelda/room-I&II (Corinthia Hotel Lisbon)


Corinthia Hotel Lisbon



Peter Zijlstra (Intel OTC)


Recently speculative execution techniques have shown that an untrusted application can steal data from another one when both share the same core. To avoid such problems users have to disable SMT, causing non-negligible performance impact. Core-scheduling tries to mitigate the performance problem by allowing trusted applications to run concurrently on siblings of a core while avoiding two untrusted applications to share the same core.

However, this has a number of ramifications and applications for Real-Time schedulers too. For instance, the Admission Control of SCHED_DEADLINE depends on the number of CPUs, but with core scheduling, the number of CPUs available is a dynamic function. OTOH Real-Time workloads often want SMT disabled for determinism, and core-scheduling gives the capability for a single task to claim an entire core.

So I propose discussing the impact and possibilities of core-scheduling for Real-Time.

I agree to abide by the anti-harassment policy Yes

Primary author

Peter Zijlstra (Intel OTC)

Presentation materials