LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-08-2005, 10:32 AM   #1
g8keepR
LQ Newbie
 
Registered: Feb 2005
Posts: 6

Rep: Reputation: 0
Wierd Samba Problem with Network Speed (using SK98lin driver)


It seems that when I try to copy a file from a Windows Share to Linux I get really crappy speeds (~100KB/s if I'm LUCKY). However, I noticed that if I start a second transfer my speeds are normal (6MB/s each or so on a gigabit lan).

I have a linksys gigabit ethernet card on this machine (using skyline's driver module)

below is from my dmesg when I active my network card:
speed: 1000
autonegotiation: yes
duplex mode: full
flowctrl: symmetric
role: slave
irq moderation: disabled
scatter-gather: enabled

my settings on my windows box are:
full autonegotiation and flow contrl on.

I also do NOT have IPv6 enabled

and just incase I put these in my /etc/modprobe.conf:

alias net-pf-10 off
alias ipv6 off

Of course, if I'm on my windows box and copy files to Linux my speeds are normal

Any ideas what could be causing this?

Thanks
 
Old 02-09-2005, 06:16 AM   #2
g8keepR
LQ Newbie
 
Registered: Feb 2005
Posts: 6

Original Poster
Rep: Reputation: 0
*follow up*

Yesterday I also tried setting up an FTP server on my XP machine and downloading to my linux machine. The speed was normal (13MB/s+) So this seems to be a SAMBA only problem.

Any ideas?

Thanks
 
Old 02-10-2005, 06:39 PM   #3
g8keepR
LQ Newbie
 
Registered: Feb 2005
Posts: 6

Original Poster
Rep: Reputation: 0
*follow up #2*

I Finally found at least a partial solution

by typing in: ifconfig eth0 mtu 9000

my transfer speeds went from 100-300KB/s to 3MB/s

One thing I also set was (in my smb.conf):

max xmit = 65535

You'll need both of these settings.

However, I noticed this works only when I go to my share via "smb://MACHINENAME/SHARENAME" and transfer my file. If I go to my share via a cifs filesystem mount, it goes back to 100-300KB/s. ARG!!!!
 
Old 02-10-2005, 09:12 PM   #4
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Quote:
Originally posted by g8keepR
Distribution:
Not sure what distribution you are using, but you may want to find out if they have an update for Samba as some older versions did have some performance idiosyncrasies. If there is not an updated package for your Linux distribution then you can always get the newest version from the Samba team at http://www.samba.org and install it from source.
 
Old 02-10-2005, 09:17 PM   #5
g8keepR
LQ Newbie
 
Registered: Feb 2005
Posts: 6

Original Poster
Rep: Reputation: 0
I'm using Fedora Core 3 and version 3.0.10-1-fc3. I just downloaded version 3.0.11 and hopefully this will work. By the way, in my previous post (above), that solution stopped working for me now. Everything's back to 100-300KB/s
 
Old 02-10-2005, 09:21 PM   #6
g8keepR
LQ Newbie
 
Registered: Feb 2005
Posts: 6

Original Poster
Rep: Reputation: 0
WHOOHOO!!!
whatever they did in v 3.0.11 WORKED !!! 6 - 11MB /s

but the minute i do more than 1 simultaneous transfer it slows down to 1.5-2MB/s each

oh well, I'll take 1 fast xfer over 2 slower ones any day

Last edited by g8keepR; 02-10-2005 at 09:22 PM.
 
  


Reply



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
WOL with sk98lin driver Sushy Slackware 5 12-11-2005 04:52 AM
wierd samba problem paulwhalley Linux - Networking 1 10-26-2005 02:25 AM
network card and sk98lin driver issues Normanya Linux - Hardware 1 04-30-2005 05:02 PM
driver sk98lin for eth card compiles with unresolved symbols takatam Linux - Software 0 10-28-2004 06:53 AM
Secondary NTFS partion & sk98lin driver niteshadw Linux - Hardware 0 11-14-2003 03:14 PM

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

All times are GMT -5. The time now is 02:21 AM.

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