From nobody Tue Nov 11 16:58:45 2025 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 4d5Xml6fd8z6GjZg; Tue, 11 Nov 2025 16:58:47 +0000 (UTC) (envelope-from des@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4d5Xml5ySqz3kM9; Tue, 11 Nov 2025 16:58:47 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762880327; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5laGC2THeRKPw/GrF2thvCJbqIRHTCYM4Ke35xcyxbM=; b=Li6DvyId3J7JpkDUvhbC0A5vN5+QGNHbfsS5z6eOFGdrEn16gG5TeY6acnMgmoHauizkmP wYOWVtNHExdpLkjBPXD4oCLhbUvdjRJlYCWBlkTkrmDMFcSwG7xCijioNw7MHQWXD/QfK/ VGHYFfaAAYvXStE+ndOqoY71VJQZN+G8kesx7RDgsLbV1+tLEY6rmUo5bChQYOM5f+/Nh0 x3PxhnV3ozXNWE32UrzK+OnYVyf3VwKBnhY4bzCSDAAVE2Kgi5ROFTaEmW71sW5hSU6+JP 2zaCeZZm2rBH5bhidIUBTnsrQ4BBEXr2bJZO96JtySf4dbNUsMG7Fq3EYOf8rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762880327; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5laGC2THeRKPw/GrF2thvCJbqIRHTCYM4Ke35xcyxbM=; b=hp1Gp+xvOidgsMPFQ8Tlec8QjBxaA1w8hdX3gHqfQHwJ3Z3mhj6Q3tosHcg+x+CS5/O6qu uMBkClQpTeqaVNGyEif4EZi3tQBodFBWMjirGcJfti4zb68A187VUyRtyGKhfCnk21ouHB ddOJ1dxFiHllONIrUCueK4OUYAGVp6Cif1nQjzSFcuPIHrByKd4duFafATW6qHfyCL61wA zPsrbYw3wrz723A9zHiI7YWuWCArgo3hXrOJyr/O6XKKwU5X2EMFOTCr/+tWWf97oQSAFw qJaJFYrm2dO8wfsc1U55T+wsSdkPk/GN+1/H8Y9X2Tu9ke4B4xjUty14zlOzvw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1762880327; a=rsa-sha256; cv=none; b=B0ONKvk0IINp9RFmOhx/sP40KVVBL/qx7lVfFOK9Z4B/auEIjWqCyb1NAoZaU5uGvkAhOS hNJeGeS3lTjv66FtobhcB2X+dYSHaPHBSCmdfPKh7uWsrmq+mWIA935NlyI1qLCb3mqkaD ih2HnyRsiouZca+vtUdu8O+wGTAACresGYbmCOBm4v+Iz/dXkwSJM9RMJjETsAmHtj6QcD ZhXhEUlVCs2A1UtnrxTXnGvM3fIiBb1csFO5Lf8hIWw9A0dpMzbWronvzvkc5fgfYNlfmX dbmKrOQA1zPeJ/PjMNCfP2QVBxkzGWGuj203XBjpiOt2vcfEFtM6a/7UPKPhnw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from ltc.des.dev (lfbn-nan-1-698-103.w86-236.abo.wanadoo.fr [86.236.35.103]) (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) (Authenticated sender: des) by smtp.freebsd.org (Postfix) with ESMTPSA id 4d5Xml4Kr1z1RJl; Tue, 11 Nov 2025 16:58:47 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.dev (Postfix, from userid 1001) id 71820A6409; Tue, 11 Nov 2025 17:58:45 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: bob prohaska Cc: freebsd-current@freebsd.org, freebsd-arm@freebsd.org Subject: Re: kernel: warning: total configured swap (493567 pages) exceeds maximum recommended amount In-Reply-To: (bob prohaska's message of "Tue, 11 Nov 2025 08:46:47 -0800") References: <86qzu4vazw.fsf@ltc.des.dev> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Tue, 11 Nov 2025 17:58:45 +0100 Message-ID: <86ms4sv73u.fsf@ltc.des.dev> 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=utf-8 Content-Transfer-Encoding: quoted-printable bob prohaska writes: > So I'm flirting with trouble on a system (Pi2/armv7 FWIW) reporting > warning: total configured swap (1024000 pages) exceeds maximum recommende= d amount (467488 pages). > warning: increase kern.maxswzone or reduce amount of swap. ? The maximum recommended amount is half the maximum supported amount, so you not only have more swap than recommended, you have more swap than the kernel can actually use (467488 * 2 =3D 934976 pages) and should consider either increasing kern.maxswzone so the kernel can use all of the swap you've configured (at the cost of slightly reducing usasble physical memory) or decreasing the amount of swap. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org