onthax
Explorer
- Joined
- Jan 31, 2012
- Messages
- 81
So i've been using freenas for a while, usbing CIFS for windows shares and NFS for vmware esxi5 boxes to connect to.
I found my write and read latency was too slow using zfs and esxi, so i decided to rebuild my raidz array as a raid 10 zfs array to reduce the raid write penalty
Current configuration
all the drives are 4k drives, and when I run zdb storage | grep ashift i get
so it's all aligned to use 4k sectors, running in zfs raid 10
When i use iscsi or NFS from my esxi5 boxes i get huge latency still, i'm played around with zfs tuning and currently have
vfs.zfs.txg.timeout=5
vfs.zfs.write_limit_override=1073741824
vfs.zfs.cache_flush_disable=1
but zfs is just not working fast enough. I'm tossing up going back to ext4 but i really like zfs snapshots and data validation.
Would disabling ZIL to get decent latency be better than going to EXT4 for data protection?
Specs are:
2.4ghz quad core Q6600, not using much cpu
4GB ram
I found my write and read latency was too slow using zfs and esxi, so i decided to rebuild my raidz array as a raid 10 zfs array to reduce the raid write penalty
Current configuration
Code:
zpool status pool: storage state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM storage ONLINE 0 0 0 mirror ONLINE 0 0 0 ada1 ONLINE 0 0 0 ada2 ONLINE 0 0 0 mirror ONLINE 0 0 0 ada3 ONLINE 0 0 0 ada4 ONLINE 0 0 0 errors: No known data errors
all the drives are 4k drives, and when I run zdb storage | grep ashift i get
Code:
zdb storage | grep ashift ashift=12 ashift=12
so it's all aligned to use 4k sectors, running in zfs raid 10
When i use iscsi or NFS from my esxi5 boxes i get huge latency still, i'm played around with zfs tuning and currently have
vfs.zfs.txg.timeout=5
vfs.zfs.write_limit_override=1073741824
vfs.zfs.cache_flush_disable=1
but zfs is just not working fast enough. I'm tossing up going back to ext4 but i really like zfs snapshots and data validation.
Would disabling ZIL to get decent latency be better than going to EXT4 for data protection?
Specs are:
2.4ghz quad core Q6600, not using much cpu
4GB ram