Re: [PATCH] Introduce block I/O performance histograms

From: Jens Axboe
Date: Thu Nov 16 2006 - 15:22:45 EST


On Thu, Nov 16 2006, Edward Falk wrote:
> Jens Axboe wrote:
>
> >I don't see the point at all for including this piece of code in the
> >kernel. You can do the same from user space. Your help entry said it
> >even grows the kernel size about 21k, that's pretty nasty.
>
> How would you do this from user space? Also, the 21k increase is only
> in effect if the feature is turned on in the config, and it's off by
> default.

You can use blktrace to do it. I realize that the 21k is only if it's
turned out, it's still quite a huge big (why does it turn out so big?).
The source is always there to maintain, though. The main point is that
you don't have to do this in the kernel, though.

--
Jens Axboe

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