From mboxrd@z Thu Jan 1 00:00:00 1970 From: Badari Pulavarty Subject: Re: [Ext2-devel] Re: [RFC] ext3 writepages for writeback mode Date: Sat, 12 Feb 2005 10:47:37 -0800 Message-ID: <420E4F49.1040509@us.ibm.com> References: <1108085493.20053.1191.camel@dyn318077bld.beaverton.ibm.com> <20050210175327.7b4a508b.akpm@osdl.org> <1108164542.20053.1232.camel@dyn318077bld.beaverton.ibm.com> <20050211155858.354520bb.akpm@osdl.org> <1108169488.20053.1241.camel@dyn318077bld.beaverton.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Andrew Morton , ext2-devel , linux-fsdevel@vger.kernel.org, sct@redhat.com Received: from e32.co.us.ibm.com ([32.97.110.130]:61686 "EHLO e32.co.us.ibm.com") by vger.kernel.org with ESMTP id S261183AbVBLSrl (ORCPT ); Sat, 12 Feb 2005 13:47:41 -0500 Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11]) by e32.co.us.ibm.com (8.12.10/8.12.9) with ESMTP id j1CIle5j694352 for ; Sat, 12 Feb 2005 13:47:40 -0500 Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by westrelay02.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j1CIlddJ308812 for ; Sat, 12 Feb 2005 11:47:40 -0700 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j1CIld3u026618 for ; Sat, 12 Feb 2005 11:47:39 -0700 To: Alex Tomas In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Alex Tomas wrote: >>>>>>Badari Pulavarty (BP) writes: > > > BP> Test: writes 10,000 blocks of 64k and does fdatasync(). > > The patch doesn't apply ;) after a minor correction > I've tested the patch too: > > SMP, before: > [root@bob root]# time /work/tests/fwrite /test/fff 64 10000 > real 0m17.748s user 0m0.032s sys 0m6.031s > > [root@bob root]# time /work/tests/fwrite /test/fff 64 10000 > real 0m16.016s user 0m0.015s sys 0m3.819s > > [root@bob root]# time /work/tests/fwrite /test/fff 64 10000 > real 0m19.074s user 0m0.014s sys 0m3.761s > > [root@bob root]# time /work/tests/fwrite /test/fff 64 10000 > real 0m22.011s user 0m0.010s sys 0m3.773s > > > SMP, after: > [root@bob root]# time /work/tests/fwrite /test/fff 64 10000 > real 0m20.676s user 0m0.023s sys 0m5.643s > > [root@bob root]# time /work/tests/fwrite /test/fff 64 10000 > real 0m13.188s user 0m0.016s sys 0m3.511s > > [root@bob root]# time /work/tests/fwrite /test/fff 64 10000 > real 0m23.725s user 0m0.017s sys 0m3.399s > > [root@bob root]# time /work/tests/fwrite /test/fff 64 10000 > real 0m23.684s user 0m0.013s sys 0m3.421s > > > > UP, after: > [root@zefir root]# time /work/tests/fwrite /test/fff 64 10000 > real 0m21.452s user 0m0.026s sys 0m6.105s > > [root@zefir root]# time /work/tests/fwrite /test/fff 64 10000 > real 0m23.317s user 0m0.027s sys 0m4.206s > > [root@zefir root]# time /work/tests/fwrite /test/fff 64 10000 > real 0m25.190s user 0m0.022s sys 0m4.026s > > [root@zefir root]# time /work/tests/fwrite /test/fff 64 10000 > real 0m25.024s user 0m0.021s sys 0m4.103s > > > UP, before: > [root@zefir root]# time /work/tests/fwrite /test/fff 64 10000 > real 0m19.138s user 0m0.021s sys 0m5.980s > > [root@zefir root]# time /work/tests/fwrite /test/fff 64 10000 > real 0m23.123s user 0m0.026s sys 0m4.083s > > [root@zefir root]# time /work/tests/fwrite /test/fff 64 10000 > real 0m25.152s user 0m0.017s sys 0m3.836s > > [root@zefir root]# time /work/tests/fwrite /test/fff 64 10000 > real 0m25.217s user 0m0.026s sys 0m3.827s > > > > > AFAICS, the patch makes sense, but in my setup it doesn't > reduce sys.time so dramatically. all my boxes are P3-based. > > thanks, Alex > > Thank you for testing and confirming the results. Is this on a simple single disk configuration ? Thanks, Badari