From owner-freebsd-questions@FreeBSD.ORG Thu Nov 15 17:04:13 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 8E85C16A46C for ; Thu, 15 Nov 2007 17:04:13 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep19-int.chello.at (viefep18-int.chello.at [213.46.255.22]) by mx1.freebsd.org (Postfix) with ESMTP id CABA313C46A for ; Thu, 15 Nov 2007 17:04:12 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from [192.168.1.104] (really [80.99.119.201]) by viefep19-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20071115170410.FVGA2991.viefep19-int.chello.at@[192.168.1.104]> for ; Thu, 15 Nov 2007 18:04:10 +0100 Message-ID: <473C7C0A.4060708@shopzeus.com> Date: Thu, 15 Nov 2007 18:04:10 +0100 From: Laszlo Nagy User-Agent: Thunderbird 1.5.0.14pre (X11/20071023) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: How to set maximum disk cache size? 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: Thu, 15 Nov 2007 17:04:13 -0000 Hi All, Is there a way (sysctl?) to tell FreeBSD (6.2 RELEASE) how many memory can it use for caching file data from disk? It might be that FreeBSD will use all available RAM, and reduce the cache size whenever a program wants to allocate more memory. It is my hope, but I could not find the documentation. RTFM is fine with me but please give a keyword where I can start. :-) Laszlo