Solved SSD on zfs system

Recently I've created a thread on SSD on a UFS file sytem (fstune / trim). Solved, very nice
I've got reinstall a freeBSD but this time I'm trying zfs
So is there specific configuration for a SSD disk with zfs ?

I read that : SSD you should force 4k sectors durant zfs install, but I don't remember if i have doing that ?

How to add this option ? Is there another thing to do ?

Code:
$ zdb zroot | grep ashift
                ashift: 12
                ashift: 12

thanks
 
I read that : SSD you should force 4k sectors during ZFS install, but I don't remember if I have doing that ?
As far as I know this is done by default now, so you don't need to do anything.

Depending on the amount of memory the machine has and what else is running you may find your applications and ARC battling for the same free memory. In that case you can set vfs.zfs.arc_max to set an upper limit for the amount of memory ARC will try to use.
 
OK thanks for your answer

Do you think it's a good idea to apply this in order to improve the performance of the disk in read / write ?
Code:
zpool add 'nom_du_zpool' cache 'nom_du_device_ssd'
zpool add 'nom_du_zpool' log 'nom_du_device_ssd'
 
Whether or not cache or log devices will improve performance will depend on your usage. For my own home server it did absolutely nothing. Cache was 99% empty and I had a 99% cache miss rate. This was mainly due to the fact the pool contained mostly large movie files that were read sequentially.
 
Back
Top