03:28:45 hello all, Please help me: I want to limit ARC to 16GB, how to configure it? (I need it is alway limited to 16GB, even the machine is rebooted, the limit is still 16GB), how can I set ti. then you very much 03:29:04 I mean I use smartos, not OmniOS 04:43:25 Read up on the zfscache(8) command, which is a SmartOS exclusive. 04:45:08 Oh shoot. It *is* undocumented due to its experimental nature. 04:47:56 @tozhu ^^^ 04:49:04 https://smartos.org/bugview/OS-8638 04:49:06 → OS-8638: Want ability to specify zfs_arc_max (Resolved) 04:52:32 @tozhu the trick is to do it EARLY. If you're in Triton, see the ticket I pointed at for how you can do it today in Triton for CNs. (You'll have to use profiles, though, and unless your system is 128GiB the "compute-hvm" one will not help. 04:53:00 If you use absolute values, you will need to use the -l option. 04:53:20 `zfscache -l $((16 * 1024 * 1024 * 1024)) ` 04:53:44 ANd you'll have to do it early in the system's boot for best results (it'll shrink but slowly, if you lower it mid-uptime). 04:54:22 There's a reason it's undocumented and not advertised: the mid-uptime shrinking scenario is not comprehensively tested. 09:02:13 danmcd: Thank you very much 12:40:33 other way is to add a loader.conf.local, isn't it? 12:41:53 ah, yes, this is what's there 12:43:12 danmcd: https://docs.smartos.org/modifying-boot-files/ looks a bit less scary to share