Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp133983pxy; Fri, 30 Apr 2021 01:58:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTeXLSnOA9Sy26hPdEEPNxoDgNkXoMh9O2lUoUFacQG7E4PK7BsLF7z4Zr0QrrXaxYjqx6 X-Received: by 2002:a05:6402:1103:: with SMTP id u3mr4433522edv.205.1619773135072; Fri, 30 Apr 2021 01:58:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619773135; cv=none; d=google.com; s=arc-20160816; b=wo/v6IlB8CBRWiFNaZS0CL9PEetYBcrP3GyNvRxLTxCUURz35O895G6zVY3ALR1cYy MV+2LbVU/tuv9zABkSqTNUL4x1Uc8+Qmb5wbpbSUbEk4fHIdVmvVL+IzTHiRU6OZr0WG qbKTgMbhHf7bfr39UYmEdHYOIYTRpVLAkFvTHLGPXx1QJoqUyups34whlRjewjKdXyM4 FEDts6eoz8TUSNLVGqEMo/iETZbYY+mf7gkCer+FxFNOVxobvrJw50VGTclTnH2E+sWb 8LxFlw8NOV5IzEg/KNCctC6b4m5Ai+afZSsoG8JifsrOSw1AAwEiYidJnBRjW8Q/GfEX GPgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=7TvOyBzXvgra4jDnrI42WzEmRAmKfAJx8nWVdE6lSe4=; b=ZsMU6bbUCb9yfS3IrYRetNONMnaJlP7SK3U0OVp4NrrNLBfzXHNRSI1Om8++/hnptR IDBLsgsNWRxfsnSTTXfxYzWQF4zwx6Fip/5pZAgn1VTmpEpoZcq7SY18Qa1ileDx1RUI +tr8hrI6qOci/G0/ZoHhyyH47fVxGgygUPON5RIapCIxEGFPFy145cT/GtUFXoZcsbK1 HDBjAi/Myqj4vUNo/ytAfF1iv669DPCs+tPPa5za3debqhEfD+A6pncb8kTexcsw/CCJ cebZxeU7xH5QMzmAz96vrRr0s02usPfP3AWwZSn4DXXAfikWyOlvZokVpq76ckSI/vQZ p+BQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=q+waqDS2; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v6si1110869edq.559.2021.04.30.01.58.31; Fri, 30 Apr 2021 01:58:55 -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=@linutronix.de header.s=2020 header.b=q+waqDS2; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229598AbhD3I6L (ORCPT + 99 others); Fri, 30 Apr 2021 04:58:11 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:59668 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229524AbhD3I6K (ORCPT ); Fri, 30 Apr 2021 04:58:10 -0400 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1619773041; h=from:from:reply-to:subject:subject: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=7TvOyBzXvgra4jDnrI42WzEmRAmKfAJx8nWVdE6lSe4=; b=q+waqDS2CYqSTglpaX38I4CX7hFJQxj9fE46I6TcpgbFvbwIPOf3zcXAZwMT1EieU2zxo2 IZGcS7Db5QPjX4oaf8idaK3HjmZ3Jq11EWrOZvGJr26mw059wUL2QqZlfvshgcrsI392i0 rP58sHQIwyLygIuAmyG59QlQcOYE5U/t9GgYBMbXPvTPb4Nhi+9J3q2WpiCckrDXJhTN8r zNFw8l6vglYMkElecMwbGyFlAs2kLzkzkau0PdUvOoBjSLIXLiftS1ttW8L+sC4MeeBxoQ vuTD81V28X3a6rIlM83ChAzD+sxGGfVfXu1VmgBEnRo1bhq9ILDs/y1/MiqHCw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1619773041; h=from:from:reply-to:subject:subject: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=7TvOyBzXvgra4jDnrI42WzEmRAmKfAJx8nWVdE6lSe4=; b=rgvoH4K40TJ8wA0jIbKHl0zQ6XyJIrCtwMfGroc/BtwyatB078YkRXT5S/Pki7fE3cbcsc Y/O/EWoh0PmMVzAw== To: Feng Tang , kernel test robot Cc: Peter Zijlstra , Oleg Nesterov , LKML , x86@kernel.org, lkp@lists.01.org, lkp@intel.com, ying.huang@intel.com, zhengjun.xing@intel.com Subject: Re: [signal] 4bad58ebc8: will-it-scale.per_thread_ops -3.3% regression In-Reply-To: <20210430081359.GB79529@shbuild999.sh.intel.com> References: <20210420030837.GB31773@xsang-OptiPlex-9020> <20210430081359.GB79529@shbuild999.sh.intel.com> Date: Fri, 30 Apr 2021 10:57:20 +0200 Message-ID: <874kfof8un.ffs@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Feng, On Fri, Apr 30 2021 at 16:13, Feng Tang wrote: > On Tue, Apr 20, 2021 at 11:08:37AM +0800, kernel test robot wrote: >> commit: >> 69995ebbb9 ("signal: Hand SIGQUEUE_PREALLOC flag to __sigqueue_alloc()") >> 4bad58ebc8 ("signal: Allow tasks to cache one sigqueue struct") >> >> 69995ebbb9d37173 4bad58ebc8bc4f20d89cff95417 >> ---------------- --------------------------- >> %stddev %change %stddev >> \ | \ >> 1.273e+09 -3.3% 1.231e+09 will-it-scale.192.threads >> 6630224 -3.3% 6409738 will-it-scale.per_thread_ops >> 1.273e+09 -3.3% 1.231e+09 will-it-scale.workload > > We've double checked this, and it seems to be another case of > the code alignment change caused regression change, just like > the other case we debugged " [genirq] cbe16f35be: > will-it-scale.per_thread_ops -5.2% regression" > > https://lore.kernel.org/lkml/20210428050758.GB52098@shbuild999.sh.intel.com/ > > With the same debug patch of forcing function address 64 bytes > aligned, then commit 4bad58ebc8 will bring no change on this case. > > commit 09c60546f04f "./Makefile: add debug option to enable function > aligned on 32 bytes" only forced 32 bytes align, with thinking 64B > align will occupy more code space, and affect iTLB more. Maybe we > should just extend it to 64B align, as it is for debug only anyway. thanks for the heads up! But why is this restricted to debug mode? The fact that adding a few bytes of text causes regressions in unrelated code is not restricted to debug or am I missing something here? Thanks, tglx