Gigabit Problems

Soldato
Joined
7 Apr 2004
Posts
4,212
Hi,

For the past year my samba shares were working fine over a 100Mbit network, and I have now moved over to a gigabit switch.

I set up my windows vista client to use 7KB Jumbo Frames, the maximum it would allow. I also used the following command on my linux samba server to set a matching MTU:

ifconfig eth0 mtu 7000

Now, I can ping between the machines fine with <1ms timings, but samba shares take at least 30 seconds to open up/resolve but once it does it seems to work fine, where as before it was instant.

All my network dns settings are correct, I cant think why vista is taking so long to open/resolve a share? Vista syncs in fine at 1Gbps.

And my linux NIC:

Code:
eth0      Link encap:Ethernet  HWaddr 00:0C:6E:65:99:50
          inet addr:192.168.1.20  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:6eff:fe65:9950/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:7000  Metric:1
          RX packets:45742 errors:0 dropped:0 overruns:0 frame:0
          TX packets:745 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3341685 (3.1 Mb)  TX bytes:143128 (139.7 Kb)
          Interrupt:18 Memory:feafc000-0

EDIT: for some reason i can only ping the linux box, from vista. If i try to ping the vista pc from linux it doesn't go through for some reason, not sure if this could be related to the problem?

Any ideas on how i can fix it?

Thanks

Jack
 
Vista and samba didn't seem to get on for me. I found that my speeds, although faster, were not quite gigabit speeds. It seemed like it could be the NICs or the bus they were on, so I bought a few PCI-X Intel Pro 1000s and used the correct Intel drivers and had no joy. I did, however find that the drivers allowed me to adjust more than just frame size!

I forget the exact parameter names but you can tweak the TCP stack to allow more packets out without the ACK responses you would normally expect to get back every so often. This vastly increases local traffic speeds but completely kills off internet-related stuff for me. I found a happy medium somewhere but plain and simple, Vista absolutely sucks for file transfer speeds. Thats across the board, by the way - drive to drive, machine to machine, ram to ram, whatever - its all slow and inconsistent.

Using my samba server in conjunction with a server 2003 box I could max out my SCSI RAID array, yet with Vista I struggle to sustain 30MB/s.

EDIT: Just realised that that isnt your actual problem. Does explorer seem to hang for you when you try to navigate to a share or just take a long time? At the moment, my domain controller is a bit unhealthy and it is taking a while to respond to Vista's requests for authentication. While it is waiting, it seems to hang explorer for a little while until it either gets a reply or times out. This could mean you have either got a problem with authentication on your Vista box or you have a setting awry in your Samba security or domain setup. You havn't tried to tie it into Active Directory have you?
 
Last edited:
Thanks, yep explorer does just stop responding for around 30 seconds before finally opening the share. Its not linked to a domain controller or Active directory at all. I cant see how it can be an authentication problem as ive been using the config successfully for a good year and its only a 1 user system. The problems have literally occured tonight as ive moved to uni and replaced my 100mbit switch with a gigabit one. So im pretty sure it must be an ethernet configuration problem :s My samba config is very generic and basic as well cant see it causing any issues :(
 
Back
Top Bottom