Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7024590rdb; Wed, 3 Jan 2024 01:50:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IH5ELanBpR6DMjvtC+hOIyFq6tiogmQ4+5f21UlGOBieFOP2aXndXbaLdJv4N99NwXPin4e X-Received: by 2002:a17:902:f689:b0:1d4:3f42:458f with SMTP id l9-20020a170902f68900b001d43f42458fmr19800289plg.39.1704275404484; Wed, 03 Jan 2024 01:50:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704275404; cv=none; d=google.com; s=arc-20160816; b=W6sRFw6uUu71z39OcE6lzhNU4P1fbhvIEq1S9SuRfdntdfpsD5gKp4rM84iHqBD0us RZQAXSdiDtB5fRrq55iZHdYTi33/XufvRIdK/M/YU4WGKt+PGQfPuar+OX+4/oPbSM6r etvO+WGw9ik7EpBJvGSJu2rKen8eLwFtPjxENeh0+JSR9X1YPgObVCJmK0DROLrGSTE8 DE1UYN9NZlHfhQ9HYboQlnUrRQNB4uH5jGWlmyqt6imLMK7TxaRl9QaKHcTHzayTb9rj r5UZKNU0LU3VAtonCBrQMplHQ1pCmFayGCKgY/aUUDr5nsuUXlI2gSEIpXHVkQFlrHJt lOGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature:dkim-signature :dkim-signature; bh=HnPIKVKxjrIDV5LFkirY1wff/M3w9KFC9+Wa8KZeRQ8=; fh=TIvPTc5BvBORTOHo776gwMgr3cWkF1/xqm1njrhy974=; b=cvJz+8dNOWjqGVyRHpXaC876yH+Xrmo7Z4cMALIhWxmYIPG4S+fnHC6k8bj4UoGBIg 38z9W88uMCMhoDsHfUJJ8SmznzxnJXG5j01h1a8xE3GFqY5eNoCB0wyTcET42FcTB4BA +iM/NQVnfaJzmPQ6quJ/NKiIrNAYcwyJMgmOj3K4Wnq0JRmLEokQ4PaCzRSaEEEs+46q PPLYuIa/Jj9gm0NLH41hsZQbsu49A9kGNmI+zNNBOsfuGUc4a0iJmvE9jFHmioUgoUc5 x0KD4220+db8+sTyDWP7nmn9dcf1cxqt45n1rksRYheLcxkBzsagSAhUeiEX7ZTYHCAW X96w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=x8P8zG8C; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=x8P8zG8C; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel+bounces-15349-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15349-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id c12-20020a170903234c00b001d4bb568f0asi4181296plh.227.2024.01.03.01.50.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 01:50:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15349-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=x8P8zG8C; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=x8P8zG8C; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel+bounces-15349-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15349-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9E440283CE1 for ; Wed, 3 Jan 2024 09:49:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BE1AC1865C; Wed, 3 Jan 2024 09:49:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="x8P8zG8C"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="/fKllMD4"; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="x8P8zG8C"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="/fKllMD4" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1F95F18C0A; Wed, 3 Jan 2024 09:49:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.cz Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id F2FCC1F79E; Wed, 3 Jan 2024 09:49:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1704275348; 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=HnPIKVKxjrIDV5LFkirY1wff/M3w9KFC9+Wa8KZeRQ8=; b=x8P8zG8C0mDJVtFSUt4Xn+/VfYundICbGSrOcYeKuK1/8iwVsbJZ2z27Nosg9Ikx4STUE3 x/ax8DwdtQrtDcvnV5GymvDTFSGqRXWlEJY59qTJwGFxvPkhqudV5nm5WWDi3PbFlZIWkm yXQe86KBYjEO4oh9kdbftb9tuox/YhY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1704275348; 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=HnPIKVKxjrIDV5LFkirY1wff/M3w9KFC9+Wa8KZeRQ8=; b=/fKllMD4/s8PFyjOM4JLxuqYrROFv+YH9haTkG93Ue9CMuH9ua9dglRKJvk6+9S/CbFUvt 5jM2Ng5LWxrcHHCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1704275348; 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=HnPIKVKxjrIDV5LFkirY1wff/M3w9KFC9+Wa8KZeRQ8=; b=x8P8zG8C0mDJVtFSUt4Xn+/VfYundICbGSrOcYeKuK1/8iwVsbJZ2z27Nosg9Ikx4STUE3 x/ax8DwdtQrtDcvnV5GymvDTFSGqRXWlEJY59qTJwGFxvPkhqudV5nm5WWDi3PbFlZIWkm yXQe86KBYjEO4oh9kdbftb9tuox/YhY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1704275348; 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=HnPIKVKxjrIDV5LFkirY1wff/M3w9KFC9+Wa8KZeRQ8=; b=/fKllMD4/s8PFyjOM4JLxuqYrROFv+YH9haTkG93Ue9CMuH9ua9dglRKJvk6+9S/CbFUvt 5jM2Ng5LWxrcHHCQ== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id DE6F213AA6; Wed, 3 Jan 2024 09:49:07 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id qjLpNZMtlWU+dAAAD6G6ig (envelope-from ); Wed, 03 Jan 2024 09:49:07 +0000 Received: by quack3.suse.cz (Postfix, from userid 1000) id 7DE3CA07EF; Wed, 3 Jan 2024 10:49:07 +0100 (CET) Date: Wed, 3 Jan 2024 10:49:07 +0100 From: Jan Kara To: Zhang Yi Cc: kernel test robot , oe-lkp@lists.linux.dev, lkp@intel.com, linux-kernel@vger.kernel.org, Theodore Ts'o , Jan Kara , linux-ext4@vger.kernel.org, ying.huang@intel.com, feng.tang@intel.com, fengwei.yin@intel.com, yukuai3@huawei.com Subject: Re: [linus:master] [jbd2] 6a3afb6ac6: fileio.latency_95th_ms 92.5% regression Message-ID: <20240103094907.iupboelwjxi243h3@quack3> References: <202401021525.a27b9444-oliver.sang@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Level: X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Spam-Level: X-Spam-Flag: NO X-Spamd-Result: default: False [-2.81 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; DKIM_TRACE(0.00)[suse.cz:+]; MX_GOOD(-0.01)[]; RCPT_COUNT_TWELVE(0.00)[12]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.com:email]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-3.00)[100.00%] Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=x8P8zG8C; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b="/fKllMD4" X-Spam-Score: -2.81 X-Rspamd-Queue-Id: F2FCC1F79E Hello! On Wed 03-01-24 11:31:39, Zhang Yi wrote: > On 2024/1/2 15:31, kernel test robot wrote: > > > > > > Hello, > > > > kernel test robot noticed a 92.5% regression of fileio.latency_95th_ms on: > > This seems a little weird, the tests doesn't use blk-cgroup, and the patch > increase IO priority in WBT, so there shouldn't be any negative influence in > theory. I don't have a great explanation either but there could be some impact e.g. due to a different request merging of IO done by JBD2 vs the flush worker or something like that. Note that the throughput reduction is only 5.7% so it is not huge. > I've tested sysbench on my machine with Intel Xeon Gold 6240 CPU, > 400GB memory with HDD disk, and couldn't reproduce this regression. > > == > Without 6a3afb6ac6 ("jbd2: increase the journal IO's priority") > == > > $ sysbench fileio --events=0 --threads=128 --time=600 --file-test-mode=seqwr --file-total-size=68719476736 --file-io-mode=sync --file-num=1024 run > > sysbench 1.1.0-df89d34 (using bundled LuaJIT 2.1.0-beta3) > > Running the test with following options: > Number of threads: 128 > Initializing random number generator from current time > > > Extra file open flags: (none) > 1024 files, 64MiB each > 64GiB total file size > Block size 16KiB > Periodic FSYNC enabled, calling fsync() each 100 requests. > Calling fsync() at the end of test, Enabled. > Using synchronous I/O mode > Doing sequential write (creation) test > Initializing worker threads... > > Threads started! > > > Throughput: > read: IOPS=0.00 0.00 MiB/s (0.00 MB/s) > write: IOPS=31961.19 499.39 MiB/s (523.65 MB/s) > fsync: IOPS=327500.24 Well, your setup seems to be very different from what LKP was using. You are achieving ~500 MB/s (likely because all the files fit into the cache and more or less even within the dirty limit of the page cache) while LKP run achieves only ~54 MB/s (i.e., we are pretty much bound by the rather slow disk). I'd try running with something like 32GB of RAM to really see the disk speed impact... Honza -- Jan Kara SUSE Labs, CR