[erlang-questions] use of sendfile

Tony Finch dot@REDACTED
Thu Nov 8 17:58:54 CET 2007


On Thu, 8 Nov 2007, Torbjorn Tornkvist wrote:
>
> I just wrote a minimal sendfile linked-in driver. I compared the
> performance with a yaws server but didn't see any difference in
> performance. Is that expected ?

Sendfile is most useful when your working set is larger than RAM, because
it deals better with disk latency and buffer sharing between disk and
network code in the kernel.

Tony.
-- 
f.a.n.finch  <dot@REDACTED>  http://dotat.at/
VIKING: CYCLONIC BECOMING NORTHWEST SEVERE GALE 9 TO VIOLENT STORM 11,
DECREASING GALE 8 LATER. HIGH BECOMING VERY HIGH FOR A TIME. RAIN THEN SQUALLY
SHOWERS. VERY POOR, BECOMING MAINLY GOOD.



More information about the erlang-questions mailing list