View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-28-2013, 03:25 AM   #1
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.
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:
The smb.conf mods made by the third poster in this thread:

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
Senior Member
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 4,294

Rep: Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495Reputation: 1495
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
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.


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

All times are GMT -5. The time now is 07:04 PM.

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