Subject: Re: Samba and Mac OS trouble
To: Zafer Aydogan <zafer@aydogan.de>
From: Tobias Nygren <tnn@NetBSD.org>
List: pkgsrc-users
Date: 08/07/2007 12:31:31
On Tue, 7 Aug 2007 12:18:11 +0200
"Zafer Aydogan" <zafer@aydogan.de> wrote:

> Hello list,
> 
> I've set up a samba server, which works very well, except one oddity.
> We're only using Mac's in our company and if I connect to the
> samba share via the Finder (smb://samba) and if I use "duplicate"  to
> duplicate a file,
> the samba server takes a long time (1-2 Minutes) to accomplish this
> task, when the file used to duplicate is medium size (< 10 MB) . Other
> tasks seem to be done immediately.
> Does anybody know what could be the reason ?
> What can I do to track down and solve the problem.
> 
> Thanks, Zafer.

First of all you need to find out what's causing the bottleneck.
Maybe adding some combination of the socket options below to smb.conf
will help?

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

c.f. smb.conf(5) for more possible options to add.