
On 2008 Aug 14, at 2:28, Ketil Malde wrote:
"Brandon S. Allbery KF8NH"
writes: Your previously stated use case sounds like a good fit. I can easily imagine sendfile() implementations starving other network operations, though (and IIRC linux's early sendfile() implementation did so). It's essentially an optimization specific to web servers.
Isn't it superseeded by splice(2) nowadays?
Most Unixen have some version of sendfile(); how portable is splice()? (Of course, there could be a system-dependent mapping; one is needed for Windows already.) -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH