Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Enable CONFIG_UCLAMP_TASK by default in debian

132 views
Skip to first unread message

Qais Yousef

unread,
May 20, 2023, 6:10:05 PM5/20/23
to
Hi

Debian kernels don't ship with CONFIG_UCLAMP_TASK and CONFIG_UCLAMP_TASK_GROUP
configs enabled in the kernel, is there any reason for that?

These configs enable smarter performance management for tasks and it'd be good
to know if there's a reason preventing you from enabling it.

Some useful docs:

https://kernel.org/doc/html/latest/scheduler/sched-util-clamp.html?highlight=util+clamp
https://man7.org/linux/man-pages/man1/uclampset.1.html

Happy to contribute patches if that helps.


Thanks

--
Qais Yousef

Salvatore Bonaccorso

unread,
May 24, 2023, 4:20:05 AM5/24/23
to
Package: src:linux
Version: 6.1.27-1
Severity: wishlist

Hi
I cannot yet judge if it is sensible, as unkown which impact it
otherwise has to enable those, but let's make a tracking bug for your
request.

Regards,
Salvatore

Qais Yousef

unread,
May 31, 2023, 2:20:03 PM5/31/23
to
Sorry for the delayed response.

When uclamp is not used, it's protected with a static key in the kernel, so
should add no extra overhead when not used; if that's the concern you have.

Ubuntu ships with these configs enabled FWIW.

Thanks for creating the bug!

--
Qais Yousef
0 new messages