Skip to contentSkip to conversation

Voltage droop from synchronized timer interrupts(tick) on many-core SoCs leads to system instability

Question 连子涵 4 participants 4 messages Feb 5 – Feb 9

lore
Share & tools
lore

连子涵

author
#0 lore raw

Hi all,
We have observed a critical voltage droop issue on large-core-count SoC platforms (e.g., 64+ cores) that appears to stem directly from the synchronized periodic timer interrupts(tick) in the Linux kernel.

In our testing and power simulations, we found that:
When all CPU cores enter the timer interrupt handler simultaneously, there is a sharp, instantaneous power surge and continuous power fluctuations during the interrupt handling window (which lasts several microseconds), leading to significant voltage droop. In severe cases, this droop can cause system instability or even prevent the OS from booting.

We understand that enabling skew_tick=1 effectively mitigates this by staggering the per-CPU tick timers. However, in certain deployment scenarios, modifying any kernel boot parameter—including skew_tick—is not permitted.

Given this constraint, we would greatly appreciate your insights on the following technical questions:
1. Why does the timer interrupt path consume so much power and exhibit such large instantaneous variations? Our power simulation shows that the average power during timer interrupt handling is comparable to Dhrystone benchmark.
2. What is the typical duration of a single timer interrupt handler (tick_nohz_handler, etc.) on a modern x86 or ARM core? Is it generally on the order of a few microseconds?
3. Beyond skew_tick=1, are there other kernel mechanisms or runtime strategies that could reduce the power impact of synchronized timer events? Are there plans in future kernel versions to address this issue more fundamentally—especially for many-core platforms?

Thank you very much for your time and expertise.

Best regards,
Zihan Lian <[email protected]>

#1 lore raw
Quoted 8 lines · On Thu, 5 Feb 2026 12:52:04 +0800 (CST) =?GBK?B?wazX07qt?= wrote:

Hi all,
We have observed a critical voltage droop issue on large-core-count SoC platforms (e.g., 64+ cores) that appears to stem directly from the synchronized periodic timer interrupts(tick) in the Linux kernel.

In our testing and power simulations, we found that:
When all CPU cores enter the timer interrupt handler simultaneously, there is a sharp, instantaneous power surge and continuous power fluctuations during the interrupt handling window (which lasts several microseconds), leading to significant voltage droop. In severe cases, this droop can cause system instability or even prevent the OS from booting.

We understand that enabling skew_tick=1 effectively mitigates this by staggering the per-CPU tick timers. However, in certain deployment scenarios, modifying any kernel boot parameter—including skew_tick—is not permitted.

Quoted 8 lines

Given this constraint, we would greatly appreciate your insights on the following technical questions:
1. Why does the timer interrupt path consume so much power and exhibit such large instantaneous variations? Our power simulation shows that the average power during timer interrupt handling is comparable to Dhrystone benchmark.
2. What is the typical duration of a single timer interrupt handler (tick_nohz_handler, etc.) on a modern x86 or ARM core? Is it generally on the order of a few microseconds?
3. Beyond skew_tick=1, are there other kernel mechanisms or runtime strategies that could reduce the power impact of synchronized timer events? Are there plans in future kernel versions to address this issue more fundamentally—especially for many-core platforms?

Thank you very much for your time and expertise.

Sounds like a known issue, feel free to see the comments in 2025 [1].

[1] Subject: Re: [PATCH] Skew tick for systems with a large number of processors
https://lore.kernel.org/lkml/87sejew87r.ffs@tglx/

Quoted 3 lines

Best regards,
Zihan Lian <[email protected]>

#2 lore raw
Quoted 11 lines · Hillf Danton
Quoted 10 lines · On Thu, 5 Feb 2026 12:52:04 +0800 (CST) =?GBK?B?wazX07qt?= wrote:

Hi all,
We have observed a critical voltage droop issue on large-core-count SoC platforms (e.g., 64+ cores) that appears to stem directly from the synchronized periodic timer interrupts(tick) in the Linux kernel.

In our testing and power simulations, we found that:
When all CPU cores enter the timer interrupt handler simultaneously, there is a sharp, instantaneous power surge and continuous power fluctuations during the interrupt handling window (which lasts several microseconds), leading to significant voltage droop. In severe cases, this droop can cause system instability or even prevent the OS from booting.

We understand that enabling skew_tick=1 effectively mitigates this by staggering the per-CPU tick timers. However, in certain deployment scenarios, modifying any kernel boot parameter—including skew_tick—is not permitted.

You could build a custom kernel that enables it by default.

Could you post test results that may convince us to make skew_tick the default for certain configurations?

I have had issues getting good power readings for smaller configurations since the SOC power state fluctuated. If we had some results that show skew_tick to not be hurtful at low core counts but good at high ones then we could change the default.

Quoted 7 lines
Quoted 7 lines

Given this constraint, we would greatly appreciate your insights on the following technical questions:

1. Why does the timer interrupt
path consume so much power and exhibit such large instantaneous variations? Our power simulation shows that the average power during timer interrupt handling is comparable to Dhrystone benchmark.

Because all processors need to be active and running at the same time. The SOC must power up instantly and power will then drop again rapidly. This is a pretty bad scenario that requires the SOC manufacturers to actually increase the default voltage to the SOC to deal with this instability.

Quoted 4 lines
Quoted 4 lines

2. What
is the typical duration of a single timer interrupt handler (tick_nohz_handler, etc.) on a modern x86 or ARM core? Is it generally on the order of a few microseconds?

My estimate would be 2-10 micros but Thomas may know better.

Quoted 5 lines
Quoted 5 lines

3. Beyond skew_tick=1, are there
other kernel mechanisms or runtime strategies that could reduce the power impact of synchronized timer events? Are there plans in future kernel versions to address this issue more fundamentally—especially for many-core platforms?

The SOC could be modified to delay if too many interrupts hit the cpu at once?

#3 lore raw
In reply to 连子涵
Quoted 1 line · 连子涵

Given this constraint, we would greatly appreciate your insights on the following technical questions:

Who is 'we'? You are hiding behind an anonymized email address and completely fail to provide details about your secret sauce SoC.

Quoted 4 lines

1. Why does the timer interrupt path consume so much power and exhibit such large instantaneous variations? Our power simulation shows that the average power during timer interrupt handling is comparable to Dhrystone benchmark.

Is that a serious question?

How should we know what makes your SoC design sensitive to it? You have the tools which observe the problem, so you should be able to pin point what the actual issue is, no?

Quoted 4 lines

3. Beyond skew_tick=1, are there other kernel mechanisms or runtime strategies that could reduce the power impact of synchronized timer events? Are there plans in future kernel versions to address this issue more fundamentally—especially for many-core platforms?

Again. How should we address a problem which is only described by hand-waving? You completely fail to provide context and circumstances.

Provide a proper analysis that explains what the actual root cause is and then we can debate whether that's solvable in software or not. Just crying 'timer interrupt' is not even close to an analysis.

If there is a systematic problem somewhere then we are happy to look for a solution, but without analysis and data we are not doing anything.

Just for the record: The Voltage droop issue is known for more a decade and there have been solutions published way before your SoC was designed. Aside of your (whatever it is) and some odd Ampere SoC none of the contemporary multi-core designs even with hundreds of cores suffer from this. Seems there are hardware architects out there who pay attention to research.

Thanks,

tglx