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


Groups > linux.debian.kernel > #79189

Re: Enable CONFIG_UCLAMP_TASK by default in debian

Path csiph.com!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From Qais Yousef <qyousef@layalina.io>
Newsgroups linux.debian.kernel, linux.debian.bugs.dist
Subject Re: Enable CONFIG_UCLAMP_TASK by default in debian
Date Wed, 31 May 2023 20:20:01 +0200
Message-ID <GByAp-cKlp-3@gated-at.bofh.it> (permalink)
References <GxCVX-aj8t-5@gated-at.bofh.it> <GyRSV-b4rg-1@gated-at.bofh.it>
X-Mailbox-Line From debian-kernel-request@lists.debian.org Wed May 31 18:12:12 2023
Old-Return-Path <qyousef@layalina.io>
X-Amavis-Spam-Status No, score=-1.89 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FOURLA=0.1, MURPHY_DRUGS_REL8=0.02, RCVD_IN_DNSWL_NONE=-0.0001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=no autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .layalina. - helo: .mail-lf1-x134.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
X-Gm-Message-State AC+VfDygsknsiy/nGPrbXTH6NYXYb5ITdI9dM4a4wf2j35MSSFX2bGJl LAlS2lnZFYTb6Vb/TsDZw6Hd9GQufFWmfFGG/Vs=
X-Google-SMTP-Source ACHHUZ5VDTR4an8youDzS4C6jccoomci/GTjLo+4053J59XEbxmK6XE3cYzvF7ObMqfFyGX5oWxA3w==
X-Received by 2002:ac2:43b0:0:b0:4ed:c61d:c8e8 with SMTP id t16-20020ac243b0000000b004edc61dc8e8mr3349604lfl.29.1685555640942; Wed, 31 May 2023 10:54:00 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
X-Mailing-List <debian-kernel@lists.debian.org> archive/latest/138612
List-ID <debian-kernel.lists.debian.org>
List-URL <https://lists.debian.org/debian-kernel/>
List-Archive https://lists.debian.org/msgid-search/20230531175359.7w4opwyee3j6pdme@airbuntu
Approved robomod@news.nic.it
Lines 38
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Wed, 31 May 2023 18:53:59 +0100
X-Original-Message-ID <20230531175359.7w4opwyee3j6pdme@airbuntu>
X-Original-References <20230520215002.w2h4mzvbweym3ifn@airbuntu> <ZG3IQLRtSVMNYgKn@eldamar.lan>
Xref csiph.com linux.debian.kernel:79189 linux.debian.bugs.dist:1148472

Cross-posted to 2 groups.

Show key headers only | View raw


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

Back to linux.debian.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

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

csiph-web