Linux kernel has mechanics to ensure a real-time throttling. It is controlled by system settings /proc/sys/kernel/sched_rt_period_us and /proc/sys/kernel/sched_rt_runtime_us.
By default, the first one is set to 1000000 and the second one to 950000, meaning that no process can take more than 0.95 second each 1 second.