From owner-freebsd-current Sun Jun 22 21:49:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA11336 for current-outgoing; Sun, 22 Jun 1997 21:49:28 -0700 (PDT) Received: from mail.webspan.net (root@mail.webspan.net [206.154.70.7]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA11331 for ; Sun, 22 Jun 1997 21:49:24 -0700 (PDT) Received: from orion.webspan.net (orion.webspan.net [206.154.70.5]) by mail.webspan.net (WEBSPAN/970608) with ESMTP id AAA13548; Mon, 23 Jun 1997 00:49:10 -0400 (EDT) Received: from orion.webspan.net (localhost [127.0.0.1]) by orion.webspan.net (WEBSPAN/970608) with ESMTP id AAA03484; Mon, 23 Jun 1997 00:49:09 -0400 (EDT) To: Lars Fredriksen cc: current@FreeBSD.ORG From: "Gary Palmer" Subject: Re: Upping the dmesg buffer In-reply-to: Your message of "Sun, 22 Jun 1997 22:55:35 CDT." <199706230355.WAA00616@fredriks-1.pr.mcs.net> Date: Mon, 23 Jun 1997 00:49:08 -0400 Message-ID: <3481.867041348@orion.webspan.net> Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Lars Fredriksen wrote in message ID <199706230355.WAA00616@fredriks-1.pr.mcs.net>: > Currently the MSG_BSIZE in /usr/include/sys/msgbuf.h is defined > as 8K. Would anyone have huge objections to making this 10-12-14-16K? I've been wanting to make a simple change for a while: Put a (read only) variable in sysctl that allows you to read the size of the message buffer. Then remove (or #ifndef out) the #define in msgbuf.h and put it in the kernel config file instead. This allows it to be tunable to local preferences, and without recompiling dmesg (you should recompile syslogd from memory also) Comments? Rotten fruit? Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info