Hi all, I would like to know how often a writes happen on ext3 fs. Is there any way to find this out? Thanks Rahul
Rahul Kalaskar wrote:> I would like to know how often a writes happen on ext3 fs. Is there any > way to find this out?Data is flushed to the journal every 5 seconds, as opposed to ext2 where it is flushed every 30.
Try using iostat it comes as part of the sysstat package. You can find the RPM for it in rpmfind.net --- Rahul Kalaskar <rkalaskar@aethon.com> wrote:> Hi all, > > I would like to know how often a writes happen on > ext3 fs. Is there any > way to find this out? > > Thanks > Rahul > > > _______________________________________________ > Ext3-users mailing list > Ext3-users@redhat.com > https://www.redhat.com/mailman/listinfo/ext3-users__________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/
If I am not mistaken, that number can be changed in linux/fs/jbd/journal.c also, Stephen Tweedie has a patch which allows you to specify the journal update time as a parameter to the mount command plus, you can tweak bdflush (see man proc for details, and linux/fs/buffer.c) to tune the timing of the buffer flushes. --- Kurt Fitzner <kfitzner@excelcia.org> wrote:> Rahul Kalaskar wrote: > > I would like to know how often a writes happen on > ext3 fs. Is there any > > way to find this out? > > Data is flushed to the journal every 5 seconds, as > opposed to ext2 where > it is flushed every 30. > > > _______________________________________________ > Ext3-users mailing list > Ext3-users@redhat.com > https://www.redhat.com/mailman/listinfo/ext3-users__________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/