Wierd Samba Problem with Network Speed (using SK98lin driver)
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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!!!!
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.