From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Sandeen Subject: Re: ext4_fallocate Date: Mon, 02 Jul 2012 11:33:33 -0500 Message-ID: <4FF1CD5D.8010904@redhat.com> References: <4FE8086F.4070506@zoho.com> <20120625085159.GA18931@gmail.com> <20120625191744.GB9688@thunk.org> <4FE9B57F.4030704@redhat.com> <4FE9F9F4.7010804@zoho.com> <4FEA0DD1.8080403@gmail.com> <4FEA1415.8040809@redhat.com> <4FEA1F18.6010206@redhat.com> <20120627193034.GA3198@thunk.org> <4FEB9115.6090309@redhat.com> <20120702031611.GB2406@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit To: "Theodore Ts'o" , Fredrick , Ric Wheeler , linux-ext4@vger.kernel.org, Andreas Dilger , wenqing.lz@taobao.com Return-path: Received: from mx1.redhat.com ([209.132.183.28]:20143 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752478Ab2GBQdo (ORCPT ); Mon, 2 Jul 2012 12:33:44 -0400 In-Reply-To: <20120702031611.GB2406@gmail.com> Sender: linux-ext4-owner@vger.kernel.org List-ID: On 07/01/2012 10:16 PM, Zheng Liu wrote: > On Wed, Jun 27, 2012 at 07:02:45PM -0400, Eric Sandeen wrote: >> On 6/27/12 3:30 PM, Theodore Ts'o wrote: >>> A better workload would be to use a blocksize of 4k. By using a >>> blocksize of 1024k, it's not surprising that the metadata overhead is >>> in the noise. >>> >>> Try something like this; this will cause the extent tree overhead to >>> be roughly equal to the data block I/O. >>> >>> [global] >>> rw=randwrite >>> size=128m >>> filesize=1g >>> bs=4k >>> ioengine=sync >>> fallocate=1 >>> fsync=1 >>> >>> [thread1] >>> filename=testfile > > Hi Eric, > > Could you please run this test with 'journal_async_commit' flag. In my > previous test, this feature can dramatically improve the performance of > uninitialized extent conversion. > > I have sent an email to do a similar test [1]. In that email, I do a > similar test and the journal_async_commit flag quite can improve the > performance. I can try to find time for that, but so far I haven't actually seen any severe impact of conversion on a non-debug kernel. And didn't Jan think that journal_async_commit was fatally flawed? At this point I think it is up to the proponents of the expose-stale-data patch to document & demonstrate the workload which justifies such a change... -Eric > 1. http://comments.gmane.org/gmane.linux.file-systems/63569 > > Regards, > Zheng