On Thu, 2008-08-14 at 23:17 +0200, Andi Kleen wrote:
Looks like I can get the btrfs defaults up to 64MB/s with some writeback
tweaks.
The async worker threads should be spreading the load across CPUs pretty
well, and even a single CPU could keep up with 100MB/s checksumming.
But, the async worker threads do randomize the IO somewhat because the
IO goes from pdflush -> one worker thread per CPU -> submit_bio. So,
maybe that 3rd thread is more than the drive can handle?
btrfsck tells me the total size of the btree is only 20MB larger with
checksumming on.
The duplication happens lower down in the stack, they only get done
once.
-chris
--