Hi,
i have a massive Speed difference with the same Pool on different Systems.
I created the Pool on Nas4Free, 2x Hitachi 3TB -> mirror
I tested the Write/Read with DD:
dd if=/dev/zero of=/mnt/raid1-hd/Data/test.dat bs=2M count=1400
dd if=/mnt/raid1-hd/Data/test.dat of=/dev/null bs=2M
Between write and read Test i rebooted the System and I've done the Tests on each System multiple times:
Nas4Free 9.1.0.1 - Sandstorm (Revision 804)
Write: ~103 MB/Sec
Read: ~105 MB /Sec
FreeNAS 9.1
Write: ~105 MB/Sec
Read: ~155 MB /Sec
Debian Wheezy - ZFS on Linux:
Write: ~105 MB/Sec
Read: ~160 MB /Sec
The Write Speed is almost equal on the Systems. But why is the Read Speed on Nas4Free so slow compared with the Others?
I hvae alredeady tested "kernel tune", but no Difference.
Any Ideas?
This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
Speed Difference Nas4Free/FreeNAS/ZoL
-
trendco
- Starter

- Posts: 70
- Joined: 20 Jan 2013 18:59
- Status: Offline
- siftu
- Moderator

- Posts: 71
- Joined: 17 Oct 2012 06:36
- Status: Offline
Re: Speed Difference Nas4Free/FreeNAS/ZoL
Did you enable prefetch in zfskerntune? This seems like the likely cause. If you system has >4GB of RAM the other systems will enable it by default but NAS4Free has is explicitly disabled.
The following shows you how to check.
http://n4f.siftusystems.com/index.php/2 ... it-in-gui/
And here is some performance with it enabled and disabled.
http://n4f.siftusystems.com/index.php/2 ... -prefetch/
Hope that helps.
The following shows you how to check.
http://n4f.siftusystems.com/index.php/2 ... it-in-gui/
And here is some performance with it enabled and disabled.
http://n4f.siftusystems.com/index.php/2 ... -prefetch/
Hope that helps.
System specs: NAS4Free amd64-embedded on ASUSTeK. M5A78L-M LX PLUS - AMD Phenom(tm) II X3 720 Processor - 8GB ECC Ram, Storage: 2x ZFS mirrors with 4x Western Digital Green (WDC WD10EADS)
My NAS4Free related blog - http://n4f.siftusystems.com/
My NAS4Free related blog - http://n4f.siftusystems.com/
-
trendco
- Starter

- Posts: 70
- Joined: 20 Jan 2013 18:59
- Status: Offline
Re: Speed Difference Nas4Free/FreeNAS/ZoL
That's it!
I had taken the tuning Parameters from viewtopic.php?f=71&t=1278&p=10011&hilit=tune#p21974 an there is written vfs.zfs.prefetch_disable="1" !?
The DD Speed is ok now, similar to Freenas and ZoL.
But my AFP Speed is the same as befor, see Post viewtopic.php?f=26&t=4736
Also any Ideas?
is the Solution.vfs.zfs.prefetch_disable="0"
I had taken the tuning Parameters from viewtopic.php?f=71&t=1278&p=10011&hilit=tune#p21974 an there is written vfs.zfs.prefetch_disable="1" !?
The DD Speed is ok now, similar to Freenas and ZoL.
But my AFP Speed is the same as befor, see Post viewtopic.php?f=26&t=4736
Also any Ideas?
Last edited by trendco on 15 Aug 2013 10:16, edited 1 time in total.
- dnar
- Starter

- Posts: 65
- Joined: 27 Apr 2013 10:38
- Location: Perth Australia
- Status: Offline
Re: Speed Difference Nas4Free/FreeNAS/ZoL
Just curious, how stable is ZFS on Linux?
NAS 1: NAS4Free 9.3.0.2 x64 embedded, Intel Core 2 E8400, 8GB, 6 x WD Green 1TB in RAIDZ2, Highpoint 2720 SAS x 8 card 6Gbps
NAS 2: NAS4Free 10.2.0.2 x64 embedded, Intel Core i3-3220, 8GB, 7 x WD Green 750GB in RAIDZ1, onboard SATA 3Gbps
NAS 2: NAS4Free 10.2.0.2 x64 embedded, Intel Core i3-3220, 8GB, 7 x WD Green 750GB in RAIDZ1, onboard SATA 3Gbps
- alexey123
- Moderator

- Posts: 1469
- Joined: 19 Aug 2012 08:22
- Location: Israel, Karmiel
- Contact:
- Status: Offline
Re: Speed Difference Nas4Free/FreeNAS/ZoL
Before check and compare disk speed with dd pls check disk performance with and see output for Transfer rates.
See differences between outside, middle, inside
Code: Select all
diskinfo -ctv /dev/<your disk>See differences between outside, middle, inside
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
-
trendco
- Starter

- Posts: 70
- Joined: 20 Jan 2013 18:59
- Status: Offline
Re: Speed Difference Nas4Free/FreeNAS/ZoL
See my last Post, i had written that the speed is ok now with:
Now I have only a Problem with AFP Speed -> viewtopic.php?f=26&t=4736vfs.zfs.prefetch_disable="0"