From owner-freebsd-arch@FreeBSD.ORG Mon Aug 28 21:47:15 2006 Return-Path: X-Original-To: freebsd-arch@FreeBSD.org Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75AFB16A4DE for ; Mon, 28 Aug 2006 21:47:15 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85D2C43D53 for ; Mon, 28 Aug 2006 21:47:14 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (51o04epte4o9go2z@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id k7SLlD9b014874; Mon, 28 Aug 2006 14:47:13 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id k7SLlCSu014873; Mon, 28 Aug 2006 14:47:12 -0700 (PDT) (envelope-from jmg) Date: Mon, 28 Aug 2006 14:47:12 -0700 From: John-Mark Gurney To: Poul-Henning Kamp Message-ID: <20060828214712.GJ37035@funkthat.com> Mail-Followup-To: Poul-Henning Kamp , freebsd-arch@FreeBSD.org References: <20060828204908.GI37035@funkthat.com> <7781.1156800811@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7781.1156800811@critter.freebsd.dk> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-arch@FreeBSD.org Subject: Re: msgbuf default size... X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2006 21:47:15 -0000 Poul-Henning Kamp wrote this message on Mon, Aug 28, 2006 at 21:33 +0000: > In message <20060828204908.GI37035@funkthat.com>, John-Mark Gurney writes: > > >I believe we should make the default 64k, and let other platforms, > >like arm, use DEFAULTS to change it to smaller values if necessary... > > Better idea: I'd give you: > if (ram <= 64MB) > msgbuf_size = 8k > else > msgbuf_size = 64k But anyone who is installing -current on a low memory system these days are going to be tweaking and building custom kernels already... why can't they tweak this option along w/ the rest? (look at Warner's work to break out the PHY's) Currently, this is a compile time only option, so changing this based upon memory will be a bit more complicated than just adding the pseudo code above... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."