4

I'm seeing some really odd issues with network speeds on my FreeNas 8.0.3 box. Receiving traffic is fine, but sending traffic slows down to 10-50kb/s, and stalls a lot.

Receiving: enter image description here

Transmitting: enter image description here

Iperf:

Server receiving: enter image description here enter image description here

Server sending: enter image description here enter image description here

ifconfig: enter image description here

sysctl -a | grep tcp

I have all other services disabled other than SSH and FTP. It's the issue on any volume I have on the machine. I've tried two different NICs, changed out cables, tried 3 different switches. I upgraded to 8.0.3 from 8.0.1 to see if it fixed this problem and it didn't.

This started happening seemingly out of the blue, any ideas on what may be wrong?

AdamB
  • 189
  • 1
  • 7
  • Look at the ifconfig output. Are there any collisions or anything? Can you do a test with something like iperf instead of scp, just to rule out anything to do with ssh/drive speeds and so on? – Zoredache Feb 25 '12 at 00:31
  • I added my ifconfig and iperf outputs. – AdamB Feb 25 '12 at 10:37
  • 1
    You **do** realize that you misspelled `brontosaurus` and also that the brontosaur is really a myth? It was just an apatosaurus with the head of a camarasaurus glued on. – Wesley Feb 27 '12 at 04:01
  • @WesleyDavid it's intentional... – AdamB Feb 27 '12 at 04:47
  • How much RAM does your box have? – duenni Feb 28 '12 at 09:51
  • you need to run TCPDUMP to save the packets in file, when the data being sent is slow.Then analyze the file through wireshark to see if there are packet delays, issues, packet drops etc...it will expose as lot info about the traffic stats. – Farhan Feb 28 '12 at 17:49
  • @duenni my box has 8gb – AdamB Feb 28 '12 at 23:00
  • Just to be sure: do you try with another "client" machine (not the 192.168.0.6) ? – Ouki Mar 01 '12 at 03:48
  • @ouki tried from different clients, same thing – AdamB Mar 02 '12 at 02:59

1 Answers1

1

This sounds like a possible duplex mismatch on your server and the network switch.

It looks like your nas box is set to 1gb full duplex. Is your network switch also set to 1gb full duplex?

pablo
  • 3,040
  • 1
  • 19
  • 23
  • I'm not sure. It's plugged into one of these http://www.dlink.com/DGS-2208. I get the same results no matter what switch I use. I've tried unplugging everything else except the server + client on the switch, same deal. – AdamB Mar 02 '12 at 03:10
  • is the light on the front of the switch where the server and client are green or amber? – pablo Mar 02 '12 at 03:45
  • the light is green – AdamB Mar 02 '12 at 06:16
  • 1
    Just try to connect your notebook directly to your FreeNAS. No need of a crossover cable. And/or enforce 100Mb/s speed (mii-tool with Linux, but I don't know by hearth with FreeBSD). – Gregory MOUSSAT Mar 03 '12 at 00:00
  • I tried forcing 100mbit and still the same issue. – AdamB Mar 05 '12 at 02:31
  • just checking if you forced both ends or just the server? problem could be with the client. If both lights are green it would suggest that the negotiation was successful. – pablo Mar 05 '12 at 21:07
  • Along with forcing 100mbit, force full/half duplex. (If you don't have ethtool, you'll want miitool or the like.) You'll also want to turn auto negotiate off while you're doing it. In short, you get to try all possible versions. (It's not a bad idea to start out with 100 mbit/Half Duplex, then 100 full. You should never have a switch in 1Gbit/half, though. If somehow your switch has got itself into that mode, time to punt the switch.) And make sure you check both client and server. – M. Ellis Mar 07 '12 at 06:37