LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-28-2013, 03:25 AM   #1
Tralce
Member
 
Registered: Nov 2006
Location: Maine
Distribution: Debian, Ubuntu, Gentoo
Posts: 109

Rep: Reputation: 15
Filesharing between Windows 7 x64 and Debian 6 x86 - very low speeds


I'm using a Debian machine to run bittorrent and other large downloads. I generally copy or move the downloaded files to the Windows machine over Samba. Until upgrading my network to gigabit (with a new gigabit switch and cat6) I hadn't really paid attention to the fact that the speeds were actually quite low -- usually peaking out at 4MB/s. I had previously thought that this was a result of the old 100mbit switch but as it turns out it's not. Both the windows machine and Debian machine have gigabit Ethernet cards, and /are/ running at 1000Mbps full duplex. I have verified the network throughput with iperf to be ~950Mbps both ways.

Here's where it gets weird. Samba, FTP, SFTP, NFS and HTTP transfers are all extremely slow.
Maximums:
Samba - ~4300KB/s (Tested with a simple file copy and Windows 7)
SFTP - ~5000KB/s (Tested with WinSCP and openssh-server)
NFS - 2520KB/s (Tested with the standard NFS client on another Linux box)
HTTP - 3250KB/s (Tested with wget/google-chrome and apache2)

Interestingly they all begin this slowly /except/ for Samba, which with a standard windows drag and drop file copy starts up at around 70MB/s and the speed tapers off at a rate of about 2MB/s/s until it reaces a plateau of around 4MB/s.

Steps I've taken:

Items 1 and 2 on this list: http://www.sysprobs.com/windows-7-network-slow
The smb.conf mods made by the third poster in this thread: http://ubuntuforums.org/showthread.php?t=1908714

The only thing that seemed to help was disabling Remote Differential Compression which I think was the cause for the initial speed burst of 70MB/s.

I've been hours googling this and I'm exhausted so I may have overlooked something... please help...
 
Old 04-28-2013, 08:08 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143
Are you sure your cables are good? A bad cat5e/6 cable can easily drop the speeds into the single digit MB/s. Are these slow transfers JUST between the two systems, or does either system exhibit these same slow speeds when accessing other network resources?
 
Old 04-28-2013, 11:09 PM   #3
Tralce
Member
 
Registered: Nov 2006
Location: Maine
Distribution: Debian, Ubuntu, Gentoo
Posts: 109

Original Poster
Rep: Reputation: 15
I've replaced all cables concerned twice, and as I mentioned above, iperf tested a perfectly good speed between all computers involved. It's a samba thing. Or (more likely) a Windows issue. If I try a similar file transfer between the debian server and an ubuntu laptop, over the gigabit ethernet, the speed hovers around 29MB/s, which is definitely not a gigabit speed either, but it's a lot better than 4MB/s.
 
  


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
Slackware 13.37 x64 & Windows 7 x64 Dual Boot Issues toolman30044 Slackware 4 08-08-2011 02:39 PM
LXer: Virtio install Windows 7 KVM (x64/x86) on Fedora 14 LXer Syndicated Linux News 0 01-25-2011 04:40 PM
LXer: Virtio install Windows 7 KVM (x64/x86) on Ubuntu 10.04.1 Server via DNJL PPA LXer Syndicated Linux News 0 01-20-2011 04:40 PM
Newbie looking to dual-boot Gloria x64 into a box already running Windows 7 x64 joshuaingram Linux - Newbie 1 12-17-2009 05:48 PM
can i run linux mandriver x64 with windows x64 bit if so wich one should i install fi malmac2000 Linux - Software 2 04-26-2006 07:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:08 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration