PDA

View Full Version : Samba slow FC4 -> XP


alyster
2006-02-22, 06:06 AM CST
This is destroying my brain.

I have a couple of directories on my Linux system shared with Samba. I can copy to them lightening fast (100MB file in approx 10 seconds). But if I take the file I just copied, and try copying it back to my Windows system (using Windows Explorer on my XP system) then my estimated time is 10 minutes.

I've tried various socket options, here's the globals part of my smb.conf:

# Global parameters
[global]
workgroup = MYGROUP
server string = Samba Server
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192 IPTOS_LOWDELAY
printcap name = /etc/printcap
dns proxy = No
ldap ssl = no
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
block size = 8192
cups options = raw


I've tried changing the socket options to just:

socket options = SO_RCVBUF=2048 SO_SNDBUF=2048

With no difference.

The whole network is running at 100mbps (confirmed via the router cable test, ifconfig and windows hardware manager).

I honestly have no clue as to what could be causing the bottleneck copying to the Windows system.

Couple more details:

uname -a
Linux okroy.ca 2.6.15-1.1831_FC4 #1 Tue Feb 7 13:37:42 EST 2006 i686 athlon i386 GNU/Linux

rpm -qa | grep -i samba
samba-swat-3.0.14a-2
samba-3.0.14a-2
samba-client-3.0.14a-2
system-config-samba-1.2.31-1
samba-common-3.0.14a-2

Oh, and disabling the webclient service on the XP box (a suggestion I saw elsewhere) doesnt seem to make a difference.