Performance limitation in read(1)
jra at samba.org
Tue Aug 26 17:04:12 GMT 2003
On Tue, Aug 26, 2003 at 11:33:44AM -0400, David Collier-Brown -- Customer Engineering wrote:
> 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?
In Samba 3.0 it defaults to on, but only for oplocked files
and for large readX's - see the internal code path.
More information about the samba-technical