Re: [exim-dev] Old topic again: Option to avoid fsync()?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Matt Bernstein
Datum:  
To: Michael Haardt
CC: exim-dev
Betreff: Re: [exim-dev] Old topic again: Option to avoid fsync()?
On Jan 9 Michael Haardt wrote:

> Do you vote for or against having an option to disable fsync()?


Against; I don't want Exim authors blamed for irresponsible behaviour.

Another option available to you is to LD_PRELOAD a no-op for fsync(), eg
<http://ftp.die.net/pub/qmail-tools/libnosync.c>.

But please try the external journal trick first, and set a commit interval
as large as you like--I use a minute or two. Your I/O will scale since
then main volume is largely only reading and the journal volume will only
write if you have enough RAM.