From owner-freebsd-hackers@FreeBSD.ORG Wed Oct 27 20:46:35 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7B56106566B for ; Wed, 27 Oct 2010 20:46:35 +0000 (UTC) (envelope-from alan.l.cox@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 558AA8FC0C for ; Wed, 27 Oct 2010 20:46:34 +0000 (UTC) Received: by ewy28 with SMTP id 28so701326ewy.13 for ; Wed, 27 Oct 2010 13:46:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=QczVcChXWJmnKkHFJswmh6GKyqJrigg1zJK8bGOITlA=; b=PfBdJKTxpyF/3HDs1mTBJJUqhHYDW6WQKQoJBd2NflgsdNl7oDOCD/1cqKIfyJbaHT qwMKAq7sgm+BZFESI2YLv//tC8aX+I6N4p3LxvSUz+jbpeARbQMjNZ+1MFjFSTivJSaY LurS8Q8Kcdp6yItrVb2uCfl7eMl1Xb30st7c0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=Tl8ajhRJxLIVoiVplBKmDgWQoXbw7VnKASxq81OiCZT+UK6NZcp5YqXIB7HGd1AY7Z CpuH5L82M5F7IaH4LB7KXCe3EeVv25NjGnDoWN/58lQ0Ha7RMYNclVBIzLALaXl2qe0L z9XaaGicYHI+7ppprj3iin5sZuufyp9uNipQ8= MIME-Version: 1.0 Received: by 10.223.97.75 with SMTP id k11mr2968531fan.55.1288212393973; Wed, 27 Oct 2010 13:46:33 -0700 (PDT) Received: by 10.223.94.68 with HTTP; Wed, 27 Oct 2010 13:46:33 -0700 (PDT) In-Reply-To: <89857.29286.qm@web120719.mail.ne1.yahoo.com> References: <89857.29286.qm@web120719.mail.ne1.yahoo.com> Date: Wed, 27 Oct 2010 15:46:33 -0500 Message-ID: From: Alan Cox To: "Dr. Baud" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Re: Contiguous physical memory X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: alc@freebsd.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2010 20:46:35 -0000 On Wed, Oct 27, 2010 at 2:17 PM, Dr. Baud wrote: > > Can anyone suggest a method/formula to monitor contiguous physical > memory > allocations such that one could predict when contigmalloc(), make that > bus_dmamem_alloc might fail? > > >From the command line you can obtain this information with "sysctl vm.phys_free". Alan