Hey there folks,
I tried to set up my old mini-atx build with FreeNAS 9.2. It only has an Intel Atom D525 with 4gb RAM but that should be enough for my usecase.
Everything went pretty well but my read/write speed is really bad.
I tried the same setup with linux and aes encryption and got about 9mb/s read/write over samba.
A change from ZFS + Encryption to ZFS and later to UFS had no effect so I figured out it wasn't a problem with CPU or RAM, probably a network issue(?).
I'm really puzzled right now what is causing this poor performance, hope you can help me.
Here are some outputs that might give you a clue:
I tried to set up my old mini-atx build with FreeNAS 9.2. It only has an Intel Atom D525 with 4gb RAM but that should be enough for my usecase.
Everything went pretty well but my read/write speed is really bad.
I tried the same setup with linux and aes encryption and got about 9mb/s read/write over samba.
A change from ZFS + Encryption to ZFS and later to UFS had no effect so I figured out it wasn't a problem with CPU or RAM, probably a network issue(?).
I'm really puzzled right now what is causing this poor performance, hope you can help me.
Here are some outputs that might give you a clue:
re0@pci0:1:0:0: class=0x020000 card=0xd6258086 chip=0x816810ec rev=0x06 hdr=0x00
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
class = network
subclass = ethernet
bin/iperf.exe -c 192.168.178.200 -P 1 -i 1 -p 5001 -f M -t 10
------------------------------------------------------------
Client connecting to 192.168.178.200, TCP port 5001
TCP window size: 0.06 MByte (default)
------------------------------------------------------------
[128] local 192.168.178.61 port 17861 connected with 192.168.178.200 port 5001
[ ID] Interval Transfer Bandwidth
[128] 0.0- 1.0 sec 1.40 MBytes 1.40 MBytes/sec
[128] 1.0- 2.0 sec 1.51 MBytes 1.51 MBytes/sec
[128] 2.0- 3.0 sec 1.34 MBytes 1.34 MBytes/sec
[128] 3.0- 4.0 sec 1.55 MBytes 1.55 MBytes/sec
[128] 4.0- 5.0 sec 1.15 MBytes 1.15 MBytes/sec
[128] 5.0- 6.0 sec 1.10 MBytes 1.10 MBytes/sec
[128] 6.0- 7.0 sec 1.55 MBytes 1.55 MBytes/sec
[128] 7.0- 8.0 sec 1.43 MBytes 1.43 MBytes/sec
[128] 8.0- 9.0 sec 1.56 MBytes 1.56 MBytes/sec
[128] 9.0-10.0 sec 1.57 MBytes 1.57 MBytes/sec
[128] 0.0-130.1 sec 14.2 MBytes 0.11 MBytes/sec
read on server close failed: Connection timed out.
Done.
bin/iperf.exe -c 192.168.178.200 -u -P 1 -i 1 -p 5001 -f M -b 1.0M -t 10 -T 1
------------------------------------------------------------
Client connecting to 192.168.178.200, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size: 0.06 MByte (default)
------------------------------------------------------------
[128] local 192.168.178.61 port 52272 connected with 192.168.178.200 port 5001
[ ID] Interval Transfer Bandwidth
[128] 0.0- 1.0 sec 0.12 MBytes 0.12 MBytes/sec
[128] 1.0- 2.0 sec 0.12 MBytes 0.12 MBytes/sec
[128] 2.0- 3.0 sec 0.12 MBytes 0.12 MBytes/sec
[128] 3.0- 4.0 sec 0.12 MBytes 0.12 MBytes/sec
[128] 4.0- 5.0 sec 0.12 MBytes 0.12 MBytes/sec
[128] 5.0- 6.0 sec 0.12 MBytes 0.12 MBytes/sec
[128] 6.0- 7.0 sec 0.12 MBytes 0.12 MBytes/sec
[128] 7.0- 8.0 sec 0.12 MBytes 0.12 MBytes/sec
[128] 8.0- 9.0 sec 0.12 MBytes 0.12 MBytes/sec
[128] 9.0-10.0 sec 0.12 MBytes 0.12 MBytes/sec
[128] 0.0-10.0 sec 1.19 MBytes 0.12 MBytes/sec
[128] WARNING: did not receive ack of last datagram after 10 tries.
[128] Sent 851 datagrams
Done.
bin/iperf.exe -c 192.168.178.200 -u -P 1 -i 1 -p 5001 -f M -b 10.0M -t 10 -T 1
------------------------------------------------------------
Client connecting to 192.168.178.200, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size: 0.06 MByte (default)
------------------------------------------------------------
[128] local 192.168.178.61 port 52298 connected with 192.168.178.200 port 5001
[ ID] Interval Transfer Bandwidth
[...]
[128] 0.0-10.0 sec 7.72 MBytes 0.77 MBytes/sec
[128] WARNING: did not receive ack of last datagram after 10 tries.
[128] Sent 5509 datagrams
Done.
[root@freenas] /mnt/THE_SHELTER# dd if=/dev/zero of=testfile bs=8192k count=100
100+0 records in
100+0 records out
838860800 bytes transferred in 3.270409 secs (256500264 bytes/sec)