On 2/1/06, James Lamanna <[EMAIL PROTECTED]> wrote: > On 2/1/06, Jeremy Allison <[EMAIL PROTECTED]> wrote: > > On Wed, Feb 01, 2006 at 03:39:08PM -0500, William Jojo wrote: > > > > > > On my AIX box I'm showing (in truss) send_file() calls for files in shares > > > with oplocks turned off and "use sendfile = yes". > > > > Yes you are correct and I'm an idiot :-). I was remembering the > > original code I wrote which insisted on an oplocked file. > > > > However, looking at the source code I find... > > > > #if defined(WITH_SENDFILE) > > /* > > * We can only use sendfile on a non-chained packet > > * but we can use on a non-oplocked file. tridge proved this > > * on a train in Germany :-). JRA. > > */ > > > > Never trust a developer, trust the source code :-). > > Do you guys have any other ideas for increasing performance? > As I mentioned earlier, "use sendfile" didn't make a difference (and > the default is 'yes' anyways on 3.0.14 apparently).
Another interesting datapoint... I reran this file copy test with a 1GB file using smbclient (and not rsync through an smbmount) and I received 9MB/s So my conclusion is that the kernel VFS layer is introducing the latency. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
