Re: [PATCH 00/37] Permit filesystem local caching

From: David Howells
Date: Fri Feb 22 2008 - 11:50:30 EST


Chris Mason <chris.mason@xxxxxxxxxx> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/