pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: scott.marlowe <scott.marlowe@ihs.com>
To: Manfred Koizar <mkoi-pg@aon.at>
Cc: Jenny Zhang <jenny@osdl.org>
Cc: pgsql-performance@postgresql.org
Cc: pgsql-general@postgresql.org
Cc: osdldbt-general@lists.sourceforge.net
Subject: Re: [PERFORM] OSDL Database Test Suite 3 is available on PostgreSQL
Date: Mon, 4 Aug 2003 10:09:09 -0600 (MDT)
Message-ID: <Pine.LNX.4.33.0308041007130.10401-100000@css120.ihs.com> (raw)
In-Reply-To: <ojksivc9quohitb6t3fabesb7ai5jn38vn@4ax.com>

On Mon, 4 Aug 2003, Manfred Koizar wrote:

> On 01 Aug 2003 11:04:10 -0700, Jenny Zhang <jenny@osdl.org> wrote:
> >A sample OSDL-DBT3 test result report can be found at:
> >http://khack.osdl.org/stp/276912/
> >
> >Your comments are welcome,
> 
> | effective_cache_size           | 1000
> 
> With 4GB of memory this is definitely too low and *can* (note that I
> don't say *must*) lead the planner to wrong decisions.
> 
> | shared_buffers                 | 15200
> 
> ... looks reasonable.  Did you test with other values?
> 
> | sort_mem                       | 524288
> 
> This is a bit high, IMHO, but might be ok given that DBT3 is not run
> with many concurrent sessions (right?).
> http://khack.osdl.org/stp/276912/results/plot/vmstat_swap.png shows
> some swapping activity towards the end of the run which could be
> caused by a too high sort_mem setting.

Sorry, my last email shot off out of the gun before it was completed...

To repeat:  Don't forget to set effective_cache_size the same way as 
shared buffers (i.e. it's in 8k blocks for most systems.)  If you have a 
machine with 4 gig ram, and 3 gigs is available as disk cache, then 
divide out 3 gigs by 8k to get the right number.  My quick calculation 
shows that being about 393216 blocks.




view thread (6+ messages)  latest in thread

Message-ID: <Pine.LNX.4.33.0308041007130.10401-100000@css120.ihs.com>
Permalink:  ../Pine.LNX.4.33.0308041007130.10401-100000@css120.ihs.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.33.0308041007130.10401-100000@css120.ihs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: scott.marlowe@ihs.com, mkoi-pg@aon.at, jenny@osdl.org, pgsql-general@postgresql.org, osdldbt-general@lists.sourceforge.net
  Subject: Re: [PERFORM] OSDL Database Test Suite 3 is available on PostgreSQL
  In-Reply-To: <Pine.LNX.4.33.0308041007130.10401-100000@css120.ihs.com>
  References: <ojksivc9quohitb6t3fabesb7ai5jn38vn@4ax.com> <Pine.LNX.4.33.0308041007130.10401-100000@css120.ihs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox