Hi,
ZFS (still) has some very conservative default parameter settings for L2ARC which were set back in the days of SATA SSDs. E.g. l2arc_write_max which caps writing to the L2ARC at 8MB/s.
I’ve been using Optanes for SLOG and L2ARC with fine and measurable results under Core, once I adjusted some of the default L2ARC parameters as tunables.
I recently upgraded to Scale. As some may know, Linus refuses to integrate ZFS into the kernel due to legal issues with Oracle so it remains a kernel module. Therefore its settings are module parameters.
When you have control over the OS it’s straightforward to set those via creating a file /etc/modprobe/zfs.conf. But what is the recommended approach in Scale? I haven’t seen this exposed to the user anywhere.
I guess alternatively I could create a small script that sets them programmatically and run it post boot.
However, I would imagine this to be a pretty common topic for anyone who wants to run L2ARC on Scale, so ought to be an official way…?
Edit: typo