I am having a sudden slowdown mainly with SAMBA but I'm not 100% sure it's the issue.
I have 3 network interfaces - 1 is for management the other two are link aggregated LACP mode - switch set to trunk port LACP
Things were humming along at about 60MB per second read and write to the samba share.
Someone screwed around with my switch and I had to reset to factory and reconfigure.
Suddenly SMB has dropped to 10MBps read and 4 MBps write.
I tested with iperf on both the management interface and the lagg - it appears the network side is okay but not really sure as I didn't use iperf before the issue to have anything to compare against - my iperf results below:
tech@opensuse:~> iperf -c 172.16.0.6 -i2 <---- (This is the management interface ip)
------------------------------------------------------------
Client connecting to 172.16.0.6, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 172.16.0.129 port 42805 connected with 172.16.0.6 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 2.0 sec 22.5 MBytes 94.4 Mbits/sec
[ 3] 2.0- 4.0 sec 22.5 MBytes 94.4 Mbits/sec
[ 3] 4.0- 6.0 sec 22.4 MBytes 93.8 Mbits/sec
[ 3] 6.0- 8.0 sec 22.5 MBytes 94.4 Mbits/sec
[ 3] 8.0-10.0 sec 22.4 MBytes 93.8 Mbits/sec
[ 3] 0.0-10.0 sec 112 MBytes 94.3 Mbits/sec
tech@opensuse:~> iperf -c 172.16.0.186 -i2 <----- (This is the lagg ip address)
------------------------------------------------------------
Client connecting to 172.16.0.186, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 172.16.0.129 port 33762 connected with 172.16.0.186 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 2.0 sec 166 MBytes 697 Mbits/sec
[ 3] 2.0- 4.0 sec 166 MBytes 696 Mbits/sec
[ 3] 4.0- 6.0 sec 166 MBytes 698 Mbits/sec
[ 3] 6.0- 8.0 sec 167 MBytes 699 Mbits/sec
[ 3] 8.0-10.0 sec 167 MBytes 700 Mbits/sec
[ 3] 0.0-10.0 sec 832 MBytes 698 Mbits/sec
tech@opensuse:~> iperf -c 172.16.0.6 -i2
------------------------------------------------------------
Client connecting to 172.16.0.6, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 172.16.0.129 port 42805 connected with 172.16.0.6 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 2.0 sec 22.5 MBytes 94.4 Mbits/sec
[ 3] 2.0- 4.0 sec 22.5 MBytes 94.4 Mbits/sec
[ 3] 4.0- 6.0 sec 22.4 MBytes 93.8 Mbits/sec
[ 3] 6.0- 8.0 sec 22.5 MBytes 94.4 Mbits/sec
[ 3] 8.0-10.0 sec 22.4 MBytes 93.8 Mbits/sec
[ 3] 0.0-10.0 sec 112 MBytes 94.3 Mbits/sec
tech@opensuse:~> iperf -c 172.16.0.186 -i2
------------------------------------------------------------
Client connecting to 172.16.0.186, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 172.16.0.129 port 33762 connected with 172.16.0.186 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 2.0 sec 166 MBytes 697 Mbits/sec
[ 3] 2.0- 4.0 sec 166 MBytes 696 Mbits/sec
[ 3] 4.0- 6.0 sec 166 MBytes 698 Mbits/sec
[ 3] 6.0- 8.0 sec 167 MBytes 699 Mbits/sec
[ 3] 8.0-10.0 sec 167 MBytes 700 Mbits/sec
[ 3] 0.0-10.0 sec 832 MBytes 698 Mbits/sec
If I do an ifconfig it appears the lagg0 link is working as expected
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC>
ether 00:1b:21:41:cd:73
inet 172.16.0.186 netmask 0xffffff00 broadcast 172.16.0.255
media: Ethernet autoselect
status: active
laggproto lacp
laggport: re0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
laggport: em0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
Lastly if I do a HDD speed test on my RAID-Z I get a measly 70 MB per second
dd if=/dev/zero of=/mnt/allstorage/tech/testfile bs=8192k count=1000
1000+0 records in
1000+0 records out
8388608000 bytes transferred in 114.727514 secs (73117666 bytes/sec)
So I'm kind wondering if the raid-z is the issue and where I can look to do further testing.
Any help appreciated
I have 3 network interfaces - 1 is for management the other two are link aggregated LACP mode - switch set to trunk port LACP
Things were humming along at about 60MB per second read and write to the samba share.
Someone screwed around with my switch and I had to reset to factory and reconfigure.
Suddenly SMB has dropped to 10MBps read and 4 MBps write.
I tested with iperf on both the management interface and the lagg - it appears the network side is okay but not really sure as I didn't use iperf before the issue to have anything to compare against - my iperf results below:
tech@opensuse:~> iperf -c 172.16.0.6 -i2 <---- (This is the management interface ip)
------------------------------------------------------------
Client connecting to 172.16.0.6, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 172.16.0.129 port 42805 connected with 172.16.0.6 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 2.0 sec 22.5 MBytes 94.4 Mbits/sec
[ 3] 2.0- 4.0 sec 22.5 MBytes 94.4 Mbits/sec
[ 3] 4.0- 6.0 sec 22.4 MBytes 93.8 Mbits/sec
[ 3] 6.0- 8.0 sec 22.5 MBytes 94.4 Mbits/sec
[ 3] 8.0-10.0 sec 22.4 MBytes 93.8 Mbits/sec
[ 3] 0.0-10.0 sec 112 MBytes 94.3 Mbits/sec
tech@opensuse:~> iperf -c 172.16.0.186 -i2 <----- (This is the lagg ip address)
------------------------------------------------------------
Client connecting to 172.16.0.186, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 172.16.0.129 port 33762 connected with 172.16.0.186 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 2.0 sec 166 MBytes 697 Mbits/sec
[ 3] 2.0- 4.0 sec 166 MBytes 696 Mbits/sec
[ 3] 4.0- 6.0 sec 166 MBytes 698 Mbits/sec
[ 3] 6.0- 8.0 sec 167 MBytes 699 Mbits/sec
[ 3] 8.0-10.0 sec 167 MBytes 700 Mbits/sec
[ 3] 0.0-10.0 sec 832 MBytes 698 Mbits/sec
tech@opensuse:~> iperf -c 172.16.0.6 -i2
------------------------------------------------------------
Client connecting to 172.16.0.6, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 172.16.0.129 port 42805 connected with 172.16.0.6 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 2.0 sec 22.5 MBytes 94.4 Mbits/sec
[ 3] 2.0- 4.0 sec 22.5 MBytes 94.4 Mbits/sec
[ 3] 4.0- 6.0 sec 22.4 MBytes 93.8 Mbits/sec
[ 3] 6.0- 8.0 sec 22.5 MBytes 94.4 Mbits/sec
[ 3] 8.0-10.0 sec 22.4 MBytes 93.8 Mbits/sec
[ 3] 0.0-10.0 sec 112 MBytes 94.3 Mbits/sec
tech@opensuse:~> iperf -c 172.16.0.186 -i2
------------------------------------------------------------
Client connecting to 172.16.0.186, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 172.16.0.129 port 33762 connected with 172.16.0.186 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 2.0 sec 166 MBytes 697 Mbits/sec
[ 3] 2.0- 4.0 sec 166 MBytes 696 Mbits/sec
[ 3] 4.0- 6.0 sec 166 MBytes 698 Mbits/sec
[ 3] 6.0- 8.0 sec 167 MBytes 699 Mbits/sec
[ 3] 8.0-10.0 sec 167 MBytes 700 Mbits/sec
[ 3] 0.0-10.0 sec 832 MBytes 698 Mbits/sec
If I do an ifconfig it appears the lagg0 link is working as expected
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC>
ether 00:1b:21:41:cd:73
inet 172.16.0.186 netmask 0xffffff00 broadcast 172.16.0.255
media: Ethernet autoselect
status: active
laggproto lacp
laggport: re0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
laggport: em0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
Lastly if I do a HDD speed test on my RAID-Z I get a measly 70 MB per second
dd if=/dev/zero of=/mnt/allstorage/tech/testfile bs=8192k count=1000
1000+0 records in
1000+0 records out
8388608000 bytes transferred in 114.727514 secs (73117666 bytes/sec)
So I'm kind wondering if the raid-z is the issue and where I can look to do further testing.
Any help appreciated