From owner-svn-src-all@FreeBSD.ORG Fri Nov 2 21:28:57 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C8910255; Fri, 2 Nov 2012 21:28:57 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5400A8FC0A; Fri, 2 Nov 2012 21:28:57 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so5137332oag.13 for ; Fri, 02 Nov 2012 14:28:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=YECwSqmYci7wFjiD1dm4+XBJ21UCOdHtmoEYPIq6qI4=; b=IQc9s4Nw7z/KfxPLvQySl3bfacO88hTPJXrYBzsekdBQwDsqwPXU6jFgYTkJNrMltI QIsvSFxNcvOCAd9PfFpOukEhwjCXFlJgPmnhsPLQEzvfnQ6El3FizSreLJEytBAFPaF7 nlqMtPgTSItAph9UYdPbeeb9bbYcONmbXSBIOx97M8Xyo60KZ8CTnrxNGl7BJkIIjL1C Ty5taeOmWbGqv0jwpvLA+A0DfTYbXU6P5249Ye/+QHJ4GsZ/nGbjqgB4k8WWlcBYGDpu MFzSX0ibWr9LLIiFMVdPpH4OTezHlLjRQmqvexpaASfH8xYaPiUtXElqyyMYgY/gUqAE kKXA== MIME-Version: 1.0 Received: by 10.60.13.198 with SMTP id j6mr2453424oec.51.1351891736536; Fri, 02 Nov 2012 14:28:56 -0700 (PDT) Received: by 10.76.143.33 with HTTP; Fri, 2 Nov 2012 14:28:56 -0700 (PDT) In-Reply-To: References: <201211020523.qA25N5No052084@svn.freebsd.org> <1351868970.1120.25.camel@revolution.hippie.lan> Date: Fri, 2 Nov 2012 14:28:56 -0700 Message-ID: Subject: Re: svn commit: r242466 - head/sys/mips/mips From: Garrett Cooper To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: svn-src-head@freebsd.org, Ian Lepore , svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2012 21:28:57 -0000 On Fri, Nov 2, 2012 at 2:26 PM, Adrian Chadd wrote: > On 2 November 2012 08:09, Ian Lepore > wrote: > > > Of course, it doesn't save anything if the system is using more than 128 > > maps, did you check? When I checked on an arm dreamplug system, there > > were roughly 1850 maps allocated by time it got to the login prompt > > (making that local cache of 500 maps completely useless). > > I don't reach that during boot on my 16MB RAM APs. There just aren't > that many devices. > > > The patches I posted in arch@ a while back addressed this problem by > > setting up an uma(9) pool for maps (and pools for busdma buffers). The > > patches were designed to be easy to incorporate for both arm and mips > > busdma implementations. > > My problem is memory overhead at boot time. :/ > Maybe this should be a compile time constant that one can specify in their KERNCONF? Cheers, -Garrett