Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp4328872pxb; Tue, 31 Aug 2021 02:25:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyuQep6ho6cxWNCxATedsmY6Y+sRAAb+n9xjNY7Z1B1Fa4xOUU8Mt/hQGQXCzQYf8Lj8wsq X-Received: by 2002:a05:6e02:78d:: with SMTP id q13mr19839776ils.262.1630401936830; Tue, 31 Aug 2021 02:25:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630401936; cv=none; d=google.com; s=arc-20160816; b=MyC03qeZe/veJHTcLUivxcGfRV1PIbJVORmrrR7ekf9OBvFud84gZJv9dTz2McRFBb D4FdtuETxIHR67lx+C7YJgQgkrO5xJP4/r1NhOsE5UbSCXm39sg0xqGd0i2/v/S0DaDC tPPVlnNzfea2nJIbklElRKzPe4+9V6Mo3+4J3FmLcxlrPp0Ipvge5cSeIrydqWde0W7i stbpEKlvbVLymTO/CpQVM7Ku5FVW5hF0LIq/75/+ao2RUtDN2dPH2xV8Cl9kHfnlSugb Uu0ftpVqGrBFU8gFrgTlwEV8mUFI2w37JKJQ4AOM2qIMZKfX+qLRC2NI7kdEFv2JFBhM mxKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=KEjheK3h00K+lY9OU2qNX5OkzKIkBPjT18RnPLeOtvw=; b=aJnpSFRG1Qn/OGPRy79u92AI4JH8vzDdKsAY4A6smmdRVyHwXhigh3CYqqc/w3hLQa ku7Kj5F0liCgis5Qbmm6c14N1IrH1tGVqI85WBjpwCT55kUeUVZQxMdiC1y0VoewefCX KvPV0DJV55exAW5iy14a69Vu/7KKxLAMX6Rg1yF5ug0/59KKoz95+r2dwzJrFQksLPF2 cMsBvbLo0AkSdOl9gV+kZhNX02kl5qCWBVIZUkNV0yfhsVY9qudIFLLUC35SVjP7d64Z UAxbkxI1n/Ta4pMINvt8o+iHAXyw6mB4hDnpVihdBWVE0YxQpjo7Db6Ner8ok4wAEkWJ 0Tiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=XsYZ+3dj; 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=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p14si19039857ilo.31.2021.08.31.02.25.24; Tue, 31 Aug 2021 02:25:36 -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=@suse.com header.s=susede1 header.b=XsYZ+3dj; 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=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240547AbhHaJX7 (ORCPT + 99 others); Tue, 31 Aug 2021 05:23:59 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:48986 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239716AbhHaJX7 (ORCPT ); Tue, 31 Aug 2021 05:23:59 -0400 Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 35D952218C; Tue, 31 Aug 2021 09:23:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1630401783; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=KEjheK3h00K+lY9OU2qNX5OkzKIkBPjT18RnPLeOtvw=; b=XsYZ+3djmOGV2B64OFpTbqfeJfg3PWodIWAcKOYMjjrWtHXl07rKXOWzcZISSP9ILtEmZr JN3ha3QJ/oMAxygs6zbKFpnDFf6sIjPe9zKOJSMdvN5cUQrPQ9Ar9l/SZXDFUgea5VGUK0 XbTzBy+PNAOBsEysYVJ+LzeFEYB8w74= Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap1.suse-dmz.suse.de (Postfix) with ESMTPS id 0983C139A3; Tue, 31 Aug 2021 09:23:03 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id T8ubAff0LWH9awAAGKfGzw (envelope-from ); Tue, 31 Aug 2021 09:23:03 +0000 Date: Tue, 31 Aug 2021 11:23:04 +0200 From: Michal =?iso-8859-1?Q?Koutn=FD?= To: Feng Tang Cc: Johannes Weiner , Linus Torvalds , andi.kleen@intel.com, kernel test robot , Roman Gushchin , Michal Hocko , Shakeel Butt , Balbir Singh , Tejun Heo , Andrew Morton , LKML , lkp@lists.01.org, kernel test robot , "Huang, Ying" , Zhengjun Xing Subject: Re: [mm] 2d146aa3aa: vm-scalability.throughput -36.4% regression Message-ID: <20210831092304.GA17119@blackbody.suse.cz> References: <20210811031734.GA5193@xsang-OptiPlex-9020> <20210812031910.GA63920@shbuild999.sh.intel.com> <20210816032855.GB72770@shbuild999.sh.intel.com> <20210817024500.GC72770@shbuild999.sh.intel.com> <20210817164737.GA23342@blackbody.suse.cz> <20210818023004.GA17956@shbuild999.sh.intel.com> <20210831063036.GA46357@shbuild999.sh.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210831063036.GA46357@shbuild999.sh.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 31, 2021 at 02:30:36PM +0800, Feng Tang wrote: > Yes, I tried many re-arrangement of the members of cgroup_subsys_state, > and even close members of memcg, but there were no obvious changes. > What can recover the regresion is adding 128 bytes padding in the css, > no matter at the start, end or in the middle. Do you mean the padding added outside the .cgroup--.refcnt members area also restores the benchmark results? (Or you refer to paddings that move .cgroup and .refcnt across a cacheline border ?) I'm asking to be sure we have correct understanding of what members are contended (what's the frequent writer). Thanks, Michal