Today I decided to label my drives as while I know what they are on a software level I have no record of what slot is what letter and that is not the sort of thing you want to figure out during a drive death. So I began ripping out each drive one by one presuming I will be fine everything is either raidz2 or a 4 way mirror. I had done about 7 when I missclicked onto my truenas vm and saw the web ui was completely frozen at this point I was having a mild heart attack as my only other copy was on onedrive which only contained the most important files.
When I couldnt restart the web UI I decided screw it and rebooted the VM luckly it all was fine and TrueNAS booted properly however I descoved somthing interesting my passbolt which had been tacking about 3-4 seconds to load was tacking less than 1. I realised a lot of things had speed up and with rising hope I checked my Nextcloud install (which can take over a minute) and it loaded in under a second. I realised my ZFS cache must have been to small so I increased its ram and used the command “echo 26843545600 >> /sys/module/zfs/parameters/zfs_arc_max” (as a innt script) to increase the ZFS cache limit to over the 50% it normally is. This has made such a large increase that even now the longest Nextcloud takes is around 5 seconds.