# echo 107374182400 >/sys/module/zfs/parameters/zfs_dirty_data_maxThere are pros and cons obviously, depending on specifc situation. For example if you have multiple clients writing to your NAS server then increasing the threshold might not be such a good idea. Generally, if you only have one client doing any heave writes from time to time you should benefit from this tuning.
There is an excellent blog on tuning zfs write throttle if you want to understand it in more detail.
How do you make the setting persitent in TrueNAS Scale in a supported way?
Go to System Settings -> Advanced -> Init/Shutdown Scripts -> Add
Type: Command Command: echo 107374182400 >/sys/module/zfs/parameters/zfs_dirty_data_max When: Post InitAfter reboot it will pick up the new value.
The advantage of setting it up this way is that it will be included in exported TrueNAS config file.