]> Gentwo Git Trees - linux/.git/commit
Skew tick for systems with a large number of processors sent/20250702-tick_skew-0e7858c10246-v1
authorChristoph Lameter (Ampere) <cl@gentwo.org>
Wed, 2 Jul 2025 19:29:57 +0000 (12:29 -0700)
committerChristoph Lameter <cl@gentwo.org>
Wed, 2 Jul 2025 19:42:14 +0000 (12:42 -0700)
commit5b3fc9ae36d4a79a4c35b0d806011f455bebf8d0
tree9c16ba20e5b67c3af23f408b9d557111801950d5
parent66701750d5565c574af42bef0b789ce0203e3071
Skew tick for systems with a large number of processors

Synchronized ticks mean that all processors will simultaneously process
ticks and enter the scheduler. So the contention increases as the number
of cpu increases. The contention causes latency jitter that scales with
the number of processors.

Staggering the timer interrupt also helps mitigate voltage droop related
issues that may be observed in SOCs with large core counts.
See https://semiengineering.com/mitigating-voltage-droop/ for a more
detailed explanation.

Switch to skewed tick for systems with more than 64 processors.

Signed-off-by: Christoph Lameter (Ampere) <cl@gentwo.org>
kernel/Kconfig.hz
kernel/time/tick-sched.c