All of lore.kernel.org
 help / color / mirror / Atom feed
* btrfs benchmark with 2.6.37-rc1
@ 2010-11-01 14:30 Morten P.D. Stevens
  2010-11-01 15:04 ` cwillu
  0 siblings, 1 reply; 4+ messages in thread
From: Morten P.D. Stevens @ 2010-11-01 14:30 UTC (permalink / raw)
  To: linux-btrfs

Here is a small btrfs vs. ext4 benchmark with kernel 2.6.37-rc1.

compilebench with options -i 10 -r 30 on 2.6.37-rc1

btrfs

==========================================================================
intial create total runs 10 avg 73.11 MB/s (user 0.34s sys 1.96s)
create total runs 5 avg 49.53 MB/s (user 0.41s sys 1.62s)
patch total runs 4 avg 22.13 MB/s (user 0.09s sys 1.79s)
compile total runs 7 avg 104.55 MB/s (user 0.08s sys 1.02s)
clean total runs 4 avg 564.00 MB/s (user 0.01s sys 0.28s)
read tree total runs 2 avg 29.62 MB/s (user 0.00s sys 2.77s)
read compiled tree total runs 1 avg 31.85 MB/s (user 0.00s sys 5.03s)
delete tree total runs 2 avg 4.06 seconds (user 0.11s sys 1.92s)
no runs for delete compiled tree
stat tree total runs 4 avg 2.79 seconds (user 0.07s sys 0.79s)
stat compiled tree total runs 1 avg 2.50 seconds (user 0.10s sys 0.80s)

ext4

==========================================================================
intial create total runs 10 avg 120.03 MB/s (user 0.34s sys 1.31s)
create total runs 5 avg 69.70 MB/s (user 0.44s sys 1.09s)
patch total runs 4 avg 30.45 MB/s (user 0.05s sys 1.43s)
compile total runs 7 avg 120.22 MB/s (user 0.07s sys 1.03s)
clean total runs 4 avg 1199.56 MB/s (user 0.01s sys 0.10s)
read tree total runs 2 avg 49.29 MB/s (user 0.03s sys 2.29s)
read compiled tree total runs 1 avg 51.73 MB/s (user 0.04s sys 4.74s)
delete tree total runs 2 avg 1.13 seconds (user 0.06s sys 0.68s)
no runs for delete compiled tree
stat tree total runs 4 avg 0.83 seconds (user 0.05s sys 0.44s)
stat compiled tree total runs 1 avg 0.82 seconds (user 0.06s sys 0.45s)

Best regards,

Morten

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: btrfs benchmark with 2.6.37-rc1
  2010-11-01 14:30 btrfs benchmark with 2.6.37-rc1 Morten P.D. Stevens
@ 2010-11-01 15:04 ` cwillu
  2010-11-01 15:12   ` Morten P.D. Stevens
  0 siblings, 1 reply; 4+ messages in thread
From: cwillu @ 2010-11-01 15:04 UTC (permalink / raw)
  To: Morten P.D. Stevens; +Cc: linux-btrfs

On Mon, Nov 1, 2010 at 8:30 AM, Morten P.D. Stevens
<mstevens@imt-systems.com> wrote:
> Here is a small btrfs vs. ext4 benchmark with kernel 2.6.37-rc1.
>
> compilebench with options -i 10 -r 30 on 2.6.37-rc1
>
> btrfs
>
> ==========================================================================
> intial create total runs 10 avg 73.11 MB/s (user 0.34s sys 1.96s)
> create total runs 5 avg 49.53 MB/s (user 0.41s sys 1.62s)
> patch total runs 4 avg 22.13 MB/s (user 0.09s sys 1.79s)
> compile total runs 7 avg 104.55 MB/s (user 0.08s sys 1.02s)
> clean total runs 4 avg 564.00 MB/s (user 0.01s sys 0.28s)
> read tree total runs 2 avg 29.62 MB/s (user 0.00s sys 2.77s)
> read compiled tree total runs 1 avg 31.85 MB/s (user 0.00s sys 5.03s)
> delete tree total runs 2 avg 4.06 seconds (user 0.11s sys 1.92s)
> no runs for delete compiled tree
> stat tree total runs 4 avg 2.79 seconds (user 0.07s sys 0.79s)
> stat compiled tree total runs 1 avg 2.50 seconds (user 0.10s sys 0.80s)
>
> ext4
>
> ==========================================================================
> intial create total runs 10 avg 120.03 MB/s (user 0.34s sys 1.31s)
> create total runs 5 avg 69.70 MB/s (user 0.44s sys 1.09s)
> patch total runs 4 avg 30.45 MB/s (user 0.05s sys 1.43s)
> compile total runs 7 avg 120.22 MB/s (user 0.07s sys 1.03s)
> clean total runs 4 avg 1199.56 MB/s (user 0.01s sys 0.10s)
> read tree total runs 2 avg 49.29 MB/s (user 0.03s sys 2.29s)
> read compiled tree total runs 1 avg 51.73 MB/s (user 0.04s sys 4.74s)
> delete tree total runs 2 avg 1.13 seconds (user 0.06s sys 0.68s)
> no runs for delete compiled tree
> stat tree total runs 4 avg 0.83 seconds (user 0.05s sys 0.44s)
> stat compiled tree total runs 1 avg 0.82 seconds (user 0.06s sys 0.45s)

Can you include the mkfs and mount options in use?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: btrfs benchmark with 2.6.37-rc1
  2010-11-01 15:04 ` cwillu
@ 2010-11-01 15:12   ` Morten P.D. Stevens
  2010-11-02  0:53     ` Chris Samuel
  0 siblings, 1 reply; 4+ messages in thread
From: Morten P.D. Stevens @ 2010-11-01 15:12 UTC (permalink / raw)
  To: linux-btrfs

2010/11/1 cwillu <cwillu@cwillu.com>:

>
> Can you include the mkfs and mount options in use?

mkfs.btrfs /dev/sdb
mount -t btrfs /dev/sdb /mnt/btrfs

and for ext4:

mkfs.ext4 /dev/sdb
mount -t ext4 /dev/sdb/ mnt/btrfs

Best regards,

Morten

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: btrfs benchmark with 2.6.37-rc1
  2010-11-01 15:12   ` Morten P.D. Stevens
@ 2010-11-02  0:53     ` Chris Samuel
  0 siblings, 0 replies; 4+ messages in thread
From: Chris Samuel @ 2010-11-02  0:53 UTC (permalink / raw)
  To: Morten P.D. Stevens; +Cc: linux-btrfs

On 02/11/10 02:12, Morten P.D. Stevens wrote:

> mkfs.btrfs /dev/sdb
> mount -t btrfs /dev/sdb /mnt/btrfs

It would be interesting to see if the space_cache mount option
makes any difference to your numbers.

It's commit 0af3d00bad38d3bb9912a60928ad0669f17bdb76.

cheers,
Chris
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-02  0:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-01 14:30 btrfs benchmark with 2.6.37-rc1 Morten P.D. Stevens
2010-11-01 15:04 ` cwillu
2010-11-01 15:12   ` Morten P.D. Stevens
2010-11-02  0:53     ` Chris Samuel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.