Ralf Hildebrandt
2002-Feb-03 17:07 UTC
[wietse@porcupine.org: Re: syncronous directory operation for linux (ext2)]
There's a big thread about filesystems on postfix-users@postfix.org Could you shed some light on that issue? ----- Forwarded message from Wietse Venema <wietse@porcupine.org> ----- From: wietse@porcupine.org (Wietse Venema) Date: Sun, 3 Feb 2002 07:53:26 -0500 (EST) To: Lawrence Greenfield <leg+@andrew.cmu.edu> Cc: Wietse Venema <wietse@porcupine.org>, postfix-users@postfix.org Subject: Re: syncronous directory operation for linux (ext2) X-Mailer: ELM [version 2.4ME+ PL82 (25)] Lawrence Greenfield:> Date: Sat, 2 Feb 2002 22:22:25 -0500 (EST) > From: wietse@porcupine.org (Wietse Venema) > > This patch is not useful. On Linux file systems it has no effect > at all. On FFS it has no useful effect at all, either unless soft > updates are turned on, which is not the default. > > Huh? That's not true at all. > > On ext3fs, the fsync() afterwards will flush the log, thus forcing the > link() to disk, just like it forces the link() to disk in softupdates.fsync() flushes the whole damned ext3 log? That would be lame. I expected they fixed that behavior long ago. Wietse - To unsubscribe, send mail to majordomo@postfix.org with content (not subject): unsubscribe postfix-users ----- End forwarded message ----- -- Ralf Hildebrandt (Im Auftrag des Referat V A) Ralf.Hildebrandt@charite.de Charite Campus Virchow-Klinikum Tel. +49 (0)30-450 570-155 Referat V A - Kommunikationsnetze - Fax. +49 (0)30-450 570-916 "I rigged my cellular to send a message to my PDA, which is online with my PC, to get it to activate the voicemail, which sends the message to the inbox of my email, which routes it to the PDA, which beams it back to the cellular. Then I realized my gadgets have a better social life than I do." !" - Tom Ostad.
Stephen C. Tweedie
2002-Feb-04 14:53 UTC
Re: [wietse@porcupine.org: Re: syncronous directory operation for linux (ext2)]
Hi, On Sun, Feb 03, 2002 at 06:07:56PM +0100, Ralf Hildebrandt wrote:> There's a big thread about filesystems on postfix-users@postfix.org > > From: wietse@porcupine.org (Wietse Venema) > Lawrence Greenfield: > > Date: Sat, 2 Feb 2002 22:22:25 -0500 (EST) > > From: wietse@porcupine.org (Wietse Venema) > > > > This patch is not useful. On Linux file systems it has no effect > > at all. On FFS it has no useful effect at all, either unless soft > > updates are turned on, which is not the default. > > > > Huh? That's not true at all. > > > > On ext3fs, the fsync() afterwards will flush the log, thus forcing the > > link() to disk, just like it forces the link() to disk in softupdates. > > fsync() flushes the whole damned ext3 log? That would be lame.On ext3, fsync forces the transaction out to the log, but it does NOT flush the log out to disk. The log is always reclaimed lazily as needed.> I expected they fixed that behavior long ago.It has never behaved that way. ext3 has one other nice feature here in current versions --- when it does force a log commit for fsync, it performs a final "yield" before closing the commit, allowing other threads to queue synchronous IOs into the same transaction. We found that in a heavily threaded synchronous application, this *enormously* improves performance --- postmark improved by a factor of about 30 in our tests, simply because we can batch so many synchronous application IO requests into a single sequential log update. Cheers, Stephen
Apparently Analagous Threads
- dovecot-SASL for Postfix: EXTERNAL does not work.
- [EXT] Re: dovecot-SASL for Postfix: EXTERNAL does not work.
- [EXT] Re: dovecot-SASL for Postfix: EXTERNAL does not work.
- Fwd: Re: sasl parameters missing (in postfix)
- dovecot-SASL for Postfix: EXTERNAL does not work.