System info: Red Hat Enterprise Linux Server release 5 (Tikanga) Kerlen 2.6.18-8.el5 SMP x86_64 Samba version 3.0.23c-2 Eth0 && Eht1 bonded to bond0, 2Gbps. /etc/samba/smb.conf attached below... I?m seeing very slow transfers from Samba.... I?m not sure how else to describe it. If I try and copy a 4GB DVD image from the server to any Windows box (XP, 2003, 2008, MacOS) it estimates more than 4 hours to copy. However, if I FTP to the server from any given client I can move the whole file in less than 2 minutes... I?m not a Samba expert, so anything is helpful at this point!!! -brian [global] netbios name = mvppvt125 realm = MACHINEVISIONPRODUCTS.COM security = ads preferred master = no encrypt passwords = yes wins server = 10.0.0.119 workgroup = MVP password server = * server string = Dell PowerVault Server log level = 3 log file = /var/log/samba/smbd.log max log size = 50 winbind use default domain = yes winbind nested groups = yes winbind separator = + client ntlmv2 auth = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 username map = /etc/samba/smbusers template shell = /bin/bash [filevault] comment = File Vault path = /filevault browseable = yes writable = yes create mode = 0777 force create mode = 0777 force directory mode = 0777 [data] comment = MVP Data path = /data browseable = yes writable = yes create mode = 0777 force create mode = 0777 force directory mode = 0777 -- --
On Thu, Aug 28, 2008 at 02:20:09PM -0700, Brian McGrew wrote:> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192Quick try: Remove that. Curious question -- why did you set those options? Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20080828/cac0ae9d/attachment.bin
Brian McGrew wrote:> System info: > Red Hat Enterprise Linux Server release 5 (Tikanga) > Kerlen 2.6.18-8.el5 SMP x86_64 > Samba version 3.0.23c-2 > Eth0 && Eht1 bonded to bond0, 2Gbps. > > /etc/samba/smb.conf attached below... > > I?m seeing very slow transfers from Samba.... I?m not sure how else to > describe it. If I try and copy a 4GB DVD image from the server to any > Windows box (XP, 2003, 2008, MacOS) it estimates more than 4 hours to copy. > However, if I FTP to the server from any given client I can move the whole > file in less than 2 minutes... > > I?m not a Samba expert, so anything is helpful at this point!!!Have you tried looking into some of the NIC jumbo frames, flow control and checksum settings? Look at the window client settings for: -Tx/Rx Checksum Offload Disabled -Flow Control Enabled -Jumbo Frames Enabled -Large Send Offload Disabled Your results will very depending on your switches and network cards. For more look at a discussion at: http://www.readynas.com/forum/viewtopic.php?f=21&t=8462&st=0&sk=t&sd=a&hilit=samba+vista+performance&start=165 -- Regards -------------------------------------- Gerald Drouillard Technology Architect Drouillard & Associates, Inc. http://www.Drouillard.biz
>> I=A9=F6m seeing very slow transfers from Samba.... I=A9=F6m not sure how else to >> describe it. If I try and copy a 4GB DVD image from the server to any >> Windows box (XP, 2003, 2008, MacOS) it estimates more than 4 hours to copy. >> However, if I FTP to the server from any given client I can move the whole >> file in less than 2 minutes... >=20 > Try "downloading" the file from another LINUX machine using smbclient. > How fast is that? That will take the Windows mystery variable out of > the equation. Odds are that the smbclient download will be very fast.----- No difference! Using the smbclient on another Linux machine (Fedora Core 3) on the same subnet, same switch at GigE --- about 4MB copied in 5 minutes. Copying the file via NFS from this Linux machine to my Windows machine, I was gettingh right about 67Mbit with 7% port utilization according to the stats on my Foundry switch. Using smb:// for the same file, same machine, I was seeing 2Mbit with .2% port utilization. This with Windows and smbclient. -brian --=20
I am going to go with a bad samba build. Won't be the first time. Try different rpm versions from Red. Update or Backrev If that still doesn't work, try putting both the client and the server on a unmanaged gigabit switch and try the test again. -gc Brian McGrew wrote:> System info: > Red Hat Enterprise Linux Server release 5 (Tikanga) > Kerlen 2.6.18-8.el5 SMP x86_64 > Samba version 3.0.23c-2 > Eth0 && Eht1 bonded to bond0, 2Gbps. > > /etc/samba/smb.conf attached below... > > I?m seeing very slow transfers from Samba.... I?m not sure how else to > describe it. If I try and copy a 4GB DVD image from the server to any > Windows box (XP, 2003, 2008, MacOS) it estimates more than 4 hours to copy. > However, if I FTP to the server from any given client I can move the whole > file in less than 2 minutes... > > I?m not a Samba expert, so anything is helpful at this point!!! > > -brian > > [global] > netbios name = mvppvt125 > realm = MACHINEVISIONPRODUCTS.COM > security = ads > preferred master = no > encrypt passwords = yes > wins server = 10.0.0.119 > workgroup = MVP > password server = * > server string = Dell PowerVault Server > log level = 3 > log file = /var/log/samba/smbd.log > max log size = 50 > winbind use default domain = yes > winbind nested groups = yes > winbind separator = + > client ntlmv2 auth = yes > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > username map = /etc/samba/smbusers > template shell = /bin/bash > > [filevault] > comment = File Vault > path = /filevault > browseable = yes > writable = yes > create mode = 0777 > force create mode = 0777 > force directory mode = 0777 > > [data] > comment = MVP Data > path = /data > browseable = yes > writable = yes > create mode = 0777 > force create mode = 0777 > force directory mode = 0777 > >