[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: when does journal flush with data=journal



On Feb 08, 2002  12:42 -0500, Bill McGonigle wrote:
> I'm trying to eek every last bit of performance out of a sync NFS server 
> using ext3.
> 
> I created a 400MB journal, for my data=journal disk.  When copying a 
> 200MB file to the machine, by the sound of the disk, it flushed data to 
> disk about 4 times, so, about every 50MB.

I think there is also a 5 second flush interval. IIRC, there is a
parameter which can be tuned, but I don't know the exact mechanism
(compile time, mount option, /proc entry).

Hmm, looking further, it seems it is a compile-time option in
fs/jbd/journal.c:journal_init_common.c where it sets the 
journal_commit_interval.

I thought Andrew at least had a patch to make the journal_commit_interval
match the flush interval for bdflush.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]