[Libevent-users] [OT] craigslist: libevent programmer wanted
Christopher Layne
clayne at anodized.com
Mon Nov 12 00:46:43 EST 2007
On Mon, Nov 12, 2007 at 06:38:33AM +0100, Marc Lehmann wrote:
> On Fri, Nov 09, 2007 at 12:39:37AM +0100, Hannah Schroeter <hannah at schlund.de> wrote:
> > I see less problems with the writing away of the data sucked from the
> > web servers, as most Unix like systems write stuff asynchronously, so
> > the open(..., O_CREAT...), write() and close() calls won't be too slow.
>
> Most unix systems cache data for quite long, butwhen they write, usually
> user mode apps also halt. For throughput this is of little concern, but
> in a game server I wrote, even an fsync could freeze the server for 15-20
> seconds(!) when another sync was in progress at the same time, or when
> some othe rprogram geenrated lots of I/O (for example a backup/restore).
BTW: This isn't a global Linux issue, it's specifically an issue with ext3 and the
way it handles fsync() on a global scale.
http://kerneltrap.org/node/14148
Personally, I use XFS (awesome design).
-cl
More information about the Libevent-users
mailing list