when does journal flush with data=journal

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

 



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/





[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux