2007-05-11 14:01:42

by folkert

[permalink] [raw]
Subject: statistics of filesystem-journal usage

Hi,

Maybe it is a nice idea to export statistics on the usage of a journal
of a filesystem as well. That way one can more easy see if it would help
to put a journal on an other harddisk.


Folkert van Heusden

--
MultiTail es una herramienta flexibele para consiguir archivos de log,
y para ejecutar ordenes. Filtrar, a?adir colores, merger y vista de
las differencias. http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, http://www.vanheusden.com


2007-05-11 14:21:21

by Kalpak Shah

[permalink] [raw]
Subject: Re: statistics of filesystem-journal usage

On Fri, 2007-05-11 at 16:00 +0200, Folkert van Heusden wrote:
> Hi,
>
> Maybe it is a nice idea to export statistics on the usage of a journal
> of a filesystem as well. That way one can more easy see if it would help
> to put a journal on an other harddisk.

There is a patch posted on linux-ext4 which maintains the journal
statistics such as transaction sizes and their lifetimes. These stats
are provided through procfs and can only be used with ext4 since ext2/3
still use the jbd layer.

You can see the patch here:
http://lists.openwall.net/linux-ext4/2007/04/02/6

- Kalpak.
>
>
> Folkert van Heusden
>