Poor LAN Performance

Status
Not open for further replies.

benji0001

Dabbler
Joined
May 18, 2016
Messages
14
I have an issue where my LAN is extremely slow. If I conect to my NAS via SAMBA and try to copy files over it is done at a rate of only 22MB per second. This is really slow considering I have a 1GB NIC in the NAS and computer that I am transfer files from. Is there a way to increase this throughput. I am also running RAID via ZFS on a plus 10GB storage system. Any ideas would be appreciated
 

benji0001

Dabbler
Joined
May 18, 2016
Messages
14
Sorry for not adding more specifics;
PC-Q18 Mini-ITX Case
ASROCK Z87E-ITX Motherboard
Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz
5-3TB Western Digital Red Drives
16GB Memory
FreeNAS-9.3-STABLE-201602031011
Plexmediaserver 0.9.15.6.1714
Crashplan 3.6.3_1
Windows (CIFS)

If there is a way to export the reports from Plex I will try to do that, but I haven't figured that out.
If there is anything else you need to know let me know and I will try to get it for you.

Thanks
Benji0001
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
Sorry for not adding more specifics;
PC-Q18 Mini-ITX Case
ASROCK Z87E-ITX Motherboard
Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz
5-3TB Western Digital Red Drives
16GB Memory
FreeNAS-9.3-STABLE-201602031011
Plexmediaserver 0.9.15.6.1714
Crashplan 3.6.3_1
Windows (CIFS)

If there is a way to export the reports from Plex I will try to do that, but I haven't figured that out.
If there is anything else you need to know let me know and I will try to get it for you.

Thanks
Benji0001
Why would we need any Plex reports? This is a FreeNAS forum.

I'm guessing your motherboard uses realtek NIC?
 

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
And tell us how full your pool is ("zpool list"), also the output from "zpool status" would be helpful.
 

benji0001

Dabbler
Joined
May 18, 2016
Messages
14
Here is a copy of my ifconfig:
# ifconfig
em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=40098<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWTSO>
ether bc:5f:f4:ca:28:84
inet 192.168.1.164 netmask 0xffffff00 broadcast 192.168.1.255
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
ipfw0: flags=8801<UP,SIMPLEX,MULTICAST> metric 0 mtu 65536
nd6 options=9<PERFORMNUD,IFDISABLED>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 02:2c:4f:f4:84:00
nd6 options=9<PERFORMNUD,IFDISABLED>
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: epair1a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 8 priority 128 path cost 2000
member: epair0a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 7 priority 128 path cost 2000
member: em0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 1 priority 128 path cost 20000
epair0a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 02:d4:40:00:07:0a
nd6 options=1<PERFORMNUD>
media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
status: active
epair1a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 02:e6:d2:00:08:0a
nd6 options=1<PERFORMNUD>
media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
status: active

Here is the zpool list:
zpool list
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
freenas-boot 7.44G 2.36G 5.08G - - 31% 1.00x ONLINE -
plex 13.6T 9.48T 4.15T - 16% 69% 1.00x ONLINE /mnt

Here is the zpool status:
zpool status
pool: freenas-boot
state: ONLINE
scan: scrub repaired 0 in 0h6m with 0 errors on Wed May 18 03:51:06 2016
config:

NAME STATE READ WRITE CKSUM
freenas-boot ONLINE 0 0 0
da0p2 ONLINE 0 0 0

errors: No known data errors

pool: plex
state: ONLINE
scan: scrub repaired 0 in 13h25m with 0 errors on Sun Mar 27 13:25:14 2016
config:

NAME STATE READ WRITE CKSUM
plex ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
gptid/44b555b3-97a8-11e3-8c73-bc5ff4ca2884 ONLINE 0 0 0
gptid/451a543b-97a8-11e3-8c73-bc5ff4ca2884 ONLINE 0 0 0
gptid/457e413f-97a8-11e3-8c73-bc5ff4ca2884 ONLINE 0 0 0
gptid/45e6f3c4-97a8-11e3-8c73-bc5ff4ca2884 ONLINE 0 0 0
gptid/46a77dc7-97a8-11e3-8c73-bc5ff4ca2884 ONLINE 0 0 0

errors: No known data errors
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
At almost 70% full and 16% fragmentation, you may be seeing natural degradation due to fragmentation. What are your write speeds like if you try writing to the pool directly on the NAS?
 

benji0001

Dabbler
Joined
May 18, 2016
Messages
14
for my network setup its as follows:

cable network router
four computers (laptop, 2-desktop, freebsd media server)
any wifi that connects (phones, tablets)
 

benji0001

Dabbler
Joined
May 18, 2016
Messages
14
sorry can you tell me what the command is? i'm not sure which command to add to iperf to get the base line
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
On freenas you run 'iperf -s' then depending on your client os you will need to run the client version of iperf. You should also run it the other way around by making freenas the client.
 

benji0001

Dabbler
Joined
May 18, 2016
Messages
14
ok I tried to run iperf on the freenas machine as the server and my desktop as the client with no luck. I also tried switching the roles where the desktop was the server and the freenas was the client. each time the machine would connect by not transmit anything. I was able to run iperf between the desktop and itself and it worked fine with the following results:
iperf3 -c 192.168.1.13
Connecting to host 192.168.1.13, port 5201
[ 4] local 192.168.1.13 port 3635 connected to 192.168.1.13 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 291 MBytes 2.43 Gbits/sec
[ 4] 1.00-2.00 sec 311 MBytes 2.62 Gbits/sec
[ 4] 2.00-3.00 sec 315 MBytes 2.64 Gbits/sec
[ 4] 3.00-4.00 sec 318 MBytes 2.66 Gbits/sec
[ 4] 4.00-5.00 sec 315 MBytes 2.65 Gbits/sec
[ 4] 5.00-6.00 sec 319 MBytes 2.67 Gbits/sec
[ 4] 6.00-7.00 sec 321 MBytes 2.69 Gbits/sec
[ 4] 7.00-8.00 sec 318 MBytes 2.67 Gbits/sec
[ 4] 8.00-9.00 sec 315 MBytes 2.64 Gbits/sec
[ 4] 9.00-10.00 sec 319 MBytes 2.66 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 3.07 GBytes 2.63 Gbits/sec sender
[ 4] 0.00-10.00 sec 3.07 GBytes 2.63 Gbits/sec receiver

iperf Done.

I tried pinging the freenas machine from the local desktop and it worked fine. I tried pinging the local desktop from the freenas machine and it timed out every time I ran it. I'm not sure why its working in one direction only.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Does freenas have its network configured? If using static ip you need to set the gateway and nameserver.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Those iperf tests confirm there is a networking problem. You should have gotten at least 850Mb/sec.
 

benji0001

Dabbler
Joined
May 18, 2016
Messages
14
I'm beginning to think this is a firewall issue within my desktop windows 10 machine. I managed to finally turn off both installed security device and windows firewall. I then tried to ping from the FreeNAS machine to the desktop and was successful. now when I tried to run iperf again between the two machines I still couldn't get a throughput test running. I can run as client or server on the FreeNAS without issue but can't get any data passing. I shouldn't have to put I'm tempted to put in some static routes and see what happens.
 
Status
Not open for further replies.
Top