Date: Wed, 6 Jul 2016 01:27:22 +0100 From: Steven Hartland <steven@multiplay.co.uk> To: Nathan Bosley <nathan.bosley@gmail.com> Cc: Eric van Gyzen <vangyzen@freebsd.org>, current@freebsd.org Subject: Re: Setting sysctl vfs.zfs.arc_max failed: 22 Message-ID: <e1fd9ae9-71de-ec0f-53d2-1c5d2f9ccc87@multiplay.co.uk> In-Reply-To: <CAB%2BRvm7c97ionaM02UgTLNt-aqQJLZ8%2B5ZoFL9gHDhmmx=cCcg@mail.gmail.com> References: <ccdd6a5b-4771-6207-adb3-ce9a7960485c@FreeBSD.org> <975e5ae2-2090-94cd-49c0-eee9866ff02b@freebsd.org> <CAB%2BRvm7c97ionaM02UgTLNt-aqQJLZ8%2B5ZoFL9gHDhmmx=cCcg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Ahh right, let me check that. On 06/07/2016 00:51, Nathan Bosley wrote: > I actually have this same problem. > I'll send more details when I get home later. > > I think the problem started for me after r302265. > Before that, I can set vfs.zfs.arc_max and vfs.zfs.arc_min in loader.conf. > After r302265, setting either vfs.zfs.arc_max or vfs.zfs.arc_min in > loader.conf results in the EINVAL errors in 'dmesg': > > Setting sysctl vfs.zfs.arc_max failed: 22 > Setting sysctl vfs.zfs.arc_min failed: 22 > > But setting vfs.zfs.arc_meta_limit in loader.conf works fine. > > But I did notice that using 'sysct' or sysctl.conf for vfs.zfs.arc_max > and vfs.zfs.arc_min works. > I only have problems with setting them now in loader.conf. > > Like I said, I'll try to send output from my setup later. > > Thanks. > > On Tue, Jul 5, 2016 at 6:10 PM, Steven Hartland > <steven@multiplay.co.uk <mailto:steven@multiplay.co.uk>> wrote: > > What is it currently? > > Just had a quick play here: > sysctl vfs.zfs.arc_max > vfs.zfs.arc_max: 32283127808 > sysctl vfs.zfs.arc_max=32283127807 > vfs.zfs.arc_max: 32283127808 -> 32283127807 > sysctl vfs.zfs.arc_max=32283127808 > vfs.zfs.arc_max: 32283127807 -> 32283127808 > > Error 22 = EINVAL so I suspect you're requesting a value which one > of the following: > * < arc_abs_min > * > kmem_size > * < arc_c_min > * < zfs_arc_meta_limit > > Regards > Steve > > On 05/07/2016 22:56, Eric van Gyzen wrote: > > Steven and -current: > > I just updated to r302350 with a GENERIC kernel config. I see > this in > dmesg: > > VT(efifb): resolution 1024x768 > Setting sysctl vfs.zfs.arc_max failed: 22 > CPU: Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz > (3491.98-MHz K8-class > CPU) > > The relevant parts of /boot/loader.conf are: > > zfs_load="YES" > vfs.zfs.arc_max="6442450944" > > Let me know what other information you need. > > Cheers, > > Eric > > > _______________________________________________ > freebsd-current@freebsd.org <mailto:freebsd-current@freebsd.org> > mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org > <mailto:freebsd-current-unsubscribe@freebsd.org>" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e1fd9ae9-71de-ec0f-53d2-1c5d2f9ccc87>