Performance limitation in read(1)

David Collier-Brown -- Customer Engineering David.Collier-Brown at
Tue Aug 26 15:33:44 GMT 2003

Richard Sharpe wrote:
> In anycase, it is much more efficient to avoid the copy altogether and 
> use sendfile and recvfile.

Possibly dumb question: I don't understand why sendfile isn't
being used: I see Pierre Belanger's SOLARIS_SENDFILE_API,
but don't see it as being used when I truss the server...
Does it default to unused?

David Collier-Brown,       | Always do right. This will gratify
Sun Microsystems,          | some people and astonish the rest.
Toronto, Ontario,          |
(905) 415-2849 or x52849   | davecb at

More information about the samba-technical mailing list