Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #79084 > unrolled thread

Enable CONFIG_UCLAMP_TASK by default in debian

Started byQais Yousef <qyousef@layalina.io>
First post2023-05-21 00:10 +0200
Last post2023-05-31 20:20 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.debian.kernel


Contents

  Enable CONFIG_UCLAMP_TASK by default in debian Qais Yousef <qyousef@layalina.io> - 2023-05-21 00:10 +0200
    Re: Enable CONFIG_UCLAMP_TASK by default in debian Salvatore Bonaccorso <carnil@debian.org> - 2023-05-24 10:20 +0200
      Re: Enable CONFIG_UCLAMP_TASK by default in debian Qais Yousef <qyousef@layalina.io> - 2023-05-31 20:20 +0200

#79084 — Enable CONFIG_UCLAMP_TASK by default in debian

FromQais Yousef <qyousef@layalina.io>
Date2023-05-21 00:10 +0200
SubjectEnable CONFIG_UCLAMP_TASK by default in debian
Message-ID<GxCVX-aj8t-5@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#79115

FromSalvatore Bonaccorso <carnil@debian.org>
Date2023-05-24 10:20 +0200
Message-ID<GyRSV-b4rg-1@gated-at.bofh.it>
In reply to#79084
Package: src:linux
Version: 6.1.27-1
Severity: wishlist

Hi

On Sat, May 20, 2023 at 10:50:02PM +0100, Qais Yousef wrote:
> 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.

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

[toc] | [prev] | [next] | [standalone]


#79189

FromQais Yousef <qyousef@layalina.io>
Date2023-05-31 20:20 +0200
Message-ID<GByAp-cKlp-3@gated-at.bofh.it>
In reply to#79115
On 05/24/23 10:18, Salvatore Bonaccorso wrote:
> Package: src:linux
> Version: 6.1.27-1
> Severity: wishlist
> 
> Hi
> 
> On Sat, May 20, 2023 at 10:50:02PM +0100, Qais Yousef wrote:
> > 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.
> 
> 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.

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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web