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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Matt Bernstein
日付:  
To: Michael Haardt
CC: exim-dev
題目: 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.