From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 9 20:47:38 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5BBC2106564A for ; Sat, 9 Jun 2012 20:47:38 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 1A32C8FC1D for ; Sat, 9 Jun 2012 20:47:31 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q59Kkjtc016535; Sat, 9 Jun 2012 22:46:50 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q59KiCV6015317; Sat, 9 Jun 2012 22:44:14 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 9 Jun 2012 22:44:12 +0200 (CEST) From: Wojciech Puchar To: Ian Lepore In-Reply-To: <1339259223.36051.328.camel@revolution.hippie.lan> Message-ID: References: <1339259223.36051.328.camel@revolution.hippie.lan> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sat, 09 Jun 2012 22:46:52 +0200 (CEST) Cc: freebsd-hackers@freebsd.org Subject: Re: wired memory - again! X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2012 20:47:38 -0000 > The kernel auto-tunes the vfs buffer space using the formula "for the > first 64 MB of ram use 1/4 for buffers, plus 1/10 of the ram over 64 i always limit it by kern.maxbcache=20000000 on 1GB RAM machine with lots of I/O but actually with default MAXBSIZE and little I/O you can use safely 1MB It DOES NOT limit how much files are cached. But still - in spite of that i have a lot of wired memory. still it is bad nobody answered how to pin down "wired" memory use. instead of experimenting i would like rather to understand what is what.