X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id E49BF9DC8E1 for ; Mon, 20 Mar 2006 23:51:40 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 54679-10 for ; Mon, 20 Mar 2006 23:51:45 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from linda-5.paradise.net.nz (bm-5a.paradise.net.nz [203.96.152.184]) by postgresql.org (Postfix) with ESMTP id D10C59DC85F for ; Mon, 20 Mar 2006 23:51:33 -0400 (AST) Received: from smtp-1.paradise.net.nz (tclsnelb1-src-1.paradise.net.nz [203.96.152.172]) by linda-5.paradise.net.nz (Paradise.net.nz) with ESMTP id <0IWG00DG4LE1C7@linda-5.paradise.net.nz> for pgsql-performance@postgresql.org; Tue, 21 Mar 2006 15:51:38 +1200 (NZST) Received: from [192.168.1.11] (218-101-28-245.dsl.clear.net.nz [218.101.28.245]) by smtp-1.paradise.net.nz (Postfix) with ESMTP id 3A1AC12102DA; Tue, 21 Mar 2006 15:51:37 +1200 (NZST) Date: Tue, 21 Mar 2006 15:51:35 +1200 From: Mark Kirkwood Subject: Re: Best OS & Configuration for Dual Xeon w/4GB & In-reply-to: <441F6BA1.20005@paradise.net.nz> To: Mark Kirkwood Cc: Scott Marlowe , "Jim C. Nasby" , Kenji Morishige , pgsql-performance@postgresql.org Message-id: <441F7847.5000406@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.6 (X11/20051106) References: <20060317221116.GA14661@juniper.net> <1142636433.1141.33.camel@state.g2switchworks.com> <20060320144503.GR15742@pervasive.com> <1142871620.17883.4.camel@state.g2switchworks.com> <441F6BA1.20005@paradise.net.nz> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.173 required=5 tests=[AWL=0.173] X-Spam-Score: 0.173 X-Spam-Level: X-Archive-Number: 200603/362 X-Sequence-Number: 17799 Mark Kirkwood wrote: > > I think Freebsd 'Inactive' corresponds pretty closely to Linux's > 'Inactive Dirty'|'Inactive Laundered'|'Inactive Free'. > Hmmm - on second thoughts I think I've got that wrong :-(, since in Linux all the file buffer pages appear in 'Cached' don't they... (I also notice that 'Inactive Laundered' does not seem to be mentioned in vanilla - read non-Redhat - 2.6 kernels) So I think its more correct to say Freebsd 'Inactive' is similar to Linux 'Inactive' + some|most of Linux 'Cached'. A good discussion of how the Freebsd vm works is here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/vm.html In particular: "FreeBSD reserves a limited amount of KVM to hold mappings from struct bufs, but it should be made clear that this KVM is used solely to hold mappings and does not limit the ability to cache data." Cheers Mark