Subject: Re: Samba and Mac OS trouble
To: Matthias Scheler <firstname.lastname@example.org>
From: Zafer Aydogan <email@example.com>
Date: 08/07/2007 16:14:31
2007/8/7, Zafer Aydogan <firstname.lastname@example.org>:
> 2007/8/7, Matthias Scheler <email@example.com>:
> > On Tue, Aug 07, 2007 at 12:18:11PM +0200, Zafer Aydogan wrote:
> > > Does anybody know what could be the reason ?
> > Yes, it's a problem with the default configuration of Mac OS X's TCP.
> > Please create a file "/etc/sysctl.conf" with the following content
> > on all the Mac OS X clients:
> > net.inet.tcp.delayed_ack=0
> > Run "sysctl -w net.inet.tcp.delayed_ack=0" manually afterwards to
> > change the setting without rebooting.
> > Kind regards
> > --
> > Matthias Scheler http://zhadum.org.uk/
> I already tried that without success. But I don't have such problems
> with our current samba server (linux), so I think it's a NetBSD
> related problem, not MacOS.
> Any Ideas how I could find the bottleneck ?
net.inet.tcp.delayed_ack: 3 -> 0
Ok, this does speed things up, but it also crashes the server on large files.
Btw, how can I get a crash dump ?
Nevertheless it makes no sense why I should tweak all MacOS clients,
when this is running without problems on another OS.
And as I said before this only happens when I use "duplicate"
(Apple-D) on a file on a samba share. Normal drag and drops from/to
the share are at full speed.