linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] Bw accounting warning on fair-servers' parameters change
@ 2025-07-18 11:38 Yuri Andriaccio
  2025-07-18 14:22 ` Juri Lelli
  0 siblings, 1 reply; 5+ messages in thread
From: Yuri Andriaccio @ 2025-07-18 11:38 UTC (permalink / raw)
  To: Ingo Molnar, Peter Zijlstra, Juri Lelli, Vincent Guittot,
	Dietmar Eggemann, Steven Rostedt, Ben Segall, Mel Gorman,
	Valentin Schneider
  Cc: linux-kernel, Luca Abeni, Yuri Andriaccio

Hi,

I've been lately working on fair-servers and dl_servers for some patches and
I've come across a bandwidth accounting warning on the latest tip/master (as of
2025-07-18, git sha ed0272f0675f). The warning is triggered by simply starting
the machine, mounting debugfs and then just zeroing any fair-server's runtime.


The warning:

WARNING: kernel/sched/deadline.c:266 at dl_rq_change_utilization+0x208/0x230
static inline void __sub_rq_bw(u64 dl_bw, struct dl_rq *dl_rq) {
    ...
	WARN_ON_ONCE(dl_rq->running_bw > dl_rq->this_bw);
}

Steps to reproduce:

mount -t debugfs none /sys/kernel/debug
echo 0 > /sys/kernel/debug/sched/fair_server/cpu0/runtime


It does not happen at every machine boot, but happens on most. Could it possibly
be related to some of the deadline timers?

I'll probably follow up with some more tests to better understand what is going
on but I first wanted to bring this up.

Have a nice day,
Yuri

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-07-21 13:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-18 11:38 [BUG] Bw accounting warning on fair-servers' parameters change Yuri Andriaccio
2025-07-18 14:22 ` Juri Lelli
2025-07-18 14:53   ` Juri Lelli
2025-07-21  9:34     ` Yuri Andriaccio
2025-07-21 13:35       ` Juri Lelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).