Re: More Large blocksize benchmarks

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Chinner
Date: Monday, October 15, 2007 - 7:36 pm

On Mon, Oct 15, 2007 at 08:22:31PM -0400, Chris Mason wrote:

Apples to oranges, Chris ;)

btrfs linearises writes due to it's COW behaviour and this is trades
off read speed. i.e. we take more seeks to read data so we can keep
the write speed high. By using large blocks, you're reducing the
number of seeks needed to find anything, and hence the read speed
will increase. Write speed will be pretty much unchanged because
btrfs does linear writes no matter the block size.

XFS doesn't linearise writes and optimises it's layout for a large
number of disks and a low number of seeks on reads - the opposite
of btrfs. Hence large block sizes reduce the number of writes XFS
needs to write a given set of data+metadata and hence write speed
increases much more than the read speed (until you get to large tree
traversals).

The basic conclusion is that different filesystems will benefit in
different ways with large block sizes....

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
More Large blocksize benchmarks, Chris Mason, (Mon Oct 15, 5:22 pm)
Re: More Large blocksize benchmarks, Christoph Lameter, (Mon Oct 15, 5:44 pm)
Re: More Large blocksize benchmarks, David Chinner, (Mon Oct 15, 7:36 pm)
Re: More Large blocksize benchmarks, Chris Mason, (Tue Oct 16, 6:01 am)