Re: [patch] speed up ext3 synchronous mounts

Andreas Dilger (adilger@clusterfs.com)
Wed, 27 Mar 2002 12:17:19 -0700


On Mar 27, 2002 20:07 +0100, Matthias Andree wrote:
> On Sun, 24 Mar 2002, Andrew Morton wrote:
> > Again, we don't need to sync indirects as we dirty them because
> > we run a commit if IS_SYNC(inode) prior to returning to the
> > caller of write(2).
>
> Will this help synchronous NFS writes, at least a little? I have slow
> write performance on "sync" NFSv3 exports (ext3 underneath, you guessed
> it), kernel 2.4.19-pre3-ac4 (not really surprising, sync is slow ;-). Is
> it worth a try?

Are you mounting the ext3 filesystem with "data=journal" and have a
large journal? This will help a lot. You can also set up an external
journal device to speed things up.

Cheers, Andreas

--
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/