<div dir="ltr">I am experimenting new sendfile(2) options<div>for FreeBSD 11 on OTP 19.0.2.</div><div><br><div>While the new options do not seem to break the function,</div><div>I cannot measure the possible performance gain yet.</div></div><div>Is there any good benchmark tool for measuring</div><div>file:sendfile/2 performance?</div><div>(I think Yaws uses Erlang VM file:sendfile/2 already)</div><div><br></div><div>Note that Tuncer Ayaz gives the original idea</div><div>on an earlier implementation of OTP as:</div><div><a href="https://github.com/tuncer/sendfile">https://github.com/tuncer/sendfile</a><br></div><div><br></div><div>Nginx's summary for FreeBSD 11 sendfile(2) features (with Netflix):</div><div><a href="https://www.nginx.com/blog/nginx-and-netflix-contribute-new-sendfile2-to-freebsd/">https://www.nginx.com/blog/nginx-and-netflix-contribute-new-sendfile2-to-freebsd/</a><br></div><div><br></div><div>And for those who want to test my patch, it's there at:</div><div><a href="https://github.com/erlang/otp/compare/maint...jj1bdx:jj1bdx-19.0.2-freebsd-sendfile">https://github.com/erlang/otp/compare/maint...jj1bdx:jj1bdx-19.0.2-freebsd-sendfile</a></div><div><br></div><div>Regards,</div><div>Kenji Rikitake</div></div>