[erlang-questions] run_erl and fsync

dmitry kolesnikov dmkolesnikov@REDACTED
Thu Jul 26 14:14:50 CEST 2012


Does fsync block any VM scheduler? Or is it executed within async thread?
Or none of them :-)

I do not think that flush log is required for majority of Web systems. I
believe this is a TeleCo legacy... Should it be configurable at least build
time?

Best Regards,
Dmitry >-|-|-*>


On 26.7.2012, at 9.10, Damienuk Davis <damienuk@REDACTED> wrote:

Hi all,

In one of my projects I used run_erl to launch Erlang VM in daemon mode,
rotate logs, etc.
But I discovered unexpected performance problem running production
application with run_erl. Application caused high iowait.
After some investigation I found that run_erl does fsync on every log
entry, causing disk IO load. Do we need fsync on every log entry.
Appreciate your valuable comments.

Thanks
Damien

_______________________________________________
erlang-questions mailing list
erlang-questions@REDACTED
http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120726/fe6b06c2/attachment.htm>


More information about the erlang-questions mailing list