Re: FreeBSD config

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: FreeBSD config
Дата
Msg-id 20040227054639.H34315-100000@houston.familyhealth.com.au
обсуждение исходный текст
Ответ на FreeBSD config  (Dror Matalon <dror@zapatec.com>)
Ответы Re: FreeBSD config  (Dror Matalon <dror@zapatec.com>)
Список 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


В списке pgsql-performance по дате отправления:

Предыдущее
От: "John Allgood"
Дата:
Сообщение: Database Server Tuning
Следующее
От: Dror Matalon
Дата:
Сообщение: Re: FreeBSD config