I wanted to optimize my all SSD storage array on my FreeNAS server but I had a hard time finding information in one place. After a lot of digging I pulled things from several places. This is what I came up with. It boiled down to two main settings
zdb -U /data/zfs/zpool.cache | grep ashift
I read here a recommended setting of ashift=13, recordsize=8k for VM workloads on SSDs.
How to change recordsize:
This is easily done in the GUI or command line and can be changed on the fly.
zfs set recordize <value> <volume>
How to change ashift:
Backup your data and destroy the pool.
Modify the setting dictating minimum ashift setting as outlined here
Re-create the pool.