Re: [PATCH 0/3] sched/tick: Decouple sched_tick() from HZ
From: David Laight
Date: Sun May 17 2026 - 10:11:03 EST
On Sun, 17 May 2026 05:07:37 +0100
Qais Yousef <qyousef@xxxxxxxxxxx> wrote:
> Previous attempt to make HZ 1000 the default [1] to help with scheduler
> responsiveness didn't get merged. But maybe for the best, as I think this idea
> of decoupling sched_tick() from HZ makes more sense. We shouldn't need to make
> a choice between how often timers should trigger vs how often should the
> scheduler update its stats/take decisions.
Have you also looked a decoupling HZ/jiffies from the timer interrupt rate?
It ought to be reasonable set HZ to 1000 and to do 'jiffies += 4' when the
timer interrupts 250 times a second.
I'd expect most code to handle that fine.
I know one architecture (forgotten which) traditionally used a 1024Hz clock,
and some very old ones 60Hz; but I don't think Linux supports either.
-- David