X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 2C025D1E96D for ; Mon, 1 Mar 2004 08:18:32 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 20556-09 for ; Mon, 1 Mar 2004 04:18:16 -0400 (AST) Received: from linda-3.paradise.net.nz (bm-3a.paradise.net.nz [202.0.58.22]) by svr1.postgresql.org (Postfix) with ESMTP id ADEDFD1E952 for ; Mon, 1 Mar 2004 04:18:14 -0400 (AST) Received: from smtp-2.paradise.net.nz (smtp-2a.paradise.net.nz [202.0.32.195]) by linda-3.paradise.net.nz (Paradise.net.nz) with ESMTP id <0HTW005YE1QF2Z@linda-3.paradise.net.nz> for pgsql-performance@postgresql.org; Mon, 01 Mar 2004 21:18:15 +1300 (NZDT) Received: from paradise.net.nz (203-79-100-108.adsl.paradise.net.nz [203.79.100.108]) by smtp-2.paradise.net.nz (Postfix) with ESMTP id F312F9E2BF; Mon, 01 Mar 2004 21:18:14 +1300 (NZDT) Date: Mon, 01 Mar 2004 21:19:31 +1300 From: Mark Kirkwood Subject: Re: FreeBSD config In-reply-to: <20040301073948.GC87033@rlx11.zapatec.com> To: Dror Matalon Cc: pgsql-performance@postgresql.org Message-id: <4042F213.7040106@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=us-ascii Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031213 References: <20040226180345.GU26787@rlx11.zapatec.com> <20040226191616.GA26787@rlx11.zapatec.com> <20040226230606.GG49146@smtp.k12us.com> <20040226234246.GN26787@rlx11.zapatec.com> <403EEEB8.3080807@frodo.hserus.net> <4042E6B2.1060906@paradise.net.nz> <20040301073948.GC87033@rlx11.zapatec.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/3 X-Sequence-Number: 5859 >I noticed this passage too, but ... > > >>Quoting from http://www.daemonnews.org/200001/freebsd_vm.html : >> >>* >>When To Free a Page* >> >>Since the VM system uses all available memory for disk caching, there >> >> > ^^^^^^^^^^^^^ > >The VM system, as you can see from the article, is focused on paging and >caching the programs and program data. Is the cache for disk reads and >writes thrown into the mix as well? > > > Yes - that is the real question. The following link : http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/vm-cache.html and the few "next" pages afterward talk about a unified buffer cache i.e file buffer cache is part of the KVM system which is part of the VM system - but this does not seem to preclude those vfs.*buf* variables limiting the size of the file buffer cache... hmm ... so no real decrease of confusion at this end.. :-) Mark