From nobody Tue Jan 23 18:46:49 2024 X-Original-To: dev-commits-src-main@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 4TKGK52Lwfz57tDL; Tue, 23 Jan 2024 18:46:49 +0000 (UTC) (envelope-from git@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 4TKGK51wC0z4N4T; Tue, 23 Jan 2024 18:46:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706035609; 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=9N2OwmjHU3Mlqm3uILWzcj2AVycOGsOBLcRAQctbbcg=; b=JIbKE+ZQdleCjBB6lDbUulB+UrESh/Hh/R5pupcgo4NdN0/ju8z1gApKpq0l97p+Ee1UDj vQU1nQa3dmLCNFUjXZDOZm8DajpVRziv7tahJmYmb4L4KwM5dAO1ONMUhq1RsGhvxbEn66 hP83UliLBvDQksELj2k/sJb+1HzCRsOT40GhlP9jvWNhzSVCmwiIsiFQK4lae8lLrQQyvS CxSEdAUJGMHnlXB59n/5UEif62+Xck0dH45LcZ8CbWzMOlhjeHfGqfyAl75CV5rHbqs4RP VKkRUQJ5/WrvwSv+UMjG/YIB08jNTGfT0ecwh/f6cptt8O/xNB7+Q66Eq2Mmbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706035609; 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=9N2OwmjHU3Mlqm3uILWzcj2AVycOGsOBLcRAQctbbcg=; b=P69dBipU7PoA0GX2T5SbQHO50Ydjc06ZWf1IgAsJ/UTLFwVg4fBXUudKX26dMPAWCyH3mu ZS17f39Bco62AvMa+iHK694CCl6+RKNmo1LGXq9GeFbtdmgY7YctQXXjSmSfT08i3RMeBZ aK7sG8dJPG7g0hV3iuUwbMmkbTRY37YudVoWnS8bvtD4gSRhrwvfjKTMT0bczPWxzQso5w g8v3zMpVnI9amGAHkeTJlzzCZ+dzUkg6fcYCRGdra9jZoAXvvGyxmBY8sQ5JjQyb0/cV3O lff5qF45uQk6EvBL4tSIAQuwA+DerKaAJmp+Vo3zNbFr8Fz/qR7lW+gow8NLYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706035609; a=rsa-sha256; cv=none; b=QVeWpdMZhhP4sHGmXRoiwzMRdDgFStpwquF7vEkGAviPzIHuPJhni/vtkhTr8bPS0kYEx7 ea2jHeeXmzRHZTIHgUCysaQVM94Ugrf0PZErPNwEpHMVL/iy0v5X9MidjwEXxxMiC8nJ8U ZN3pSGrxS5bSpLw2GYZytx1QJiQX7P4Wsd/bPPisW1asFi2kCfY4sOKG+wtUssPhBEdvWn L0W51+Ytms/pJj8D7DoZTwcePab7jwrtzmaP41B68CY8kES9knbF1C2I5QgaWvv2+Ja029 fZ2OFKRUC4V3/oXC0t5B5Dq00eOqlioa9ZRVlIxPTkE/ZiG3xq+naH0+ychaFQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4TKGK50yvXzj1h; Tue, 23 Jan 2024 18:46:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40NIknv6079170; Tue, 23 Jan 2024 18:46:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40NIknvw079167; Tue, 23 Jan 2024 18:46:49 GMT (envelope-from git) Date: Tue, 23 Jan 2024 18:46:49 GMT Message-Id: <202401231846.40NIknvw079167@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mike Karels Subject: git: 2e68c5a44c40 - main - tmpfs: increase vfs.tmpfs.memory_percent to 100 as workaround List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: karels X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2e68c5a44c40848c43849cc3650331cf82714dfa Auto-Submitted: auto-generated The branch main has been updated by karels: URL: https://cgit.FreeBSD.org/src/commit/?id=2e68c5a44c40848c43849cc3650331cf82714dfa commit 2e68c5a44c40848c43849cc3650331cf82714dfa Author: Mike Karels AuthorDate: 2024-01-23 17:23:38 +0000 Commit: Mike Karels CommitDate: 2024-01-23 18:46:31 +0000 tmpfs: increase vfs.tmpfs.memory_percent to 100 as workaround The changes to avoid letting tmpfs use all of memory + swap do not work well with ZFS ARC. The ARC can grow quite large, and will shrink when there is memory pressure, but tmpfs does not allow for that. Pending investigation of the right way to handle this, change the default value of the vfs.tmpfs.memory_percent sysctl to 100 as a workaround. The sysctl can be set to 95 to get back to the previous default. --- sys/fs/tmpfs/tmpfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/fs/tmpfs/tmpfs.h b/sys/fs/tmpfs/tmpfs.h index 5c86a386b9da..c28f3a02a7bf 100644 --- a/sys/fs/tmpfs/tmpfs.h +++ b/sys/fs/tmpfs/tmpfs.h @@ -548,7 +548,7 @@ tmpfs_update(struct vnode *vp) * without a size limit. */ #if !defined(TMPFS_MEM_PERCENT) -#define TMPFS_MEM_PERCENT 95 +#define TMPFS_MEM_PERCENT 100 #endif /*