Re: Linux 2.6.29

From: Linus Torvalds
Date: Thu Apr 02 2009 - 22:25:09 EST




On Thu, 2 Apr 2009, Jeff Garzik wrote:
>
> The most interesting thing I found: the SSD does 80 MB/s for the first ~1 GB
> or so, then slows down dramatically. After ~2GB, it is down to 32 MB/s.
> After ~4GB, it reaches a steady speed around 23 MB/s.

Are you sure that isn't an effect of double and triple indirect blocks
etc? The metadata updates get more complex for the deeper indirect blocks.

Or just our page cache lookup? Maybe our radix tree thing hits something
stupid. Although it sure shouldn't be _that_ noticeable.

> There is a similar performance fall-off for the Seagate, but much less
> pronounced:
> After 1GB: 52 MB/s
> After 2GB: 44 MB/s
> After 3GB: steady state

That would seem to indicate that it's something else than the disk speed.

> There appears to be a small increase in system time with "-f" (use fadvise),
> but I'm guessing time(1) does not really give a good picture of overall system
> time used, when you include background VM activity.

It would also be good to just compare it to something like

time sh -c "dd + sync"

(Which in my experience tends to fluctuate much more than the steady state
thing, so I suspect you'd need to do a few runs to make sure the numbers
are stable).

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