trouble shooting samba performance
worm402 at gmail.com
Mon Jun 30 20:48:35 UTC 2008
On Tue, Jun 24, 2008 at 5:25 PM, Sten Daniel Soersdal
<netslists at gmail.com> wrote:
> worms wrote:
>> Can anyone point me to a guide on trouble shooting samba performance
>> or a quick list of common issues I can check for.
>> I've been googling but haven't found much that referenced a recent
>> version of FreeBSD and Samba.
>> I am running FreeBSD 7.0 on VmWare Server 2.0 hosted on a CentOS Linux
>> I've used nttcp and iozone to verify that the performance of the
>> FreeBSD 7.0 VM is good and am able to copy 6.5GB on disk from one
>> location to another in about 2.5 minutes.
>> Copying to a Windows 2003 server yields a 45 minute transfer time.
>> Copying to a Windows XP workstation yields a 4 minute transfer time
>> FreeBSD 7.0 --> FreeBSD 7.0 -- 2.5 minutes ( copying on disk )
>> FreeBSD 7.0 --> WinXP -- 4 minutes ( samba )
>> FreeBSD 7.0 -> Windows 2003 -- 45 minutes ( samba )
>> WinXP --> Windows 2003 -- 5 minutes
>> Both windows machines are on the same domain.
>> I've used samba for a number of years and this is the first time I've
>> ran into a problem such as this.
>> So if someone could give me a good starting point on how to
>> troubleshoot this I'd appreciate it.
> The numbers indicate something i've seen several times but there has been
> different answers to it. Sometimes it was the indication that the RAID on
> the Windows2003 server was misconfigured or running in DEGRADED mode.
> However i've also seen issues regarding TCP/IP settings.
> Often it can be a good exercise to try to toggle this sysctl before transfer
> Of course these are just clues and not real answers.
> Sten Daniel Soersdal
Thanks for the advice Sten, I'll give that sysctl a try and double
check the RAID on the windows machine.
More information about the freebsd-questions