[erlang-questions] file:sendfile/2 benchmarks?

Kenji Rikitake <>
Tue Jul 26 13:01:01 CEST 2016


I am experimenting new sendfile(2) options
for FreeBSD 11 on OTP 19.0.2.

While the new options do not seem to break the function,
I cannot measure the possible performance gain yet.
Is there any good benchmark tool for measuring
file:sendfile/2 performance?
(I think Yaws uses Erlang VM file:sendfile/2 already)

Note that Tuncer Ayaz gives the original idea
on an earlier implementation of OTP as:
https://github.com/tuncer/sendfile

Nginx's summary for FreeBSD 11 sendfile(2) features (with Netflix):
https://www.nginx.com/blog/nginx-and-netflix-contribute-new-sendfile2-to-freebsd/

And for those who want to test my patch, it's there at:
https://github.com/erlang/otp/compare/maint...jj1bdx:jj1bdx-19.0.2-freebsd-sendfile

Regards,
Kenji Rikitake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160726/51aec60f/attachment.html>


More information about the erlang-questions mailing list