[Samba] Samba write performance in kernel

Lin Mac mkl23 at hotmail.com
Thu Sep 4 11:35:56 GMT 2008


hi,

Yes, it works. Now the splice would failed first, then runs default_sys_recvfile.

Is there any kernel patch to fix this issue? or any discussion, clues?

BTW, although the splice is not used, some access from window client seems strange: writing files has no status bar but finished siliently, and can't delete file. (I've checked the permission of the file to ensure they are writable.)

Writing and deleting files from linux have no such problem. Reading file from both clients have no problem too.

Tested with Ubuntu 8.04, linux-2.6.24-19-generic, samba-3.2.2.

Best Regards,
Mac Lin

> Date: Wed, 3 Sep 2008 10:04:01 -0700
> From: jra at samba.org
> To: mkl23 at hotmail.com
> CC: jra at samba.org; samba at lists.samba.org
> Subject: Re: [Samba] Samba write performance in kernel
> 
> 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.

_________________________________________________________________
Áo©ú·j´M©MÂsÄýºô¸ôªº§K¶O¤u¨ã¦C ¡X MSN ·j´M¤u¨ã¦C 
http://toolbar.live.com/


More information about the samba mailing list