From nobody Sun Jul 24 19:48:27 2022 X-Original-To: bugs@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 4LrYd730vCz4XP9Q for ; Sun, 24 Jul 2022 19:48:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LrYd66xQSz3Z0T for ; Sun, 24 Jul 2022 19:48:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LrYd660KmzVSB for ; Sun, 24 Jul 2022 19:48:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 26OJmQpJ003100 for ; Sun, 24 Jul 2022 19:48:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26OJmQbw003099 for bugs@FreeBSD.org; Sun, 24 Jul 2022 19:48:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 265424] vfs.zfs.arc_min ignored in /boot/loader.conf but works in /etc/sysctl.conf Date: Sun, 24 Jul 2022 19:48:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jon@xyinn.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658692107; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=61KTRiMnKumpO+gMFltKu/eNfSVjniLJtDzjiwid1CY=; b=V0idZHq90SZ1SwngZCrAlfaKqv5A5hFowsA3C+KET+cuF6TF9BKFB34ndBbFDTOKp6b706 SuRwTIZJOAc0TFKHgehzXxsoRdYR8hq5ePE4fXVs43Xo9oJ0jb6PNndOeYbsawg0P11Y70 Fj5VBgqMwVTzIdF4aO3APCqP72YJnDeb1Eyz+ZLAz0lNbFCXn3EtiC5whxTMgZ1p8nOs87 Sbx4JnkIU7uY1yPW0C5ekujiC34WabPNeKjIX/FiVMyIxQCMrDjVamJ6s6T3VlgOEa5XtJ /9h+zoeH5byynDVQi1CfCVCcb8SugC7nAOIsL/is2LJKNa2W5nXqhfA3XX8A6Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658692107; a=rsa-sha256; cv=none; b=oxZgGUUU5FaKoWXbH6Nd/c0AHLPsUuFK9QoRLeNuwq1i4mB9bjeOk9iPRo5tQ/7v12x1xj O6EmYJ1iaz7JZRgj2QWVV6xpq0xryr8mNXHh7+9SK57hSvnjd8mTSGeozjtc04A6pNSjQS 6unPL83JKyMFkw05YNqxoNbvF1nHd4+BItgV5zhFukJ/DVgY4MX8x4UttAEByQ8tmEFjXO p7DcaYXAz0dhdyRLMXAIszd22WDs8t5Q7MpRHveQIel/nL6pw4wQ9W++EHva0qUFbnhllD JRHhOctMXB8vpvtSfEVV3OKEqpB3vX9xqrwv5N5Qtyqqh4zUyTtoubbuKEHEIg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265424 Bug ID: 265424 Summary: vfs.zfs.arc_min ignored in /boot/loader.conf but works in /etc/sysctl.conf Product: Base System Version: 13.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: jon@xyinn.org Hello, I'm currently running (but most likely also affects 13.1-RELEASE): FreeBSD 13.1-STABLE #0 stable/13-n251909-fa872a4bf71: Sun Jul 24 10:33:02 E= DT 2022 root@leslie:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 From my experiments, it seems that `vfs.zfs.arc_min` is ignored in /boot/loader.conf but it works in /etc/sysctl.conf. I'm not sure if it's related to a race condition or just the linear sequence of execution not considering the arc min (maybe too early?). Using quotes or not made no difference. The interesting this is that `vfs.arc.arc_max` works fine in /boot/loader.conf, and in /etc/sysctl.conf (as stated in 20.6.1 of the documentation for both tunables). These are my settings: # ZFS Tuning vfs.zfs.arc_min=3D"4294967296" vfs.zfs.arc_max=3D"8589934592" vfs.zfs.prefetch.disable=3D"1" If you place those in /boot/loader.conf, only `arc_max` and `prefetch.disab= le` will be set properly, `arc_min` will be 0. If I place the same exact stuff = in /etc/sysctl.conf, all of them will be set properly. - Jonathan --=20 You are receiving this mail because: You are the assignee for the bug.=