From nobody Thu Oct 12 22:59:44 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S64pY07qRz4x30Z for ; Thu, 12 Oct 2023 22:59:49 +0000 (UTC) (envelope-from void@f-m.fm) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4S64pX0fWSz4MWh for ; Thu, 12 Oct 2023 22:59:48 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=aCJmL9go; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=HL+SLAnj; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 66.111.4.27 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 8DB2E5C0269 for ; Thu, 12 Oct 2023 18:59:46 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 12 Oct 2023 18:59:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1697151586; x=1697237986; bh=dY Wsw5WZk013LeDDEej2dFu9HKy/JQv2fDqrtFkKt9k=; b=aCJmL9go3a586dK+nR KN1AHRf/6JhDLaVeX5D+tmntOYPHGQiwWjjyC52MYx/h/bKeL+gVPe9XwzeBoH5/ KiRQOP7LDOEw6WJZy6/7XRhGH9+a1eWx+41m/53cyO0pw+ON0luFBiIZ76rNSpjD l8YgsKDhyeAVpt3eLOcEQnnzPsxOwcwfJ5NOQ5uZcVMmAbRS78YSPYhlrPbCtq0M oFcRB4C4tvF+EGzS8bL2/++cGyTQRknQ4nQ5sMIEgJNVfdoR/ZG2yFVF5QA6ybq3 ser90Ny4fgmfKVZRO9rdLxy/8bZ/Y0mBe4g4KqhpIB6oDsm/L/pmm9+WXwRODpLV I63w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1697151586; x=1697237986; bh=dYWsw5WZk013L eDDEej2dFu9HKy/JQv2fDqrtFkKt9k=; b=HL+SLAnjclBTSovrkipwPpO3B5Jua 3VMLHQCekWKtuLTOI/pZjjogEenAczhCmo06wrczDVviJCt8p72fjDF/G+Fv0ZPN 0Oa2fmX24mgR3tNEhxKeWxnOCGknDggy6J3PaB7hc73tecna9lXmhcmfKEgKoJqV WV1HH6i4B5iicy0p5d9KEoSc5O2XPnfgnMeU5FuDW5VJCOeVBXeVMTB/Ur2HpWMM x6mQIx7GO5USfiu0RRWcziJk22b+d3SM5s+yKW6EJn9FlY8CmDDgISNnBhlca6wk AbcbilHFWQHeuCPde6+cpLFSsaHsX/4FOXqJnSumNQgo0C8YF5yE1o+7g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedriedugdduiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehttdertd dttddvnecuhfhrohhmpehvohhiugcuoehvohhiugesfhdqmhdrfhhmqeenucggtffrrght thgvrhhnpeekleduvdelhfeileefgffghfffkedtheellefgudfgvdegkeejjedutdehhe fgueenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehv ohhiugesfhdqmhdrfhhm X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 12 Oct 2023 18:59:46 -0400 (EDT) Date: Thu, 12 Oct 2023 23:59:44 +0100 From: void To: freebsd-current@freebsd.org Subject: Re: how to set vfs.zfs.arc.max in 15-current ? Message-ID: Mail-Followup-To: freebsd-current@freebsd.org References: <20231012182749.AA34F185@slippy.cwsent.com> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20231012182749.AA34F185@slippy.cwsent.com> X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.55 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_LONG(-0.99)[-0.995]; NEURAL_HAM_MEDIUM(-0.95)[-0.952]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; MID_RHS_NOT_FQDN(0.50)[]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.27]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.27:from]; NEURAL_HAM_SHORT(-0.00)[-0.005]; RCVD_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; FREEMAIL_FROM(0.00)[f-m.fm]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4S64pX0fWSz4MWh On Thu, Oct 12, 2023 at 11:27:49AM -0700, Cy Schubert wrote: >In message , 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 --