LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack Search this Thread
Old 04-23-2010, 04:33 PM   #1
KMBS
Member
 
Registered: Oct 2009
Location: Germany
Distribution: Slackware
Posts: 32

Rep: Reputation: 16
Samba / slow data transfer between Linux machines, Win<-->Linux ok


Hi everyone!

I'm running Slackware 13 on a desktop pc and on a netbook.
From the beginning I noticed that file transfers via Samba (3.2.15, server running on desktop pc) take forever (1 Mbit/s max., both LAN and WLAN), I thought it would be a problem with the server, so I tried the usual server tweaking (TCP_NODELAY etc.) with no effect.

The other day I set up a Windows machine, from which I can copy files about ten times faster (and vice versa).
Transfers between the Windows machine and the netbook are as slow as between desktop and netbook.
So the problem seems to be the netbook, but I have absolutely no idea how to solve this.

Any ideas?
 
Old 04-23-2010, 07:32 PM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
It may be that the netbook is connected using a bad driver/module for the wireless which effectively 'limits' the transfer speed? Have you tried new modules?
 
Old 04-24-2010, 12:31 AM   #3
KMBS
Member
 
Registered: Oct 2009
Location: Germany
Distribution: Slackware
Posts: 32

Original Poster
Rep: Reputation: 16
I have the same problem while connected via cable, so it's probably not the wireless driver.
 
Old 04-25-2010, 07:57 PM   #4
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
Are you sure the netbook is using the cable connection though? The reason I pursue this line is because I have seen netbooks do weird things regarding network connections. The best way to test my question is disable wifi in the BIOS, then test. Apologies if you have already done this.
 
Old 04-26-2010, 09:11 AM   #5
KMBS
Member
 
Registered: Oct 2009
Location: Germany
Distribution: Slackware
Posts: 32

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by irishbitte View Post
The best way to test my question is disable wifi in the BIOS, then test.
I gave it a try and put down the wlan interface with ifconfig while connected via LAN and you were right. At least to a certain degree.
Now I get about 5 Mb/s, but it is still significantly slower than the Win machine (~10 Mb/s).

Edit: I just rebooted, disabled wlan0 but the rate drops again, this time I only get 200-300 Kb/s. :-|

Last edited by KMBS; 04-26-2010 at 11:14 AM.
 
Old 04-26-2010, 05:50 PM   #6
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
Hmmm, that really is very strange. Can you post details of the linux install on your netbook, together with the samba details? Also, if you can do the same for the desktop(samba server). I'm always a little skeptical when networks begin to do funny things like this, it's generally not the machines, more likely the router or a faulty wireless card, or a bad ethernet cable. There are many ways to skin a cat! Another thing you might post is the samba logs for the netbook and the desktop.
 
Old 04-30-2010, 10:34 AM   #7
KMBS
Member
 
Registered: Oct 2009
Location: Germany
Distribution: Slackware
Posts: 32

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by irishbitte View Post
Hmmm, that really is very strange. Can you post details of the linux install on your netbook, together with the samba details? Also, if you can do the same for the desktop(samba server). I'm always a little skeptical when networks begin to do funny things like this, it's generally not the machines, more likely the router or a faulty wireless card, or a bad ethernet cable. There are many ways to skin a cat! Another thing you might post is the samba logs for the netbook and the desktop.
Well, both machines are running Slackware 13 with Samba 3.2.15, Desktop machine runs on stock kernel, the netbook with 2.6.32.7.

I was messing around in both samba configs a lot, I thought I might have screwed something up, so I restored the sample configuration on both.
On the desktop box I only added the following lines:

Code:
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
syslog = 2
read raw = yes
write raw = yes
oplocks = yes
I also tested the netbook at work where we have a Samba fileserver, everything works just fine there.

Edit: Forgot to mention this: no error messages in the samba log on both machines.

Last edited by KMBS; 04-30-2010 at 10:44 AM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
slow data transfer speeds with bluez ThinkTank Linux - Software 1 01-23-2008 07:46 AM
FC3 very slow DNS and data transfer frankinmerth Linux - Networking 8 04-15-2005 10:58 PM
Samba transfer slow from linux client unicr0n Linux - Software 0 09-09-2004 04:12 AM
Very slow browsing from win xp machines dunkyb Linux - Networking 1 06-04-2003 03:39 PM


All times are GMT -5. The time now is 09:19 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