From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 30 19:13:29 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B05D16A55F for ; Fri, 30 Jun 2006 19:13:29 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACF23443C6 for ; Fri, 30 Jun 2006 18:56:00 +0000 (GMT) (envelope-from kip.macy@gmail.com) Received: by nz-out-0102.google.com with SMTP id x3so71629nzd for ; Fri, 30 Jun 2006 11:56:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TMgILmt2Jns/cEcxkZWVqEgvN4fomUVHZgrnd4ixE4IVHiT90sJ4aFKLdo/5P+AAcClwpGFxkltF1m6VmWosARacvuWSRfKPxTaNje1dHovpL4ODHXfLtotC4VCqExrYkioDNNQknoTuY6g5YduY3Rgg3n+IZyjWUv37Ov9LmLw= Received: by 10.65.177.8 with SMTP id e8mr1374408qbp; Fri, 30 Jun 2006 11:56:00 -0700 (PDT) Received: by 10.65.225.9 with HTTP; Fri, 30 Jun 2006 11:56:00 -0700 (PDT) Message-ID: Date: Fri, 30 Jun 2006 11:56:00 -0700 From: "Kip Macy" To: "Hans Petter Selasky" In-Reply-To: <200606302029.28563.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200605271102.19799.hselasky@c2i.net> <200606021556.00231.hselasky@c2i.net> <200606131939.23799.hselasky@c2i.net> <200606302029.28563.hselasky@c2i.net> Cc: freebsd-hackers@freebsd.org Subject: Re: contiguous memory allocation problem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kmacy@fsmware.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 19:13:30 -0000 FreeBSD's strategy for doing page coloring makes contiguous memory allocation much past boot quite difficult. This will change when generalized superpage support is brought in (I hope in the near future). -Kip On 6/30/06, Hans Petter Selasky wrote: > Hi, > > I sometimes see that the USB driver is unable to allocate contiguous memory > for itself. For example I noticed that FreeBSD was unable to allocate > 350kbytes of contiguous memory after that I had run "konqueror", the KDE web > browser and various other memory consuming applications for a while. > > I am thinking about pre-allocating some memory for USB, but isn't that the job > of bus-dma, which the USB system uses for memory allocation? > > The machine in question is running FreeBSD 7-current from April. > > Any comments? > > Thanks, > --HPS > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >