Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp240356pxb; Mon, 13 Sep 2021 18:04:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtnLPy0/Objny/q0ikdOboRciRtoi4VpCgWls7pLkEJZDL8JUBL9LCHRpRlfOwU/OlxQ36 X-Received: by 2002:a17:906:1601:: with SMTP id m1mr16034034ejd.485.1631581499207; Mon, 13 Sep 2021 18:04:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631581499; cv=none; d=google.com; s=arc-20160816; b=XzE7Cy+/3zj6HyC/XkRBsHuK5t5w+fjNM6xdxSzxvAblXeEucPYzg9Tx5uEINBESxy 1+0Av7WeLIf38nChbrs21+ZGt0m/vmhHX9MtHf85Z9/CrSt922XV32uGMGC9yEU58J/H E43gSoDD2K8kar/Jm5iN9Q13dzpXLZ3lP8TC41GzX/pCj87fANykF7AENRo+c387u8q4 wUUweRHegAT+v8lDJze8upq3/F85AnKc7UH/bsLFEU0POSeCt25Cu8mFmovRNMg52sLK w5lCGZGXwS5n9xp/COatrzXkeqrjSPpvZgYbs+6y5zZEH6cimlxaAHMIb7GYQxVgZD/r bFDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=TFTu7i7tglTtOKjDBcC9nmGq/Wxog3yPftPLyMBlrng=; b=r7PdliTrecw49Pvn/vujk1+JNihACiJUXVrDfkKncjIb6v3dxdzUwsM/7j4IBdvpPi jyPuf/VHCfswBlgknZfmPJUlbzE+cL/tTiFPtLGcYgOyg13tnaIY1z5vii1TUpevK0Rt fEvkEwRyV8YCx+nyws9ij5SxJyDuKAHR1YaX7wyelfw2hsjKJTcmIUTB8VK9Unp0tazP 0L1hXdhoi3buuQubZD8+XzR9dEerY4dEL7OReVhtYyFB1BHnTHPZUvcc3/mnp6FrCpKu lkYUKcc36mV8zXvghi+B1GGIhVgeQTA/reQvLH7Q845K+wAS/rYctfJUQ2NPeJbBHsbx /s0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=KWNwuwaN; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g4si8787170edb.272.2021.09.13.18.04.35; Mon, 13 Sep 2021 18:04:59 -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=@google.com header.s=20210112 header.b=KWNwuwaN; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241646AbhIMUPc (ORCPT + 99 others); Mon, 13 Sep 2021 16:15:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242914AbhIMUP0 (ORCPT ); Mon, 13 Sep 2021 16:15:26 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70292C061574 for ; Mon, 13 Sep 2021 13:14:10 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id f2so19458260ljn.1 for ; Mon, 13 Sep 2021 13:14:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TFTu7i7tglTtOKjDBcC9nmGq/Wxog3yPftPLyMBlrng=; b=KWNwuwaNQr+7SRzLqx1Ow/Hdp9oPj6ocOQ2nsmKYN9cZLRkBI/Hv4/znREvl77lHn0 m08q9e3Zbe5EyWd7pYglZjLKjTUmhZVypq8EZy6Pqeze6LfuxRelwE4v4447DcsFa1h5 DMQUdpK8zA1H3rB2ZnZay55j3BNkWQmNQ9IrloYumykcFjHTRiZyP6XxCz5X8HxGhWgv MVv6cvaaaVbD4tY/HwzWhvQ47vYTNPbutha5oh5TtNU1pBtY7z0Zo2bUUhx4ltptgUEn 8Qj4b7Gogx2ExFy4CaojIzA8WbQ0TsU+PaUy2vjVNpvnz5pVbxrxySVpi99XOyedjYEp sUWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TFTu7i7tglTtOKjDBcC9nmGq/Wxog3yPftPLyMBlrng=; b=c0wXDn95wVMERyI5QqSD98rzTNEvi8txEhW141zmA5kFDk38saf6PmIUw5S5yA1Fye hzfrYTWjiQMikC2IMTmzwBdhuks76r98hCvhJ9GZkN47yo9t8Wxkh5Jz2UxRwZOSSTlF DfR+AoJLhwpNRxhE21TtQDN4rK6LrbszzHEnFf5AwoUta/qmZLGhEumrNrkSzkg26Y1w nCVqhDbyoiDsBdSq4a0Z2db63c2OGwuNqxcWLrATEjljk8zQRfGY/lb4Hsptr+63Xxj5 ygvMBnM+IDJcT54Rvrfd9wDQJ6A/l+B0ebWjYi6l1aeENobdT2MddO/SAtd9H8ynlkzL nhQw== X-Gm-Message-State: AOAM530yRuLfm0T18RgdojdBXUzYGZ4eZGZjkPrnpqIUxbJmpA0yzkM+ ulZ9UzqbC0mTe09Ha+qCiGZeQCfEc+aCDkmE3qE2cg== X-Received: by 2002:a2e:964b:: with SMTP id z11mr11833962ljh.91.1631564048561; Mon, 13 Sep 2021 13:14:08 -0700 (PDT) MIME-Version: 1.0 References: <20210905124439.GA15026@xsang-OptiPlex-9020> <20210907033000.GA88160@shbuild999.sh.intel.com> <20210912111756.4158-1-hdanton@sina.com> <20210912132914.GA56674@shbuild999.sh.intel.com> In-Reply-To: From: Shakeel Butt Date: Mon, 13 Sep 2021 13:13:57 -0700 Message-ID: Subject: Re: [memcg] 45208c9105: aim7.jobs-per-min -14.0% regression To: Tejun Heo Cc: Feng Tang , Hillf Danton , LKML , Xing Zhengjun , Linux MM Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 13, 2021 at 1:10 PM Tejun Heo wrote: > > On Mon, Sep 13, 2021 at 01:09:11PM -0700, Shakeel Butt wrote: > > Thanks a lot for the explanation. Are there any concerns to call > > cgroup_rstat_flush_irqsafe(root_mem_cgroup->css.cgroup) in system_wq? > > This will be called every 2 seconds, so, we can assume the updated > > tree would be small most of the time. > > I can't think of a reason why this would be problematic. > Thanks again. Feng, is it possible to re-run these benchmarks with queue_work(system_wq) instead of queue_work(system_unbound_wq)?