From owner-freebsd-questions@FreeBSD.ORG Sun Sep 30 16:15:53 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A75EA16A418 for ; Sun, 30 Sep 2007 16:15:53 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.freebsd.org (Postfix) with ESMTP id 80B3913C447 for ; Sun, 30 Sep 2007 16:15:53 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id D41A75DAC; Sun, 30 Sep 2007 12:15:52 -0400 (EDT) X-Virus-Scanned: amavisd-new at codefab.com Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WYbtqEZvpQjf; Sun, 30 Sep 2007 12:15:50 -0400 (EDT) Received: from [192.168.1.3] (pool-71-190-65-187.nycmny.east.verizon.net [71.190.65.187]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id B2BD85C3B; Sun, 30 Sep 2007 12:15:49 -0400 (EDT) Message-ID: <46FFCBB4.8010908@mac.com> Date: Sun, 30 Sep 2007 12:15:48 -0400 From: Chuck Swiger User-Agent: Thunderbird 1.5.0.13 (Windows/20070809) MIME-Version: 1.0 To: Peter Schuller References: <20070930130108.GA73189@hyperion.scode.org> In-Reply-To: <20070930130108.GA73189@hyperion.scode.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Forcing buffer cache to use available memory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2007 16:15:53 -0000 Peter Schuller wrote: > Is there a way to force the buffer cache to be more aggressive when > caching reads? Or even just plain force a certain number of megabytes > to be dedicated to the buffer cache? You want to adjust the vfs.read_max sysctl, I believe, or the vfs.maxbufspace for your second question. "sysctl -d vfs" is likely to be informative.... -- -Chuck