Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp23489pxy; Tue, 20 Apr 2021 11:37:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy61rDFuTjHoCNys5hcG6eb9+u9SnYWH8T8jKexFPgTWtnH46rBSC7VzS532KxDJerY231A X-Received: by 2002:a62:7944:0:b029:253:f31f:fad5 with SMTP id u65-20020a6279440000b0290253f31ffad5mr26359061pfc.43.1618943837624; Tue, 20 Apr 2021 11:37:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618943837; cv=none; d=google.com; s=arc-20160816; b=XIpBbGPf4sfkMh38BVOYioXn3M3Xm2nfFfBs8kOiY0cxqBeea4OebLcHXOe0k1goQy efED/D8ZhxLBBRPXoIC+WJpZQTs9zWYrsQ4Z19a2CEZ+4u/azuvG4MN0i68LeW40GETI TjK3LWxD4fCurq0xZ4XUfSDfo3M/CPTRomyPSEB6l5mek8h5H4Hyn56wkXlqLtg8J/Wk ZqdkMOidykubGT1mlsOx/W9sxufTf/EJwugjWrrZoN5TPaDlEH2F2z+2kUD6pkPC/QJm WQc1fAOH+nl/OmYChSHR4WQ/Iu+A7dKVdMiEj6TKm+OdTFulc8qMG2UxkITV5mwTHxFJ Me0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=GoSz3Zg75vfMnXTQmprPnAW/4nC65sCLw6CwlSbZDKI=; b=FTcMpqaSPc/kRVnX7CgfpWFg5rI3hYU7U0xCQXv+hH5ZWGMNlshSuVGuG/6levOSKv +CayB7QD8Z/3dEpdFcLcU4gQlXZ7HTbqjPP/2uit9Lqf8cxuVIHOn/m9VDN0zJqMw5Jq M7jaw2BqkR4ZF/b9gl5Vuvw5JQEYOTgfiWhCrzozc3wLvrhw20YWOO2ZJLdvMkIAqafS EBhmnShgXNHeF6urhLqez6yFffkznEBpcKBxgZ8w6YXf4JKMKl8/kMjpAWJznzLuMtZ4 Zg9NQ81wfk9VTZAy7KpCPoc8xt9d3D8vVeML6exvGWewoCNKlhmbYJ0xqzuD2p3q7HL/ +eJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=VDX530Fe; 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 f189si21833554pgc.517.2021.04.20.11.37.04; Tue, 20 Apr 2021 11:37:17 -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=VDX530Fe; 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 S233498AbhDTSfn (ORCPT + 99 others); Tue, 20 Apr 2021 14:35:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233686AbhDTSfm (ORCPT ); Tue, 20 Apr 2021 14:35:42 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2789C06174A for ; Tue, 20 Apr 2021 11:35:08 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1618943706; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GoSz3Zg75vfMnXTQmprPnAW/4nC65sCLw6CwlSbZDKI=; b=VDX530FeFQPTnGxO54+rfc9PHijHsxhVmYq3dq3U83tBr59P/lNFBTKz9Kfn4bhTc4eyvp 7Fzkqapp2vOzeuGmUcxtcl+pKUcr7Aw5Vkv/i1hDh4IHgQiygysE39DEgA5Kqi7S/gZftn SPfi8L/25jvRE72uS3bEzYLJqqIAX//b7/NNRB3wrza9VTtp+1gy8t4yfuib9fR0s2Nyk1 F1gG4aVPfMiL425qISa7fnDqx8CJDRfzkbGucTeV1msSG+UQVebe++uuXdRG8StxnvNGoz TlQKAiWK+pZ7jR8htpZfaLsQCwsJcbs/hFiPU1ND49xPx5HFj7HU0vI6FCvTcA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1618943706; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GoSz3Zg75vfMnXTQmprPnAW/4nC65sCLw6CwlSbZDKI=; b=h/VyqAINJDv1Es3nUx+uZzypYRaoCn4js0KGMLsGUP8xYgfJBpZ6c5YYUjnLNDzRV935fW cSjolamTi01yZ0BA== To: kernel test robot Cc: Peter Zijlstra , Oleg Nesterov , LKML , x86@kernel.org, lkp@lists.01.org, lkp@intel.com, ying.huang@intel.com, feng.tang@intel.com, zhengjun.xing@intel.com Subject: Re: [signal] 4bad58ebc8: will-it-scale.per_thread_ops -3.3% regression In-Reply-To: <20210420030837.GB31773@xsang-OptiPlex-9020> References: <20210420030837.GB31773@xsang-OptiPlex-9020> Date: Tue, 20 Apr 2021 20:35:06 +0200 Message-ID: <87bla8rehx.ffs@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 20 2021 at 11:08, kernel test robot wrote: > FYI, we noticed a -3.3% regression of will-it-scale.per_thread_ops due to= commit: > > commit: 4bad58ebc8bc4f20d89cff95417c9b4674769709 ("signal: Allow tasks to= cache one sigqueue struct") > https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git sched/core > > in testcase: will-it-scale > on test machine: 192 threads Intel(R) Xeon(R) Platinum 9242 CPU @ 2.30GHz= with 192G memory > with following parameters: > > nr_task: 100% > mode: thread > test: futex3 > cpufreq_governor: performance > ucode: 0x5003006 > > test-description: Will It Scale takes a testcase and runs it from 1 throu= gh to n parallel copies to see if the testcase will scale. It builds both a= process and threads based test in order to see any differences between the= two. > test-url: https://github.com/antonblanchard/will-it-scale > commit:=20 > 69995ebbb9 ("signal: Hand SIGQUEUE_PREALLOC flag to __sigqueue_alloc()") > 4bad58ebc8 ("signal: Allow tasks to cache one sigqueue struct") > > 69995ebbb9d37173 4bad58ebc8bc4f20d89cff95417=20 > ---------------- ---------------------------=20 > %stddev %change %stddev > \ | \=20=20 > 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 > 1638 =C2=B1 3% -7.8% 1510 =C2=B1 5% sched_debug.cfs_r= q:/.runnable_avg.max > 297.83 =C2=B1 68% +1747.6% 5502 =C2=B1152% interrupts.33:PCI= -MSI.524291-edge.eth0-TxRx-2 > 297.83 =C2=B1 68% +1747.6% 5502 =C2=B1152% interrupts.CPU12.= 33:PCI-MSI.524291-edge.eth0-TxRx-2 This change is definitely not causing more network traffic > 8200 -33.4% 5459 =C2=B1 35% interrupts.CPU27.NMI:N= on-maskable_interrupts > 8200 -33.4% 5459 =C2=B1 35% interrupts.CPU27.PMI:P= erformance_monitoring_interrupts > 8199 -33.4% 5459 =C2=B1 35% interrupts.CPU28.NMI:N= on-maskable_interrupts > 8199 -33.4% 5459 =C2=B1 35% interrupts.CPU28.PMI:P= erformance_monitoring_interrupts > 6148 =C2=B1 33% -11.2% 5459 =C2=B1 35% interrupts.CPU29.= NMI:Non-maskable_interrupts > 6148 =C2=B1 33% -11.2% 5459 =C2=B1 35% interrupts.CPU29.= PMI:Performance_monitoring_interrupts > 4287 =C2=B1 8% +33.6% 5730 =C2=B1 15% interrupts.CPU49.= CAL:Function_call_interrupts > 6356 =C2=B1 19% +49.6% 9509 =C2=B1 19% interrupts.CPU97.= CAL:Function_call_interrupts Neither does it increase the number of function calls > 407730 =C2=B1 8% +37.5% 560565 =C2=B1 7% perf-stat.i.dTLB-= load-misses > 415959 =C2=B1 8% +40.4% 583928 =C2=B1 7% perf-stat.ps.dTLB= -load-misses And this massive increase does not make sense either. Confused. Thanks, tglx