From owner-freebsd-hackers@FreeBSD.ORG Mon May 3 18:21:39 2010 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 65332106566B for ; Mon, 3 May 2010 18:21:39 +0000 (UTC) (envelope-from mj@feral.com) Received: from ns1.feral.com (ns1.feral.com [192.67.166.1]) by mx1.freebsd.org (Postfix) with ESMTP id 4225C8FC08 for ; Mon, 3 May 2010 18:21:38 +0000 (UTC) Received: from [192.168.221.2] (remotevpn [192.168.221.2]) by ns1.feral.com (8.14.3/8.14.3) with ESMTP id o43ILX38040220 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 3 May 2010 11:21:34 -0700 (PDT) (envelope-from mj@feral.com) Message-ID: <4BDF142D.4010105@feral.com> Date: Mon, 03 May 2010 11:21:33 -0700 From: Matthew Jacob Organization: Feral Software User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc11 Thunderbird/3.0.4 MIME-Version: 1.0 To: Ed Schouten References: <4BDDFDDD.6060208@feral.com> <20100503072132.GW56080@hoeg.nl> In-Reply-To: <20100503072132.GW56080@hoeg.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-4.2.3 (ns1.feral.com [192.168.221.1]); Mon, 03 May 2010 11:21:34 -0700 (PDT) Cc: FreeBSD Hackers Subject: Re: making consmsgbuf_size a tunable? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mj@feral.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2010 18:21:39 -0000 On 05/03/2010 12:21 AM, Ed Schouten wrote: > Hello Matthew, > > * Matthew Jacob wrote: > >> Any thoughts about this? >> > Looks good. Maybe we should make it a tunable only? Looking at the code, > once the consbuf has been allocated, there is no way you can ever resize > it. > > You could, but on closer inspection of the code, this doesn't seem to really kick in until you're multiuser anyway (until somebody executes TIOCONS), so maybe it doesn't really matter.