Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp3924286rwj; Tue, 20 Dec 2022 03:57:32 -0800 (PST) X-Google-Smtp-Source: AA0mqf5WG/87lcrNuTP3oZDRF4QYytjb68O/7hUoQMqD8cO6rafEEnwO4QWnDvXHsmSz0eiEmQWO X-Received: by 2002:a05:6402:5486:b0:461:7ae:c244 with SMTP id fg6-20020a056402548600b0046107aec244mr36852637edb.35.1671537452165; Tue, 20 Dec 2022 03:57:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671537452; cv=none; d=google.com; s=arc-20160816; b=vfGTR9uPz9aqcmfnyZdcJrrPrkN/DV2waoRjQFK0Co2mQ3KvCipYdzsKTSK8N3GHrq l7NXgFAd2rvFmwKf5Qxvv/ekX+yr2H07Kit2JmL/+sgoK/WYL2qvR2FwcpdDAy9/5GVH AQf7qbSvyzE5GB4pCue2E2FQsXpXee4s3+cw3bitckorj58YA3rq20QsZpifSoDIGz5S V0geS/t5m2MMGCceavvFx8cOdYBhKlTYX/nLzvnYdqBFyA7JrcrcEiWragUQNhxncot/ DoSAi8VVyOIzax5NwBfoKwcn4s6UkxD93hVohZ8ss4SbeYRENSs55l5SZlEwdDOAToOO +wRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Izi5rtgy1gy7iKuRR2cyO+zgmNxqGI8JekC2jp3If4w=; b=EAOFfwOJh+0BwPfTngGdYLWV43D9rkbPNsHxBBTxTS+bzwyfofSPbSyHEEuYLP3Olq 55ieG4acMEWqeyw59S28UcRBPLHdLenJGwuNkhxl50sORF5WfdXbkOHy1HsIUjjLnFHs KrvbDX7jFZyY/FongCI5WmcAl+p2DNM4Jsik3f+M9rLqaLj80boUp5gARqjNYYB6/ZrU QpLsXSg4H5mBEuvDQpkUHpNLaQX9uO2lUZfVmJwWPdCmhwDFfTc4S5d+4yyeekj0PMoE HghPvDa/YakXvZu3+N6tYmw6FuPYs6QilubazmqwhWUmhKe8qoZ7I3PKElUnDHhHNy+z pAqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@layalina-io.20210112.gappssmtp.com header.s=20210112 header.b=isuVeixm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x7-20020a05640226c700b0046cb7a3d894si13003499edd.410.2022.12.20.03.57.15; Tue, 20 Dec 2022 03:57:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@layalina-io.20210112.gappssmtp.com header.s=20210112 header.b=isuVeixm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232989AbiLTLnP (ORCPT + 70 others); Tue, 20 Dec 2022 06:43:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229657AbiLTLnN (ORCPT ); Tue, 20 Dec 2022 06:43:13 -0500 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD9CE10FD1 for ; Tue, 20 Dec 2022 03:43:12 -0800 (PST) Received: by mail-wm1-x32a.google.com with SMTP id ja17so8467914wmb.3 for ; Tue, 20 Dec 2022 03:43:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=layalina-io.20210112.gappssmtp.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Izi5rtgy1gy7iKuRR2cyO+zgmNxqGI8JekC2jp3If4w=; b=isuVeixmHfbDsDcKHUdjtJo4925V08Z10w1T9CrZoACnBFjfLsEuLH5+M4VcQSxWRB TaTDWZkT/kH+ZCDW6i82k3V81ahhqxjRfXxkOSTxFmdxh2C14WNVYm5nYR8oazqJLPA+ Tp4nXtHMTmZj7mVCviywGmX5aY6RNehPdHTiNzNb1dfGTUOwWguYSsabN7Iy+R1w0KPr BU0HXGwqSJvlffLf5+LDTJTX/pBMluHntTBs6mmmW67uJRK7MZyNdVzd0XRGtMMYD50H f1mzcoAErYYMfOOS6E+nKjSlt0bJuW4XQyBoV7IvmVHlw9ZolV4sPqdIJR1iBt70QEPK tItw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Izi5rtgy1gy7iKuRR2cyO+zgmNxqGI8JekC2jp3If4w=; b=i3duToIoMFfLRz0SFLM4eGJNrXyoCFWnOFSdA2O5+OI2jJG+dU3dliAtXk/1VwEug4 4yOrzAOVUrq4OPLX6NEXR3DfcAs/WQv+OiLqzLoTY2/A32lhykEFJzVzh6qARIxsjUHx R3PultfhohGH9OoKkdxGOT9/zk3fAY/Dium+KPJJ4JrFogfa4M6B7YXA0hT5+BVRwz1O FsQknKB/hG7Lz2bULUvGMfg8Hr9/2KmBaqVqYage/Of5PMycQQUqOMg9s/nCwuA5m/tg afhrm4TXtkb9clDqoRQZY5zk0VXLngPxiVlgI9BusJFzzFnG9V9xzU8JDejylhwtj/Bk lExA== X-Gm-Message-State: AFqh2krEXgLZWedZBKx3VhysXYMg51t1I9IUvKqdfHn0UGw1W4T6qKCk wQcqEPYYWUM/V5D0CqAHhbydtg== X-Received: by 2002:a05:600c:34cd:b0:3d3:5a42:bd5d with SMTP id d13-20020a05600c34cd00b003d35a42bd5dmr4115697wmq.32.1671536591281; Tue, 20 Dec 2022 03:43:11 -0800 (PST) Received: from airbuntu (host86-130-134-87.range86-130.btcentralplus.com. [86.130.134.87]) by smtp.gmail.com with ESMTPSA id c6-20020a05600c0a4600b003d1e3b1624dsm25251285wmq.2.2022.12.20.03.43.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Dec 2022 03:43:10 -0800 (PST) Date: Tue, 20 Dec 2022 11:43:09 +0000 From: Qais Yousef To: Vincent Guittot Cc: Juri Lelli , peterz@infradead.org, mingo@redhat.com, rostedt@goodmis.org, tj@kernel.org, linux-kernel@vger.kernel.org, luca.abeni@santannapisa.it, claudio@evidence.eu.com, tommaso.cucinotta@santannapisa.it, bristot@redhat.com, mathieu.poirier@linaro.org, lizefan@huawei.com, longman@redhat.com, dietmar.eggemann@arm.com, cgroups@vger.kernel.org, Wei Wang , Rick Yiu , Quentin Perret Subject: Re: [PATCH v9 3/8] cpuset: Rebuild root domain deadline accounting information Message-ID: <20221220114309.coi2o4ewosgouy6o@airbuntu> References: <20190719140000.31694-1-juri.lelli@redhat.com> <20190719140000.31694-4-juri.lelli@redhat.com> <20221216233501.gh6m75e7s66dmjgo@airbuntu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/19/22 09:07, Vincent Guittot wrote: > On Sat, 17 Dec 2022 at 00:35, Qais Yousef wrote: > > > > Hi > > > > On 07/19/19 15:59, Juri Lelli wrote: > > > When the topology of root domains is modified by CPUset or CPUhotplug > > > operations information about the current deadline bandwidth held in the > > > root domain is lost. > > > > > > This patch addresses the issue by recalculating the lost deadline > > > bandwidth information by circling through the deadline tasks held in > > > CPUsets and adding their current load to the root domain they are > > > associated with. > > > > > > Signed-off-by: Mathieu Poirier > > > Signed-off-by: Juri Lelli > > > --- > > > > We see that rebuild_root_domain() can take 10+ ms (I get a max of 20ms quite > > consistently) on suspend/resume. > > > > Do we actually need to rebuild_root_domain() if we're going through > > a suspend/resume cycle? > > During suspend to ram, there are cpus hotplug operation but If you use > suspend to idle, you will skip cpus hotplug operation and its > associated rebuild. Thanks Vincent. I'll check on that - but if we want to keep suspend to ram? Do we really to incur this hit? Thanks -- Qais Yousef