From: Dror Matalon <dror@zapatec.com>
To: pgsql-performance@postgresql.org
Subject: Re: FreeBSD config
Date: Thu, 26 Feb 2004 15:02:40 -0800
Message-ID: <20040226230240.GM26787@rlx11.zapatec.com> (raw)
In-Reply-To: <403E2071.31408.BAFBDDB@localhost>
References: <20040227054639.H34315-100000@houston.familyhealth.com.au>
<403E2071.31408.BAFBDDB@localhost>
Thanks for the pointer. So
maxbufspace = nbuf * BKVASIZE;
Which is confirmed in
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/performance/2003-09/0045.html
and it looks like there's a patch by Sean Chittenden at
http://people.freebsd.org/~seanc/patches/patch-HEAD-kern.nbuf
that does what I was asking. Seems a little on the bleeding edge. Has
anyone tried this?
On Thu, Feb 26, 2004 at 04:36:01PM -0600, Kevin Barnard wrote:
> On 26 Feb 2004 at 13:58, Dror Matalon wrote:
>
> >
> > which brings me back to my question why not make Freebsd use more of its
> > memory for disk caching and then tell postgres about it.
> >
>
> I think there is some confusion about maxbufsize and hibufspace. I looking at a
> comment in the FreeBSB source 4.9 that explains this. I think you will want to
> increase effective_cache to match maxbufsize not hibufspace but I could be wrong.
>
> $FreeBSD: src/sys/kern/vfs_bio.c,v 1.242.2.21 line 363
>
--
Dror Matalon
Zapatec Inc
1700 MLK Way
Berkeley, CA 94709
http://www.fastbuzz.comhttp://www.zapatec.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: dror@zapatec.com
Subject: Re: FreeBSD config
In-Reply-To: <20040226230240.GM26787@rlx11.zapatec.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox