From: | Joris Dobbelsteen <joris(at)familiedobbelsteen(dot)nl> |
---|---|
To: | Matthew Pulis <mpulis(at)gmail(dot)com> |
Cc: | pgsql-admin(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org |
Subject: | Re: [GENERAL] PostgreSQL Cache |
Date: | 2008-09-29 07:01:12 |
Message-ID: | 48E07D38.90906@familiedobbelsteen.nl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general |
Matthew Pulis wrote:
> Hi,
>
> I need to perform some timed testing, thus need to make sure that disk
> cache does not affect me. Is clearing the OS (Ubuntu) disk cache, ( by
> running: sudo echo 3 | sudo tee /proc/sys/vm/drop_caches ) enough to
> do this? If not can you please point me to some site please since all
> I am finding is such command.
Look for methodologies for doing performance tests. A problem is that
the disk cache is an essential part that makes up for postgresql
performance. Also do not forget about overhead and inaccuracies that you
will affect your results.
In general performance tests are a rather large simulation of how your
application would use the database. It should be large enough for many
effects (such as initial cache state) to be neglected. It only provides
an average for the performance on your system configuration.
If you run it a few times more, you can compute the variation. It
provides some insight how stable your system is in handling the workload.
- Joris
From | Date | Subject | |
---|---|---|---|
Next Message | Oleg Bartunov | 2008-09-29 07:51:52 | Re: [GENERAL] PostgreSQL Cache |
Previous Message | Greg Smith | 2008-09-29 06:55:52 | Re: [GENERAL] PostgreSQL Cache |
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Huxton | 2008-09-29 07:34:50 | Re: Replication using slony-I |
Previous Message | Greg Smith | 2008-09-29 06:55:52 | Re: [GENERAL] PostgreSQL Cache |