Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3633820rdg; Wed, 18 Oct 2023 00:57:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEr0ax0MRIFcZ/xTMErhTom4fU20bcQyps5QWPwnuSu38c68HcCr0vxKf157ZG1LQ9POjW1 X-Received: by 2002:a17:902:f7cd:b0:1c9:ccbc:4ca0 with SMTP id h13-20020a170902f7cd00b001c9ccbc4ca0mr3519457plw.68.1697615866330; Wed, 18 Oct 2023 00:57:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697615866; cv=none; d=google.com; s=arc-20160816; b=BvKv+D05j5u7MIWdvdSUL/ihlsNSuvA+wxItZ4RQY7+JaH7vedsPWCQLoIIvg7D7TV 3Xhowp25z16CPrJQX44LNvpWgc3aEQYbWPj8R391oENY6IVMN6OBVdLa6+zhUhOnSTTx 64k0CAHzyCLMmtwqlhIm965L1TsCwKUwd7gfDLTwR0LtDYma1m5JHapPmEfecyQePd7P go+/bfeNdYBtadlYuiNHBSKuT7l9naICzhMw59I/zV7ED3z0KwPlGDQ2hOLnN9hIsp7h dsLzCULsYcfxo+assUwMmij2HbZx0V58ODXouSODQlEBew1qUnHXoXqNcca/Aw/NnzxY ARJQ== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=YOBGN93EQX2omrnicxTQgpcYNQ4kCh6gr2SEgnp3Ilk=; fh=Lv19jOQ/N4jtWzQbFQa/ARDwMw2Gu/PD5DkoKapDWjg=; b=TNouaz0XrzauRG+fUp8SeyWZjykD81M8GRhlZyaZYvZBlsdXyPYnY+iNk7gN2pudcL bvbZgNA0RnyoIP/cM7puejX0GnI6N6GmERb1nOBA4unj86P5KEcE5qyxfW5s0vgLvrf8 lNCmQqciVeG9pTpcJ05M0StiJed3iYRCUTSVkUXINNiAdEg0TgPDF6Zg2XpYlLzBv666 3eQKYcp+XdRpBCYI+cOrFseWxDwh3+5HloqXMxM/Tg1MqRzk35wjd58h6+ul6ATyy6Yq 1ZnB5FSX0MytaC75f2MIop0emy4JOOHDZMCbipHOSorf/RTcF0IJq6qjxhiWdNR30ff4 zB4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=QFRcoudq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id c7-20020a170903234700b001b9e9edea43si3731514plh.552.2023.10.18.00.57.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 00:57:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=QFRcoudq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 0F204803E9E3; Wed, 18 Oct 2023 00:57:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344542AbjJRH5h (ORCPT + 99 others); Wed, 18 Oct 2023 03:57:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230140AbjJRH5g (ORCPT ); Wed, 18 Oct 2023 03:57:36 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45FC5F7 for ; Wed, 18 Oct 2023 00:57:34 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 488D0C433C8; Wed, 18 Oct 2023 07:57:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1697615853; bh=+Mrul8FDzJtGcrh5YRbVdL5kFqOw6AV3Rg2td373w+Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QFRcoudqconpP0opYr9xXtP6vzoY39iQamDCn3d6bnWBWtlmuFXdqce2q1gLF8dtM get5IK5YgnASGZLf4njqA7VM60zoqm/kswtdlbSn+dNfUIY1v4nPFI/zsFrXUawTku SnjQ0rbEcyOoBFfix7psouWj+xTHyBDfYa3syZ6Y= Date: Wed, 18 Oct 2023 09:57:25 +0200 From: Greg Kroah-Hartman To: Oliver Sang Cc: Max Kellermann , oe-lkp@lists.linux.dev, lkp@intel.com, Linux Memory Management List , linux-kernel@vger.kernel.org, ying.huang@intel.com, feng.tang@intel.com, fengwei.yin@intel.com Subject: Re: [linux-next:master] [drivers/char/mem] 1b057bd800: stress-ng.splice.ops_per_sec -99.8% regression Message-ID: <2023101836-backtalk-mystified-d197@gregkh> References: <202310172247.b9959bd4-oliver.sang@intel.com> <2023101759-front-ember-6354@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 18 Oct 2023 00:57:44 -0700 (PDT) On Wed, Oct 18, 2023 at 03:07:20PM +0800, Oliver Sang wrote: > hi, Greg Kroah-Hartman, > > On Tue, Oct 17, 2023 at 06:56:56PM +0200, Greg Kroah-Hartman wrote: > > On Tue, Oct 17, 2023 at 11:06:42PM +0800, kernel test robot wrote: > > > > > > > > > Hello, > > > > > > kernel test robot noticed a -99.8% regression of stress-ng.splice.ops_per_sec on: > > > > > > > > > commit: 1b057bd800c3ea0c926191d7950cd2365eddc9bb ("drivers/char/mem: implement splice() for /dev/zero, /dev/full") > > > https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master > > > > > > testcase: stress-ng > > > test machine: 64 threads 2 sockets Intel(R) Xeon(R) Gold 6346 CPU @ 3.10GHz (Ice Lake) with 256G memory > > > parameters: > > > > > > nr_threads: 100% > > > testtime: 60s > > > class: pipe > > > test: splice > > > cpufreq_governor: performance > > > > > > > > > In addition to that, the commit also has significant impact on the following tests: > > > > > > +------------------+-------------------------------------------------------------------------------------------------+ > > > | testcase: change | stress-ng: stress-ng.splice.ops_per_sec 38.9% improvement | > > > > So everything now goes faster, right? -99.8% regression means 99.8% > > faster? > > let me clarify. > > our auto bisect captured this commit as 'first bad commit' in two tests. > > Test 1: > > it found a (very big) regression comparing to parent commit. > > 19e3e6cdfdc73400 1b057bd800c3ea0c926191d7950 > ---------------- --------------------------- > %stddev %change %stddev > \ | \ > 12433266 -99.8% 22893 ? 3% stress-ng.splice.ops_per_sec > > the detail data for parent in multi-runs: > "stress-ng.splice.ops_per_sec": [ stress-ng is a performance test? > 12444442.19, > 12599010.87, > 12416009.38, > 12494132.89, > 12286766.76, > 12359235.82 > ], > > for 1b057bd800: > "stress-ng.splice.ops_per_sec": [ > 24055.57, > 23235.46, > 22142.13, > 23782.13, > 21732.13, > 22415.46 > ], > > so this is much slower. That's odd given that as was pointed out, this test does not even touch the code paths that this patch changed. confused, greg k-h