Re: how to set vfs.zfs.arc.max in 15-current ?
- Reply: Juraj Lutter : "Re: how to set vfs.zfs.arc.max in 15-current ?"
- In reply to: Cy Schubert : "Re: how to set vfs.zfs.arc.max in 15-current ?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 12 Oct 2023 22:59:44 UTC
On Thu, Oct 12, 2023 at 11:27:49AM -0700, Cy Schubert wrote: >In message <ZSgtvuWSpRKxIE9N@int21h>, void writes: >> Is there a new way to set arc.max in 15-current? >> >> It's no longer settable (except to "0") in main-n265801 (Oct 7th) >> while multiuser. >> >> # sysctl vfs.zfs.arc.max=8589934592 >> vfs.zfs.arc.max: 0 >> sysctl: vfs.zfs.arc.max=8589934592: Invalid argument > >Try reducing your arc.max by an order of 10. This suggests that it's >probably failing in param_set_arc_max() in the val >= arc_all_memory() >comparison.. Hi, thanks for replying. Sadly, your suggestion doesn't work in this case: root@beer:/usr/src# sysctl vfs.zfs.arc.max=8589934592 vfs.zfs.arc.max: 0 sysctl: vfs.zfs.arc.max=8589934592: Invalid argument root@beer:/usr/src# sysctl vfs.zfs.arc.max=858993459 vfs.zfs.arc.max: 0 sysctl: vfs.zfs.arc.max=858993459: Invalid argument root@beer:/usr/src# sysctl vfs.zfs.arc.max=85899345 vfs.zfs.arc.max: 0 sysctl: vfs.zfs.arc.max=85899345: Invalid argument root@beer:/usr/src# sysctl vfs.zfs.arc.max=8589934 vfs.zfs.arc.max: 0 sysctl: vfs.zfs.arc.max=8589934: Invalid argument root@beer:/usr/src# sysctl vfs.zfs.arc.max=858993 vfs.zfs.arc.max: 0 sysctl: vfs.zfs.arc.max=858993: Invalid argument root@beer:/usr/src# sysctl vfs.zfs.arc.max=85899 vfs.zfs.arc.max: 0 sysctl: vfs.zfs.arc.max=85899: Invalid argument root@beer:/usr/src# sysctl vfs.zfs.arc.max=8589 vfs.zfs.arc.max: 0 sysctl: vfs.zfs.arc.max=8589: Invalid argument --