Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp916326pxj; Fri, 21 May 2021 02:04:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzI/I0bFQI3lyuq7zFTK7ogc9EvlcMHADb8isdLPaMeSA2qDfKe6PWq7EI71YAT6g+csPHa X-Received: by 2002:a17:906:bb0e:: with SMTP id jz14mr9178316ejb.285.1621587882906; Fri, 21 May 2021 02:04:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621587882; cv=none; d=google.com; s=arc-20160816; b=MsIpyWgZNlTvzePiE9MAQ98gtYJwQiCli5KEUzg4bXL4y+hOk9oPZgu3fYa53rOT7H lot2Wwi9JSvgx3ZRBLeEuNcWrQDMu1LyO9ttT3UJ/lPpFrkJk7/sZaLIaRuM2nymzxls V7aIQStN6jabRV+ZAhI0tM1sM8ybsiqde/aruHGNcgyN3kNl3kxQ1WB6/NPsNAuRPra6 njYYbBH61N3/rjByCPA9dKsg8wF2DYrH62PVHCztlmTFKFGeyq3ChY4QFxyOis4vLMlG lCwKzNJN4VVevbDQVkuRdByca+Y++brwOicTtcZI8zSMG9ASyauWBZ6JI0exYmE6yjCI ZuIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:ironport-sdr:ironport-sdr; bh=TyQgGr9ZdRplgv0p6youeWpp1TZ6yFyE+lTRJE0YCo8=; b=brpMTPfrE2SdMDcO7eCx1SbMWTOLT5Me7yn5W2809fY+tZuHC793CodZr6mIOYZlBU 1bK0sLLUoOdcmWTljkkFnYid+YtDTbgeiFIi1T0ReIHC3jKrLPLJ0VjR8fkQcCgnLrVw Nuh+j2sBlsUWWhEy6cxRmrNtxKt/9DhNWmCqRazsrSU43zFAz8o6o7YRxVkqDhVqIEZp nMosVhOI2AiBQG6IE+ARmEBWlDAPIFFSChlKkjq60kigZ7LfdWSKoQs1lF/msBAmjyDr 259ip4rcc4tndKsQUlOpx1wzHPZ12rVJpHLEs4+jOef1xtylfz7yNAQ9XX3rbNZEEI7e o0Kg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ce18si4675020ejc.712.2021.05.21.02.04.19; Fri, 21 May 2021 02:04:42 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236567AbhEUBSJ (ORCPT + 99 others); Thu, 20 May 2021 21:18:09 -0400 Received: from mga05.intel.com ([192.55.52.43]:7826 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236106AbhEUBSJ (ORCPT ); Thu, 20 May 2021 21:18:09 -0400 IronPort-SDR: uld/+0IcC8+8SmsZgMI2ge9uSk9ImWiiaVZOUrJFn3gbnltIWI3uKW4tMX/XIzNeglkSm6EHOT F3bZd+isfSPA== X-IronPort-AV: E=McAfee;i="6200,9189,9990"; a="286912549" X-IronPort-AV: E=Sophos;i="5.82,313,1613462400"; d="scan'208";a="286912549" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 May 2021 18:16:47 -0700 IronPort-SDR: kT0dl8QXMYpMO4bmZ5wKL3yaMljJoy3BE5IJ3y3CNyxIx+8vF1l+aoc4diSy/lxpKUSubHPnpR AAyFymdK6lLQ== X-IronPort-AV: E=Sophos;i="5.82,313,1613462400"; d="scan'208";a="474287141" Received: from xingzhen-mobl.ccr.corp.intel.com (HELO [10.238.5.220]) ([10.238.5.220]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 May 2021 18:16:45 -0700 Subject: Re: [LKP] [ext4] 05c2c00f37: aim7.jobs-per-min -11.8% regression To: Jan Kara Cc: kernel test robot , Theodore Ts'o , LKML , lkp@lists.01.org, lkp@intel.com References: <20210227120804.GB22871@xsang-OptiPlex-9020> <20210520095119.GA18952@quack2.suse.cz> From: Xing Zhengjun Message-ID: Date: Fri, 21 May 2021 09:16:42 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: <20210520095119.GA18952@quack2.suse.cz> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jan, On 5/20/2021 5:51 PM, Jan Kara wrote: > Hello! > > On Thu 20-05-21 15:13:20, Xing Zhengjun wrote: >> >> ???? Do you have time to look at this? The regression still existed in the >> latest Linux mainline v5.13-rc2. > > Thanks for verification and for the ping! I had a look into this and I > think the regression is caused by the changes in orphan handling. The load > runs multiple tasks all creating and deleting files. This generally > contends on the orphan locking with fast storage (which is your case > because you use ramdisk as a backing store AFAICT). And the changes I did > move superblock checksum computation under the orphan lock so the lock hold > times are now higher. > > Sadly it is not easy to move checksum update from under the orphan lock and > maintain checksum consistency since the checksum has to be recomputed > consistently with the changes of superblock state. But I have one idea how > we could maybe improve the situation. Can you check whether attached patch > recovers the regression? Because that's about how good it could get when we > are more careful when writing out superblock. > > Honza > I apply the patch based on v5.13-rc2 and test, it can not recover the regression and the regression became more serious(-45.7%). ========================================================================================= tbox_group/testcase/rootfs/kconfig/compiler/disk/md/fs/test/load/cpufreq_governor/ucode: lkp-csl-2sp9/aim7/debian-10.4-x86_64-20200603.cgz/x86_64-rhel-8.3/gcc-9/4BRD_12G/RAID1/ext4/creat-clo/1000/performance/0x5003006 commit: 4392fbc4bab57db3760f0fb61258cb7089b37665 05c2c00f3769abb9e323fcaca70d2de0b48af7ba v5.13-rc2 2a1eb1a2fc08daaaf76a5aa8ffa355b5a5013d86 (the test patch) 4392fbc4bab57db3 05c2c00f3769abb9e323fcaca70 v5.13-rc2 2a1eb1a2fc08daaaf76a5aa8ffa ---------------- --------------------------- --------------------------- --------------------------- %stddev %change %stddev %change %stddev %change %stddev \ | \ | \ | \ 13342 -11.8% 11771 ? 2% -14.2% 11450 -45.7% 7240 ? 3% aim7.jobs-per-min -- Zhengjun Xing