I wrote a guide year ago or so…second posting has the section with tuning and parameters:
Most of the stuff can be changed at runtime (ZFS is meant to be running 24/7 after all). A lot of parameters to tweak, check the official OpenZFS Documentation (link in the link above) to make sense of them and your options