5

I have a direct connection setup between my NAS and server with two gigabit links bonded in mode 0. I also have a single gigabit link from my server to my network. I want to test how the bond is performing in mode 0.

netstat -s | grep 'segments retransmited' | awk '{print $1}' -> 21983

netstat -s | grep 'segments send out' | awk '{print $1}' -> 91874454

21983/91874454 = .000239272

Is this considered high? There is a lot of traffic between this server and the internet.

Also, is there a better way to test packet loss on just the direct connection between my NAS and server? ethtool stats are not available because the driver is not supported. Thanks.

1 Answers1

5

What is determined as "high" depends greatly on the application. In this case it's a fileserver using NFS, which is very forgiving to retransmissions.

In general if less than 1% of your traffic is redundant, you're in really good shape. You're far below that, so it doesn't look like this round-robin bond is causing retransmission issues (likely due to the fact that this is only a point-to-point link - a good use case for a mode 0 bond).

If you're having transmission problems regarding speed, you might look closer at jitter. This can be measured between two nodes that have iperf installed - not sure what your NAS is, though. balance-rr can cause issues with jitter, but in point-to-point links it shouldn't be a huge problem with NFS.

Spooler
  • 7,286