View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-12-2008, 11:11 PM   #1
LQ Newbie
Registered: Jul 2004
Location: Ohio
Posts: 3

Rep: Reputation: 0
[Debian Lenny::Samba/CIFS] Network File Transfers Slow


I am running Debian Lenny and have been experiencing this issue transferring files from my Linux box (ngz) to other computers (core,mex,jr) on the network. There are 4 in total. I should also mention its through cifs mounts.

Whenever I transfer files from any other computer including ngz, its fine, hovering around 40-60MB/s. When I try to transfer from ngz to any other computer, its as if its treated as a 100mb/s as opposed to a 1Gb/s connection only transferring around 9-11MB/s. Upon boot I notice that the link is up at full duplex 1000Mb/s so I'm not sure whats going on there.

Also, all the computers are in fact connected at 1Gb/s full duplex.

Is there something I need to change in smb.conf to get faster transfer speeds?

I should mention that using FTP gives me about 45-60MB/s when uploading. I also tested transferring a file to the linux box and its about the same as the FTP 45-60MB/s.

I did some more research today and managed to get it up to about 25MB/s~ by changing the following options to:

obey pam restrictions = no
use sendfile = no
oplocks = no
level2 oplocks = no
read raw = no
write raw = no
large readwrite = no
This has yielded the best results, but I think I should still be getting another 150%; I highly doubt cifs introduces that much overhead.

So far heres what I have...
ngz = server
core/mex/jr = clients

ngz --> core/mex/jr = ~25MB/s
ngz <-- ngz/core/mex/jr = ~55MB/s
core/mex/jr <--> core/mex/jr = ~55MB/s


I'm really at a loss here, I've googled this problem like crazy and still cant find any solid solutions. I've tried all the conf tweaks I could find and I'm far from getting Gb speeds, not even a third of Gb!

Heres a screenshot if a testfile I transfered.

Heres my ifconfig output.
ngz:~# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:17:31:07:99:51  
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::217:31ff:fe07:9951/64 Scope:Link
          RX packets:4474669 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4516807 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:711492479 (678.5 MiB)  TX bytes:3841620800 (3.5 GiB)
EDIT: I'm gonna disable IPv6 and see if it helps at all, I doubt it but I'll try anything at this point.

Any insight fellas/(ladies)? Did I miss anything?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow network file transfers purelithium Linux - Networking 4 02-14-2006 05:28 PM
Slow file transfers between filesystems while recovering data from failed drive! Diademed Linux - General 18 08-14-2005 10:21 PM
Samba transfers fail on large files from Windows to Debian mperkins Linux - Networking 11 08-09-2005 03:46 PM
RH 9.0 / Samba Large File Transfers rjesse Linux - General 3 01-26-2005 09:59 AM
slow file transfers between hard drives akshunj Linux - Hardware 3 06-01-2004 10:19 AM

All times are GMT -5. The time now is 03:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration