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.
I have 3 boxes: 2 windows XP and 1 Gentoo Linux running Samba 2.2.8a. All have gigabit network cards and are plugged in through a gigabit switch. The Linux box is using the e1000 driver loaded as a module.
The 2 XP boxes can transfer a 10GB of video from one to the other in 4 minutes. However to and from the linux box takes 30 minutes.
Samba must not be utilizing the gigabit connection. And, I'm not sure why. Here is my smb.conf:
[global]
workgroup = THE_CONCLAVE
netbios name = black-box
server string = Will Gentoo
log file = /var/log/samba/log.%m
max log size = 50
encrypt passwords = yes
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
ssl require server cert = no
domain master = no
preferred master = no
max packet = 0
[homes]
comment = Home Directories
browseable = no
read only = no
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
Samba does not strictly speaking decide what network speed to use. The media options are handled by the ethernet drive. You should check that the ethernet driver is properly configured to use 1000Mb speed and full duplex.
Now aside from that, I have seen a lot of rumors that newer versions of Windows purposely break themselves for Samba compatibility. I'm not sure if that's true or not, but supposedly something has changed since Win2K that makes Windows a lot slower when interfacing with Samba.
Do some searching on this site, there has been a lot of discussion on this topic. Biggest thing I've found so far is Norton AntiVirus 2004. AntiVirus apps will of course slow things down some, nature of the beast. NAV2004 though causes a 5:1 speed decrease in tests I've performed.
Other things include the QOS packet scheduler in WinXP not playing well with SAMBA and the "webclient" service. Do some research on these...
Thanks, good advice wdingus. I did experience a performance gain transfering files from the xp box to the linux box. But, still the same slow speed vice versa after removing the qos packet scheduler on my xp boxes. I think not having the qos will help transfering both ways once i locate my initial bottleneck. Antivirus and webclient weren't an issue since I don't have those.
I'll do some more research and post back here again if i find a solution.
Ah, your right. You'll have to excuse me, I'm actually a roofing contractor by trade. Just a computer enthusiast by hobby.
I shutdown the webclient service and changed it to start manually.
I had also tried the advice of BruceCadieux.
"On the XP machines.
regedit
Browse to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters
Create a new DWORD value called
SizRegBuf
with a dword value of 0000ffff
This will speed up all connections to the machine.
It is a fix for large directory access speeds. "
I'm still at the same speeds with samba. I'm going to try and upgrade to samba 3 after looking at the gentoo portage tree. And experiment with it for a while.
(apache2 is transfering at 10MB/second --thats megabytes-- so I believe my ethernet driver is properly configured)
Just an update for anyone having these same issues. After upgrading to samba 3.01, windows xp and linux with samba are still not utilizing the potential of the gigabit network between the pair of systems.
I'm still experiencing the same poor performance.
Does anyone know a good way to allow windows xp to access and share via nfs? I've heard of "unix services for windows". Possibly there is an open-source version?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.