Re: Btrfs v0.16 released

From: Andi Kleen
Date: Thu Aug 14 2008 - 21:38:24 EST


> 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?

You have more threads with duplication?

>
> btrfsck tells me the total size of the btree is only 20MB larger with
> checksumming on.
>
> > > Btrfs no duplication 76.83 MB/s
> > > Btrfs no dup no csum no inline 76.85 MB/s
> >
> > But without duplication they are basically free here at least
> > in IO rate. Seems odd?
> >
> > Does it compute them twice in the duplication case perhaps?
> >
>
> The duplication happens lower down in the stack, they only get done
> once.

Ok was just speculation. The big difference still seems odd.

-Andi
--
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/