I think you're confusing me and Sawtaytoes. I spec in the ticket, and in my posts signature that I have 128GB RAM.Your ticket shows using the postinit method. You have to reboot after applying that method and you also must select postinit as when to run so it runs after boot but before the services start.
I asked the question because Tom Lawrence posted a video recently about doing the change using the method I posted and wanted to ask Kris Moore if the cli method and the postinit method would work the same as I suspected it would.
Have you tried the cli method Kris posted?
# cli
# system advanced update kernel_extra_options="zfs_arc_max=<SIZE IN BYTES>"
For example:
To clear and go back to the defaults:
With both methods you need to reboot after changing the arc_max value for the system to read the new value. The setting is applied at a certain point in the boot process, changing it after that point will not have an effect until next reboot.
When I apply the setting I use for my system, I go from about 62GB (50%) for cache before applying the new value, to 82GB cache which is what I set my value to, after reboot.
I also noticed you are setting to 90GB which is less than 50% of your 256GB You can do that but still need to reboot.
I am aware that the "postinit" method as you call it "works". Although I use it with Cron, due to it being reset when VM's turn to an off state.
But I wasn't aware that a reboot would be necessary for the kernel options to be applied. I will try this later tonight, when I'm back home. Although it was stated by Honeybadger that adjusting zfs_arc_max could be done dynamically. And I then assumed he was regering to the kernel options method.
Edit/update:
You might not actually mean my post. But since you said "your ticket", and I'm the only one filling one. I assumed it was directed to me
Last edited: