<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">Hi all,</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div><div><font face="'times new roman', 'new york', times, serif">In one of my projects I used run_erl to launch Erlang VM in daemon mode, rotate logs, etc.</font></div><div><font face="'times new roman', 'new york', times, serif">But I discovered unexpected performance problem running production application with run_erl. Application caused high iowait.</font></div><div><font face="'times new roman', 'new york', times, serif">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.</font></div><div><font face="'times new roman', 'new york', times,
 serif">Appreciate your valuable comments.</font></div></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">Thanks</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">Damien</div></div></body></html>