LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

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

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


Greets,

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?
____________________________________________________________________

UPDATE
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:

Code:
obey pam restrictions = no
....
socket options = TCP_NODELAY SO_SNDBUF=32768 SO_RCVBUF=32768 IPTOS_LOWDELAY
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
____________________________________________________________________

UPDATE

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.
http://one.xthost.info/ngz02/smb_xfer_01.png

Heres my ifconfig output.
Code:
ngz:~# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:17:31:07:99:51  
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::217:31ff:fe07:9951/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          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)
          Interrupt:10
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?
 
  


Reply


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 12:00 AM.

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