From: | Hannu Krosing <hannu(at)skype(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Heikki Linnakangas <heikki(at)enterprisedb(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>, Greg Smith <gsmith(at)gregsmith(dot)com> |
Subject: | Re: Controlling Load Distributed Checkpoints |
Date: | 2007-06-07 09:28:03 |
Message-ID: | 1181208483.6903.9.camel@hannu-laptop |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Ühel kenal päeval, K, 2007-06-06 kell 11:03, kirjutas Tom Lane:
> Heikki Linnakangas <heikki(at)enterprisedb(dot)com> writes:
> > GUC summary and suggested default values
> > ----------------------------------------
> > checkpoint_write_percent = 50 # % of checkpoint interval to spread out
> > writes
> > checkpoint_write_min_rate = 1000 # minimum I/O rate to write dirty
> > buffers at checkpoint (KB/s)
> > checkpoint_nap_duration = 2 # delay between write and sync phase, in
> > seconds
> > checkpoint_fsync_period = 30 # duration of the sync phase, in seconds
> > checkpoint_fsync_delay = 500 # max. delay between fsyncs
>
> > I don't like adding that many GUC variables, but I don't really see a
> > way to tune them automatically.
>
> If we don't know how to tune them, how will the users know?
He talked about doing it _automatically_.
If the knobns are available, it will be possible to determine "good"
values even by brute-force performance testing, given enough time and
manpower is available.
> Having to
> add that many variables to control one feature says to me that we don't
> understand the feature.
The feature has lots of complex dependencies to things outside postgres,
so learning to understand it takes time. Having the knows available
helps as more people ar willing to do turn-the-knobs-and-test vs.
recompile-and-test.
> Perhaps what we need is to think about how it can auto-tune itself.
Sure.
-------------------
Hannu Krosing
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2007-06-07 10:29:52 | Re: [RFC] GSoC Work on readonly queries done so far |
Previous Message | Heikki Linnakangas | 2007-06-07 08:36:53 | Re: Controlling Load Distributed Checkpoints |
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2007-06-07 09:56:32 | Re: contrib/pgstattuple Japanese documentation fix |
Previous Message | Heikki Linnakangas | 2007-06-07 08:45:23 | Re: contrib/pgstattuple Japanese documentation fix |