FreeNAS box has slow network transmit speeds

7,220

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?

Share:
7,220

Related videos on Youtube

AdamB
Author by

AdamB

Updated on September 18, 2022

Comments

  • AdamB
    AdamB almost 2 years

    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?

    • Admin
      Admin over 12 years
      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?
    • Admin
      Admin over 12 years
      I added my ifconfig and iperf outputs.
    • Admin
      Admin over 12 years
      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.
    • Admin
      Admin over 12 years
      How much RAM does your box have?
    • Admin
      Admin over 12 years
      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.
    • Admin
      Admin over 12 years
      @duenni my box has 8gb
    • Admin
      Admin over 12 years
      Just to be sure: do you try with another "client" machine (not the 192.168.0.6) ?
    • Admin
      Admin over 12 years
      @ouki tried from different clients, same thing
  • AdamB
    AdamB over 12 years
    I'm not sure. It's plugged into one of these 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.
  • pablo
    pablo over 12 years
    is the light on the front of the switch where the server and client are green or amber?
  • AdamB
    AdamB over 12 years
    the light is green
  • Gregory MOUSSAT
    Gregory MOUSSAT over 12 years
    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).
  • AdamB
    AdamB over 12 years
    I tried forcing 100mbit and still the same issue.
  • pablo
    pablo over 12 years
    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.
  • M. Ellis
    M. Ellis over 12 years
    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.