Re: FreeBSD config

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Dror Matalon <dror(at)zapatec(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: FreeBSD config
Date: 2004-02-26 21:47:47
Message-ID: 20040227054639.H34315-100000@houston.familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> We have postgres running on freebsd 4.9 with 2 Gigs of memory. As per
> repeated advice on the mailing lists we configured effective_cache_size
> = 25520 which you get by doing `sysctl -n vfs.hibufspace` / 8192
>
> Which results in using 200Megs for disk caching.

effective_cache_size does nothing of the sort. CHeck your
shared_buffers value...

> Is there a reason not to increase the hibufspace beyond the 200 megs and
> provide a bigger cache to postgres? I looked both on the postgres and
> freebsd mailing lists and couldn't find a good answer to this.

Well, maybe butnot necessarily. It's better to leave the OS to look after
most of your RAM.

Chris

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Dror Matalon 2004-02-26 21:58:38 Re: FreeBSD config
Previous Message John Allgood 2004-02-26 21:28:07 Database Server Tuning