From: David Howells Subject: Re: [PATCH 00/37] Permit filesystem local caching Date: Fri, 22 Feb 2008 16:47:27 +0000 Message-ID: <25210.1203698847@redhat.com> References: <200802220852.26584.chris.mason@oracle.com> <28196.1203605703@redhat.com> <20080220160557.4715.66608.stgit@warthog.procyon.org.uk> <17916.1203636833@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Trond.Myklebust@netapp.com, nfsv4@linux-nfs.org, linux-kernel@vger.kernel.org, dhowells@redhat.com, linux-fsdevel@vger.kernel.org, linux-security-module@vger.kernel.org, selinux@tycho.nsa.gov, casey@schaufler-ca.com, Daniel Phillips To: Chris Mason Return-path: In-Reply-To: <200802220852.26584.chris.mason@oracle.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfsv4-bounces@linux-nfs.org Errors-To: nfsv4-bounces@linux-nfs.org List-Id: linux-fsdevel.vger.kernel.org Chris Mason wrote: > Thanks for trying this, of course I'll ask you to try again with the latest > v0.13 code, it has a number of optimizations especially for CPU usage. Here you go. The numbers are very similar. David ================================= FEW BIG FILES TEST ON BTRFS v0.13 ================================= Completely cold caches: [root@andromeda ~]# time cat /warthog/bigfile >/dev/null real 0m2.202s user 0m0.000s sys 0m1.716s [root@andromeda ~]# time cat /warthog/biggerfile >/dev/null real 0m4.212s user 0m0.000s sys 0m0.896s Warm BTRFS pagecache, cold NFS pagecache: [root@andromeda ~]# time cat /warthog/bigfile >/dev/null real 0m0.197s user 0m0.000s sys 0m0.192s [root@andromeda ~]# time cat /warthog/biggerfile >/dev/null real 0m0.376s user 0m0.000s sys 0m0.372s Warm on-disk cache, cold pagecaches: [root@andromeda ~]# time cat /warthog/bigfile >/dev/null real 0m1.543s user 0m0.004s sys 0m1.448s [root@andromeda ~]# time cat /warthog/biggerfile >/dev/null real 0m3.111s user 0m0.000s sys 0m2.856s ================================================== MANY SMALL/MEDIUM FILE READING TEST ON BTRFS v0.13 ================================================== Completely cold caches: [root@andromeda ~]# time tar cf - /warthog/aaa >/dev/zero real 0m31.575s user 0m0.176s sys 0m6.316s Warm BTRFS pagecache, cold NFS pagecache: [root@andromeda ~]# time tar cf - /warthog/aaa >/dev/zero real 0m16.081s user 0m0.164s sys 0m5.528s Warm on-disk cache, cold pagecaches: [root@andromeda ~]# time tar cf - /warthog/aaa >/dev/zero real 2m15.245s user 0m0.064s sys 0m2.808s