pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Samba and Mac OS trouble



2007/8/7, Zafer Aydogan <zafer%aydogan.de@localhost>:
> 2007/8/7, Matthias Scheler <tron%zhadum.org.uk@localhost>:
> > 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 ?
>
> Zafer.
>
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.

Zafer.



Home | Main Index | Thread Index | Old Index