Hi,
I recently built my first FreeNAS based NAS using an HP N36L with 8GB RAM and 4 x Samsung HD204UI 2TB drives configured as a RAIDZ2 pool.
I'm running FreeNAS 8.0.2-RELEASE-amd64 installed to a 4GB flash drive.
The drives in the pool were added with the "force 4K sectors" check box *not* ticked.
I have no additional cards installed (e.g. separate NIC, remote access card etc.)
I'm pretty happy with the stability and robustness of the system (after having two real-world tests of RAIDZ2 resilience early on in its life!) but I'm not happy with basic read/write performance.
In order to investigate this I first carried out network speed tests using iperf and I'm happy with the 920Mb/s transfer rates I'm seeing over the gigabit connection, so I'm pretty sure the problems aren't network related.
I then tried some disk read/write tests using DD and the results I'm seeing are very poor. For example, for writing I get:
i.e. around 45MB/s
And for reading:
i.e. around 207MB/s
Am I right in being disappointed with these results? The read performance isn't too bad but the write speed looks very poor to me.
I've read on this forum that the performance difference between 512B and forced 4K sector is minimal so I do not suspect that is a major factor here.
I've also read about ZFS pre-fetch but given that I have 8GB I assume that this is enabled automatically? (I also assume that this would affect read performance rather than write performance?)
Where do I go next? Can anyone please suggest what the problem might be?
Also it would be useful to see what typical and best-case performance figures for my setup should be (from what I've seen the N36L with 8GB RAM and using Samsung HD204UI drives seems to be a popular configuration).
All help greatly appreciated.
Regards, Darren
I recently built my first FreeNAS based NAS using an HP N36L with 8GB RAM and 4 x Samsung HD204UI 2TB drives configured as a RAIDZ2 pool.
I'm running FreeNAS 8.0.2-RELEASE-amd64 installed to a 4GB flash drive.
The drives in the pool were added with the "force 4K sectors" check box *not* ticked.
I have no additional cards installed (e.g. separate NIC, remote access card etc.)
I'm pretty happy with the stability and robustness of the system (after having two real-world tests of RAIDZ2 resilience early on in its life!) but I'm not happy with basic read/write performance.
In order to investigate this I first carried out network speed tests using iperf and I'm happy with the 920Mb/s transfer rates I'm seeing over the gigabit connection, so I'm pretty sure the problems aren't network related.
I then tried some disk read/write tests using DD and the results I'm seeing are very poor. For example, for writing I get:
Code:
# dd if=/dev/zero of=/mnt/volume1/test.dat bs=8M count=2000 2000+0 records in 2000+0 records out 16777216000 bytes transferred in 350.594035 secs (47853684 bytes/sec)
i.e. around 45MB/s
And for reading:
Code:
# dd if=/mnt/volume1/test.dat of=/dev/null bs=8M count=2000 2000+0 records in 2000+0 records out 16777216000 bytes transferred in 77.037916 secs (217778685 bytes/sec)
i.e. around 207MB/s
Am I right in being disappointed with these results? The read performance isn't too bad but the write speed looks very poor to me.
I've read on this forum that the performance difference between 512B and forced 4K sector is minimal so I do not suspect that is a major factor here.
I've also read about ZFS pre-fetch but given that I have 8GB I assume that this is enabled automatically? (I also assume that this would affect read performance rather than write performance?)
Where do I go next? Can anyone please suggest what the problem might be?
Also it would be useful to see what typical and best-case performance figures for my setup should be (from what I've seen the N36L with 8GB RAM and using Samsung HD204UI drives seems to be a popular configuration).
All help greatly appreciated.
Regards, Darren