Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp613033ybg; Tue, 9 Jun 2020 08:32:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwrBDI4NDKlb37DvRCobJgAdXXCY4S/UYOErPFG8O0S/QV+iqcBt3sTfnuYfqlKPon4UpiT X-Received: by 2002:aa7:c143:: with SMTP id r3mr27938272edp.203.1591716768018; Tue, 09 Jun 2020 08:32:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591716768; cv=none; d=google.com; s=arc-20160816; b=olKNS1Uvpr69q1KKVsdCWcF1MHxU8F9J6o7/ZdYsiIW7jmoy5hfEEyGQat4b0fLLus dcHhjlT95IHBgf/C2wPr4B2NKi5XIe6w4Lmc8mteZUrBl1VO0jex+dvJKmJKCDqVpT6k pjUDpgUsRJ04wdBsqvWg0QeXLpKojOCLyVrP7Xs8hrRZzNk2MZ1Rn5JnEe+/LCLTDNqi ftptFFYcBHawiHq1kZxi2OsYP/xCV0Vid3KomynqcCZaEOzKYeuOY+aeCXLa8q36fFdr Bf/vdPPHaK6q1kT5/TrCeuGEKdeThQ319mfB6muxD6oPcLCmKgGZBil0B0LFpezi2+As mx5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=J9IVxxdE18kyf3He9rGpIj1hCmIn48AUOA8lzG/AI2M=; b=YC89v/C6RiUa26YbXmp6yjg9XCif338h1lLe1B9kcGSVkbwmU6+9VnxlgSDzVpaaNG jPQ5IJ1SEuFzEfKFdBnTXsHxmfliUsmp9xJ5tTnflOtx+Di2/wFRI/t8AD309ZGFhY/3 qVEl56ZoTT87cdJiRs62ce3dI4P5JX00P+kRx6A4KYXzf/QwAW6i1D8/DL4uwcjesDU7 FbisEqpzG6SWQjKQ8xlkqAnaHPnqJZU478fJR45h0iBq26d6Oe/w2IZDZR0Ia2oDNrvG 66se113zee/Iv3ekJi9i2WxD80Pc7QlwjRDO0i3fFD8sW0a1/+BJnlzmSiBGUd8KHSk1 +a7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PxxFU62u; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j2si1210409ejd.544.2020.06.09.08.32.23; Tue, 09 Jun 2020 08:32:47 -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; dkim=pass header.i=@linaro.org header.s=google header.b=PxxFU62u; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730815AbgFIP3w (ORCPT + 99 others); Tue, 9 Jun 2020 11:29:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730789AbgFIP3t (ORCPT ); Tue, 9 Jun 2020 11:29:49 -0400 Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FA51C08C5C2 for ; Tue, 9 Jun 2020 08:29:49 -0700 (PDT) Received: by mail-lf1-x144.google.com with SMTP id e125so12754712lfd.1 for ; Tue, 09 Jun 2020 08:29:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=J9IVxxdE18kyf3He9rGpIj1hCmIn48AUOA8lzG/AI2M=; b=PxxFU62uc9/YdDEGEwgsByTKQ1jYCPZ7jusRIZFSG9pvy3hsq+s/8Co9l3kPBq+4yb KSRZFG/bZGi2PSSRoGLJ5Cs1ziGss5k51YEgFmxM0cZSSP2YBULLKSWQWnXeUe+ry7M0 pmdxRok/GD324+n8jxEzje9XDjAhqTS4tP2jNjR9p58TsKTFZ1Q0pqviupSfy2DL5L+n 7qYTWPPKYacrcZzgJW6T0l7OpvpGx6LcnQzcGeHghM46NVOZGYzohckpdayCzJreUymH 2sPKOcYFglPVEWN7/5Q6fmaE5HiV/SMWHUGi6dYPRxP2zvErMdFv9OAIWyUK4rbJspnW nnMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=J9IVxxdE18kyf3He9rGpIj1hCmIn48AUOA8lzG/AI2M=; b=bh4uikniMBRGhzvy8XiktJ/sZz2EXfen3zt/Iez7IDRDlxbMsnrUZP27KRz37TYbqM Ser3vE+ee1HfdlQUHg9xsrtybSdA0T3yb5vDKfR2pdjyugsiDIoIXAbAxnaRQvMSk8G3 cSeHnz8aPqbBsuqz0QjHdMaRGDhj7kY8LJq3Q3LyMCUxbDZqRZMUzDT56bsPLhGiyCm7 fRNfj324obL2tWC10R5Rd3lwr38WfUPxONrb/RPvZg+5KbbXnCJcIHSAS1wUZxKhU1Wv 4ADp7jpCciKvo1JOWBg4x2bH3p6uGqkF1bve9jO5tU/eoYpqHUdzfUTEiOuGSHOvpe7f Qf0g== X-Gm-Message-State: AOAM530AqtaAKuNgJLZqhpC5WFSnozX8h8FGzrALnDJyS8KujqlXM1Ch nCb0saEWT1IAYvSKL4LNAS6VZSpILuHaPZYfU8ZjiQ== X-Received: by 2002:a19:4854:: with SMTP id v81mr15493723lfa.189.1591716587413; Tue, 09 Jun 2020 08:29:47 -0700 (PDT) MIME-Version: 1.0 References: <20200528132327.GB706460@hirez.programming.kicks-ass.net> <20200528155800.yjrmx3hj72xreryh@e107158-lin.cambridge.arm.com> <20200528161112.GI2483@worktop.programming.kicks-ass.net> <20200529100806.GA3070@suse.de> <87v9k84knx.derkling@matbug.net> <20200603101022.GG3070@suse.de> <20200603165200.v2ypeagziht7kxdw@e107158-lin.cambridge.arm.com> <20200605104517.r65dqhzavnnrnfb2@e107158-lin.cambridge.arm.com> In-Reply-To: <20200605104517.r65dqhzavnnrnfb2@e107158-lin.cambridge.arm.com> From: Vincent Guittot Date: Tue, 9 Jun 2020 17:29:35 +0200 Message-ID: Subject: Re: [PATCH 1/2] sched/uclamp: Add a new sysctl to control RT default boost value To: Qais Yousef Cc: Mel Gorman , Patrick Bellasi , Dietmar Eggemann , Peter Zijlstra , Ingo Molnar , Randy Dunlap , Jonathan Corbet , Juri Lelli , Steven Rostedt , Ben Segall , Luis Chamberlain , Kees Cook , Iurii Zaikin , Quentin Perret , Valentin Schneider , Pavan Kondeti , linux-doc@vger.kernel.org, linux-kernel , linux-fs Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org H Qais, Sorry for the late reply. On Fri, 5 Jun 2020 at 12:45, Qais Yousef wrote: > > On 06/04/20 14:14, Vincent Guittot wrote: > > I have tried your patch and I don't see any difference compared to > > previous tests. Let me give you more details of my setup: > > I create 3 levels of cgroups and usually run the tests in the 4 levels > > (which includes root). The result above are for the root level > > > > But I see a difference at other levels: > > > > root level 1 level 2 level 3 > > > > /w patch uclamp disable 50097 46615 43806 41078 > > tip uclamp enable 48706(-2.78%) 45583(-2.21%) 42851(-2.18%) > > 40313(-1.86%) > > /w patch uclamp enable 48882(-2.43%) 45774(-1.80%) 43108(-1.59%) > > 40667(-1.00%) > > > > Whereas tip with uclamp stays around 2% behind tip without uclamp, the > > diff of uclamp with your patch tends to decrease when we increase the > > number of level > > Thanks for the extra info. Let me try this. > > If you can run perf and verify that you see activate/deactivate_task showing up > as overhead I'd appreciate it. Just to confirm that indeed what we're seeing > here are symptoms of the same problem Mel is seeing. I see call to activate_task() for each wakeup of the sched-pipi thread > > > Beside this, that's also interesting to notice the ~6% of perf impact > > between each level for the same image > > Interesting indeed. > > Thanks > > -- > Qais Yousef