From: SZUCS Gábor <surrano@mailbox.hu>
To: pgsql-performance@postgresql.org
Subject: Re: Excessive context switching on SMP Xeons
Date: Wed, 6 Oct 2004 19:28:45 +0200
Message-ID: <019301c4abc9$ef251ea0$0403a8c0@fejleszt4> (raw)
References: <4162CA14.6080206@lulu.com>
<200410050947.36174.josh@agliodbs.com>
<41630D50.3020308@lulu.com>
<200410051538.51664.josh@agliodbs.com>
<4164131A.6080601@lulu.com>
Hmmm...
I may be mistaken (I think last time I read about optimization params was in
7.3 docs), but doesn't RPC < 1 mean that random read is faster than
sequential read? In your case, do you really think reading randomly is 4x
faster than reading sequentially? Doesn't seem to make sense, even with a
zillion-disk array. Theoretically.
Also not sure, but sort_mem and vacuum_mem seem to be too small to me.
G.
%----------------------- cut here -----------------------%
\end
----- Original Message -----
From: "Bill Montgomery" <billm@lulu.com>
Sent: Wednesday, October 06, 2004 5:45 PM
> Some relevant parameters:
> shared_buffers = 16384
> sort_mem = 2048
> vacuum_mem = 16384
> max_fsm_pages = 200000
> max_fsm_relations = 10000
> fsync = true
> wal_sync_method = fsync
> wal_buffers = 32
> checkpoint_segments = 6
> effective_cache_size = 262144
> random_page_cost = 0.25
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: surrano@mailbox.hu
Subject: Re: Excessive context switching on SMP Xeons
In-Reply-To: <019301c4abc9$ef251ea0$0403a8c0@fejleszt4>
* 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