From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 10E03C3DA59 for ; Fri, 19 Jul 2024 20:14:20 +0000 (UTC) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id B6FD43D1B4C for ; Fri, 19 Jul 2024 22:14:18 +0200 (CEST) Received: from in-2.smtp.seeweb.it (in-2.smtp.seeweb.it [217.194.8.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 28B1A3D1A76 for ; Fri, 19 Jul 2024 22:14:04 +0200 (CEST) Authentication-Results: in-2.smtp.seeweb.it; spf=pass (sender SPF authorized) smtp.mailfrom=suse.cz (client-ip=2a07:de40:b251:101:10:150:64:2; helo=smtp-out2.suse.de; envelope-from=pvorel@suse.cz; receiver=lists.linux.it) Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2a07:de40:b251:101:10:150:64:2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by in-2.smtp.seeweb.it (Postfix) with ESMTPS id E562E6012B3 for ; Fri, 19 Jul 2024 22:14:01 +0200 (CEST) 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 0DCD41F7A5; Fri, 19 Jul 2024 20:13:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1721420040; h=from:from:reply-to: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=CkZNhvKU2DQf8NwMK82XmuMFe0JHfe2CGQhVcFakQM4=; b=mZkpV10CMyhafVWkXGJTf4KoCeEtMjkiAq0a+Dzsgyu+3Btqold9XPiGVkm1z2chANJIoo i8QdBE0zrm7Xy03Z/NYWf9ivaIeTSTMDJKl9d7k/6ZpQdh6khJl8AZJyjkCoVtuAVC+7kn go410SJqZAwBwkwA4M220p0K9byRGuw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1721420040; h=from:from:reply-to: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=CkZNhvKU2DQf8NwMK82XmuMFe0JHfe2CGQhVcFakQM4=; b=jB439O0v3Jk6qmwrc8QT+cGWq/lW91AvVM8a2MNNcCcQPLV5jzyOQBnU1ZiZJCuA7Om98K FsM1I5+XH8iYl0CQ== Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=Grk5NTCg; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=C6z9S11G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1721420039; h=from:from:reply-to: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=CkZNhvKU2DQf8NwMK82XmuMFe0JHfe2CGQhVcFakQM4=; b=Grk5NTCgnDXOqfQERiZ7hI7cpEURm8HmBI7iqf3LF3L+xElLWuTQnk1fcwHxUOQht8/SKE hQY9ptWWamXejy57kIcnLkgtB0btRwFvqffXuV1Dx19nGL8eORoGSmn/i8YrtA7W2Ea4Ov DNEERyRCJglxuysRWn3FZM2FhpVSCxk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1721420039; h=from:from:reply-to: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=CkZNhvKU2DQf8NwMK82XmuMFe0JHfe2CGQhVcFakQM4=; b=C6z9S11G4trphls1mHd3AtzeGAiR7k6RJqDn7YVH6n7pL2mczCELS+u3KRvkG0j2VbIx8z XhRzMRRS7QKw6FCg== 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 A7B1E13808; Fri, 19 Jul 2024 20:13:58 +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 QgiaJwbJmmZwSQAAD6G6ig (envelope-from ); Fri, 19 Jul 2024 20:13:58 +0000 Date: Fri, 19 Jul 2024 22:13:52 +0200 From: Petr Vorel To: Jens Axboe Message-ID: <20240719201352.GA782769@pevik> References: <20240719174325.GA775414@pevik> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [0.49 / 50.00]; MID_RHS_NOT_FQDN(0.50)[]; HAS_REPLYTO(0.30)[pvorel@suse.cz]; R_DKIM_ALLOW(-0.20)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:106:10:150:64:167:received]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_TWELVE(0.00)[13]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_BLOCKED(0.00)[suse.cz:dkim]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; FROM_HAS_DN(0.00)[]; FREEMAIL_CC(0.00)[lists.linux.it,vger.kernel.org,suse.cz,suse.com,gmail.com,suse.de]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.cz:dkim,suse.cz:replyto]; FROM_EQ_ENVFROM(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[suse.cz:+] X-Rspamd-Queue-Id: 0DCD41F7A5 X-Rspamd-Action: no action X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Spamd-Bar: / X-Virus-Scanned: clamav-milter 1.0.3 at in-2.smtp.seeweb.it X-Virus-Status: Clean Subject: Re: [LTP] [RFC] Slow down of LTP tests aiodio_sparse.c and dio_sparse.c in kernel 6.6 X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Petr Vorel Cc: linux-xfs@vger.kernel.org, Jan Kara , fstests@vger.kernel.org, linux-block@vger.kernel.org, Filipe Manana , ltp@lists.linux.it, David Sterba , linux-btrfs@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-bounces+ltp=archiver.kernel.org@lists.linux.it Sender: "ltp" Hi Jens, all, > On 7/19/24 11:43 AM, Petr Vorel wrote: > > Hi all, > > LTP AIO DIO tests aiodio_sparse.c [1] and dio_sparse.c [2] (using [3]) slowed > > down on kernel 6.6 on Btrfs and XFS, when run with default parameters. These > > tests create 100 MB sparse file and write zeros (using libaio or O_DIRECT) while > > 16 other processes reads the buffer and check only zero is there. > > Runtime of this particular setup (i.e. 100 MB file) on Btrfs and XFS on the > > same system slowed down 9x (6.5: ~1 min 6.6: ~9 min). Ext4 is not affected. > > (Non default parameter creates much smaller file, thus the change is not that > > obvious). > > Because the slowdown has been here for few kernel releases I suppose nobody > > complained and the test is somehow artificial (nobody uses this in a real world). > > But still it'd be good to double check the problem. I can bisect a particular > > commit. > > Because 2 filesystems affected, could be "Improve asynchronous iomap DIO > > performance" [4] block layer change somehow related? > No, because that got disabled before release for unrelated reasons. Why > don't you just bisect it, since you have a simple test case? Jens, thanks for info. Sure, I'll bisect next week and report. The reason I reported before bisecting is because it wouldn't be the first time the test was "artificial" and therefore reported problem was not fixed. If it's a real problem I would expect it would be also caught by other people or even by fstests. Kind regards, Petr -- Mailing list info: https://lists.linux.it/listinfo/ltp