[Samba] Samba write performance in kernel
Jeremy Allison
jra at samba.org
Wed Sep 3 17:04:01 GMT 2008
On Wed, Sep 03, 2008 at 02:04:53PM +0800, Lin Mac wrote:
>
> hi,
>
> I would like to know how should I test the RECVFILE functionality? I've been trying to test the splice and expect to see that smbd would at least try splice and fails maybe? But I found that my data path isn't going through the vfswrap_recvfile, which calls sys_recvfile and splice.
>
> I have enabled HAVE_LINUX_SPLICE (by ac_cv_have_splice_decl=yes and samba_cv_HAVE_LINUX_SPLICE=yes while running configure), so I think I have splice enabled. But I think that's not the reason, the data just don't go through vfswrap_recvfile.
>
> I test by download data from linux and windows, drag and drop on explorer, and both show message alike.
Have you set the "min receivefile size" parameter to non-zero ?
Jeremy.
More information about the samba
mailing list