Hi there,
Years ago I used FreeNAS very actively, but as time progressed I started to use software like Napp-IT. Now I am building a new NAS and I thought it would be nice and fun to use FreeNAS again. But the problem is that it isn't going as smooth as I had hoped so I hope some of you guys can help me with some issues.
I have multiple issues, one is that I can't ping my PC from the FreeNAS-server and the other is very slow write and read speeds. But before I elaborate on this, let's give the environment I am testing this in. I hope it's all clear enough, but if something is missing please tell me so I can provide it.
Hardware
The FreeNAS-server consists of the following:
Problem 1
The second problem of slow write and read speeds might have to do with the ping problem, so let's do ping first.
The PC/client can ping to the FreeNAS-server perfectly. See:
When I try to do the same from the FreeNAS-server to the client I get:
These are the outputs of ifconfig / ipconfig:
Does anyone know what can be wrong or where to look for the cause of the problem?
Problem 2
Unfortunately I get rather slow read and write speeds from and to the NAS. If I copy a file from a CIFS share to my client then it will max out at around 160 MB/s. The other way around will max at around 260 MB/s.
I use a ramdisk on my client and have 2 volumes in the FreeNAS server. Volume VOL1SSD has one SSD, Volume VOL3SSD has 3 striped SSD's. I was hoping that 3 striped SSD's would be fast enough to saturate the 10g connection, that's why there are three.
Some dd commands:
So I don't think the storage is the bottleneck, there is something wrong in the network. I read the post of the jgreco about MTU size and that 9000 won't affect performance much but adds a lot of complexity/possible issues and stuff so I have left it at 1500.
I guess it's better to first troubleshoot the network so that it can ping, because maybe the issue with ping are also in one or another way the cause of the slow transfer speed.
Does anyone have some pointers on what I can look at/what I can do?
Thanks in advance!
Years ago I used FreeNAS very actively, but as time progressed I started to use software like Napp-IT. Now I am building a new NAS and I thought it would be nice and fun to use FreeNAS again. But the problem is that it isn't going as smooth as I had hoped so I hope some of you guys can help me with some issues.
I have multiple issues, one is that I can't ping my PC from the FreeNAS-server and the other is very slow write and read speeds. But before I elaborate on this, let's give the environment I am testing this in. I hope it's all clear enough, but if something is missing please tell me so I can provide it.
Hardware
The FreeNAS-server consists of the following:
- SuperMicro X11SSH-LN4F
- Intel Core i3-6100
- 16 GB of ECC ram
- 2 x Samsung 840 Evo + Samsung 830 (stripe)
- 1 x Samsung 850 Evo
- Intel X520-DA2 10 gigabit NIC
- Intel FTLX8571D3BCV-IT SFP+ LC module
Problem 1
The second problem of slow write and read speeds might have to do with the ping problem, so let's do ping first.
The PC/client can ping to the FreeNAS-server perfectly. See:
Code:
c:\>ping 192.168.1.2 Pinging 192.168.1.2 with 32 bytes of data: Reply from 192.168.1.2: bytes=32 time<1ms TTL=64 Reply from 192.168.1.2: bytes=32 time<1ms TTL=64 Reply from 192.168.1.2: bytes=32 time<1ms TTL=64 Reply from 192.168.1.2: bytes=32 time<1ms TTL=64 Ping statistics for 192.168.1.2: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms
When I try to do the same from the FreeNAS-server to the client I get:
Code:
[root@NAS10G] ~# ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1): 56 data bytes --- 192.168.1.1 ping statistics --- 801 packets transmitted, 0 packets received, 100.0% packet loss
These are the outputs of ifconfig / ipconfig:
Code:
ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=e407bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCS UM,TSO4,TSO6,LRO,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6> ether 00:1b:21:87:2d:98 inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=9<PERFORMNUD,IFDISABLED> media: Ethernet autoselect (10Gbase-SR <full-duplex,rxpause,txpause>) status: active
Code:
Ethernet adapter Ethernet 3: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe80::ccf6:40e8:9111:eda9%23 IPv4 Address. . . . . . . . . . . : 192.168.1.1 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . :
Does anyone know what can be wrong or where to look for the cause of the problem?
Problem 2
Unfortunately I get rather slow read and write speeds from and to the NAS. If I copy a file from a CIFS share to my client then it will max out at around 160 MB/s. The other way around will max at around 260 MB/s.
I use a ramdisk on my client and have 2 volumes in the FreeNAS server. Volume VOL1SSD has one SSD, Volume VOL3SSD has 3 striped SSD's. I was hoping that 3 striped SSD's would be fast enough to saturate the 10g connection, that's why there are three.
Some dd commands:
Code:
Single SSD volume WRITE [root@NAS10G] ~# dd if=/dev/zero of=/mnt/VOL1SSD/DS1SSD/ddfile bs=1024k count=20000 20971520000 bytes transferred in 37.189942 secs (563903002 bytes/sec) = 537 MB/s [root@NAS10G] ~# dd if=/dev/zero of=/mnt/VOL1SSD/DS1SSD/ddfile bs=2048k count=10000 20971520000 bytes transferred in 37.588777 secs (557919721 bytes/sec) = 532 MB/s [root@NAS10G] ~# dd if=/dev/zero of=/mnt/VOL1SSD/DS1SSD/ddfile bs=4096k count=5000 20971520000 bytes transferred in 37.932039 secs (552870885 bytes/sec) = 527 MB/s Multi SSD volume WRITE [root@NAS10G] ~# dd if=/dev/zero of=/mnt/VOL3SSD/DS10G/ddfile bs=1024k count=20000 20971520000 bytes transferred in 22.074732 secs (950023762 bytes/sec) = 906 MB/s [root@NAS10G] ~# dd if=/dev/zero of=/mnt/VOL3SSD/DS10G/ddfile bs=2048k count=10000 20971520000 bytes transferred in 21.870604 secs (958890754 bytes/sec) = 914 MB/s [root@NAS10G] ~# dd if=/dev/zero of=/mnt/VOL3SSD/DS10G/ddfile bs=4096k count=5000 20971520000 bytes transferred in 23.286719 secs (900578563 bytes/sec) = 858 MB/s
So I don't think the storage is the bottleneck, there is something wrong in the network. I read the post of the jgreco about MTU size and that 9000 won't affect performance much but adds a lot of complexity/possible issues and stuff so I have left it at 1500.
I guess it's better to first troubleshoot the network so that it can ping, because maybe the issue with ping are also in one or another way the cause of the slow transfer speed.
Does anyone have some pointers on what I can look at/what I can do?
Thanks in advance!