Date: Thu, 8 Sep 2022 04:03:39 -0700 From: David Wolfskill <david@catwhisker.org> To: hackers@freebsd.org Subject: [summary] Re: Reasonable/sane limits for kern.msgbufsize? Message-ID: <YxnMCxJszmkobhoH@albert.catwhisker.org> In-Reply-To: <YxFCDGCRmoXpDJn/@albert.catwhisker.org> References: <YxFCDGCRmoXpDJn/@albert.catwhisker.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--S+ZF1wz8N/XG85Zg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 01, 2022 at 04:36:44PM -0700, David Wolfskill wrote: > ... > How much trouble am I asking for if I set >=20 > kern.msgbufsize=3D262144 >=20 > in /boot/laoder.conf? > ... I received a couple of responses from folks who had increased kern.msgbufsize by a fair amount (to 204800 & 1MB, respectively) since=20 several years ago, with no ill effects attributable to that. As I already had a shell script I use to control rebooting (e.g., whether or not to boot verbosely; from which slice to boot), I merely augmented that script so that if I'm requesting a verbose boot, I also set things up to increase kern.msgbufsize "appropriately" (and reset to default if I'm requesting a non-verbose boot). This is probably a bit conservative, but it seems to be working for me -- and /var/run/dmesg.boot gets the full boot log, even for a verbose boot, which was the intent. Ref. the (recent) "dmesg" links on https://www.catwhisker.org/~david/FreeBSD/history/, such as https://www.catwhisker.org/~david/FreeBSD/history/freebeast.14_dmesg.txt Peace, david --=20 David H. Wolfskill david@catwhisker.org "In my administration, I'm going to enforce all laws concerning the protection of classified information. No one will be above the law." -- D. Trump, August, 2016 See https://www.catwhisker.org/~david/publickey.gpg for my public key. --S+ZF1wz8N/XG85Zg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSr0Kzv+UJRY3wfOii0+6PfV4Ix1AUCYxnMC18UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0QUJE MEFDRUZGOTQyNTE2MzdDMUYzQTI4QjRGQkEzREY1NzgyMzFENAAKCRC0+6PfV4Ix 1AZOAP4mJNXTt665e+yFePX7ta3oJ6hqwx9HPXdoT0eY7yUOQgD+KnElc3WViepT zh7BFUxZ43Kd33JpZJ7BYBn8Rk28Fgw= =Tq+3 -----END PGP SIGNATURE----- --S+ZF1wz8N/XG85Zg--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YxnMCxJszmkobhoH>