Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp621069ybm; Fri, 29 May 2020 08:13:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytGgVfinY7mOIxQ9qnyHvDFqlfunmv2C6885ZYTIGjz6Ip8cA2bomAANvUjTXBfnyuwfq9 X-Received: by 2002:a50:d556:: with SMTP id f22mr9070050edj.307.1590765217094; Fri, 29 May 2020 08:13:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590765217; cv=none; d=google.com; s=arc-20160816; b=uy8qInwipfMd4yJK9doToo2D9lkE3jlZD9R0L4qqhk7JNbai8/ZhwdlfxFknUsLY+Q mPNzNFqA4NQwtxZFpzEJAwUm9X8kzs4AH8goYLLSuc+4mJiAHUpwHZDEMXb+MKh3dkAy EVO7cr347huilHb7DK+vCmghZX63g+kcgTVg4fmTkdd8AFSv+foj5MFgFnIhP0Bo0L29 85ZahOMVezd4UB1OHj44MjmhNCQqloTiRoMzMDmhVlK7likbqEOG+y+IIFD2LapviB9x UvOJ/ojwkYb3o/PrTtc9pAj+aP0XnBoNO73phvRVnl0oqclO380h2HLiZiQFPqw5UMaJ Eseg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=unNPzO0k6gvCRvhA3KnCoStWLRrWxx/BVzV4GB0+uoM=; b=Xex1+5fkqisFUSsm+abDjc82ba330msKoB5znA6JK+wda12acVPOke+MPvAVJwKU1y EmazWQGSH8+rAMGiT2wyktWXhR64+mZ05CMEiqoe1U67t/4m40ZGMCu4Kl0XJNjA84lA F9rJ4jfHWPUOML5WVTdFwyOAFO22Y37N621hiCUq12zXsd2wJVkgWsdqfCcImp6AidiU BClSvrVkh+3hlimkEow2X1HYI/kYcK+uFUjxPSPhnebzSsixw2skeB+VB6idhi8v4gAL cGLuXwhInbl+3ZqlXA8uMd9o8cq8MBk+YOaQGVVuuXbn+2fDARrU6Qxpls30BmQbbUCu ClgQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s7si6124952ejo.438.2020.05.29.08.13.11; Fri, 29 May 2020 08:13:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727035AbgE2PLZ (ORCPT + 99 others); Fri, 29 May 2020 11:11:25 -0400 Received: from foss.arm.com ([217.140.110.172]:37724 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725901AbgE2PLZ (ORCPT ); Fri, 29 May 2020 11:11:25 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5D28F1045; Fri, 29 May 2020 08:11:24 -0700 (PDT) Received: from e107158-lin.cambridge.arm.com (e107158-lin.cambridge.arm.com [10.1.195.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A51283F718; Fri, 29 May 2020 08:11:21 -0700 (PDT) Date: Fri, 29 May 2020 16:11:18 +0100 From: Qais Yousef To: Mel Gorman Cc: Peter Zijlstra , Ingo Molnar , Randy Dunlap , Jonathan Corbet , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Luis Chamberlain , Kees Cook , Iurii Zaikin , Quentin Perret , Valentin Schneider , Patrick Bellasi , Pavan Kondeti , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 1/2] sched/uclamp: Add a new sysctl to control RT default boost value Message-ID: <20200529151118.mnysa7jv4l3ntzsk@e107158-lin.cambridge.arm.com> References: <20200511154053.7822-1-qais.yousef@arm.com> <20200528132327.GB706460@hirez.programming.kicks-ass.net> <20200528155800.yjrmx3hj72xreryh@e107158-lin.cambridge.arm.com> <20200528161112.GI2483@worktop.programming.kicks-ass.net> <20200528165130.m5unoewcncuvxynn@e107158-lin.cambridge.arm.com> <20200529102125.GB3070@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200529102125.GB3070@suse.de> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/29/20 11:21, Mel Gorman wrote: > On Thu, May 28, 2020 at 05:51:31PM +0100, Qais Yousef wrote: > > > Indeed, that one. The fact that regular distros cannot enable this > > > feature due to performance overhead is unfortunate. It means there is a > > > lot less potential for this stuff. > > > > I had a humble try to catch the overhead but wasn't successful. The observation > > wasn't missed by us too then. > > > > As with all things, it's perfectly possible I was looking at a workload > where the cost is more obvious but given that the functions are inlined, > it's not trivial to spot. I just happened to spot it because I was paying > close attention to try_to_wake_up() at the time. Indeed. > > > On my Ubuntu 18.04 machine uclamp is enabled by default by the way. 5.3 kernel > > though, so uclamp task group stuff not there yet. Should check how their server > > distro looks like. > > > > Elsewhere in the thread, I showed some results based on 5.7 so uclamp > task group existed but I had it disabled. The uclamp related parts of > the kconfig were > > # zgrep UCLAMP kconfig-5.7.0-rc7-with-clamp.txt.gz > CONFIG_UCLAMP_TASK=y > CONFIG_UCLAMP_BUCKETS_COUNT=5 > # CONFIG_UCLAMP_TASK_GROUP is not set So you never had the TASK_GROUP part enabled when you noticed the regression? Or is it the other way around, you just disabled CONFIG_UCLAMP_TASK_GROUP to 'fix' it? Thanks -- Qais Yousef