From: | Dror Matalon <dror(at)zapatec(dot)com> |
---|---|
To: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: FreeBSD config |
Date: | 2004-02-26 23:02:40 |
Message-ID: | 20040226230240.GM26787@rlx11.zapatec.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
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.com
http://www.zapatec.com
From | Date | Subject | |
---|---|---|---|
Next Message | Christopher Weimann | 2004-02-26 23:06:06 | Re: FreeBSD config |
Previous Message | Josh Berkus | 2004-02-26 22:48:34 | Re: Database Server Tuning |