pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Aaron Werman <awerman2@hotmail.com>
To: Qing Zhao <qzhao@quotefx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: possible improvement between G4 and G5
Date: Tue, 6 Apr 2004 11:45:29 -0400
Message-ID: <Law10-OE30EJmGzrLCC00018364@hotmail.com> (raw)
References: <009901c41b48$8357c860$2500fa0a@CardServices.TCI.com>
	<DDB7CC31-8764-11D8-9AA6-000A95AB8896@quotefx.net>
	<19781.1081230442@sss.pgh.pa.us>


----- Original Message ----- 
From: "Tom Lane" <tgl@sss.pgh.pa.us>
To: "Qing Zhao" <qzhao@quotefx.net>
Cc: <pgsql-performance@postgresql.org>
Sent: Tuesday, April 06, 2004 1:47 AM
Subject: Re: [PERFORM] possible improvement between G4 and G5


> Qing Zhao <qzhao@quotefx.net> writes:
> > We have got a G5 64-bit processor to replace an old G4 32-bit
> > processor.  Given everything else equal, should we see a big
> > improvement on PG's performance?
>
> Nope.  Database performance typically depends on disk performance first,
> and RAM size second.

I'm surprised by this thought. I tend to hit CPU bottlenecks more often than
I/O ones. In most applications, db I/O is a combination of buffer misses and
logging, which are both reasonably constrained. RAM size seems to me to be
the best way to improve performance, and then CPU which is needed to perform
the in-memory searching, locking, versioning,  and processing, and finally
I/O (this is not the case in small I/O subsystems - if you have less than a
dozen drives, you're easily I/O bound). I/O is often the thing I tune first,
because I can do it in place without buying hardware.

Conceptually, an RDBMS converts slow random I/O into in memory processing
and sequential logging writes. If successful, it should reduce the I/O
overhead.

/Aaron



view thread (9+ messages)  latest in thread

Message-ID: <Law10-OE30EJmGzrLCC00018364@hotmail.com>
Permalink:  ../Law10-OE30EJmGzrLCC00018364@hotmail.com/
Also on:    postgresql.org/message-id/Law10-OE30EJmGzrLCC00018364@hotmail.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: awerman2@hotmail.com, qzhao@quotefx.net, tgl@sss.pgh.pa.us
  Subject: Re: possible improvement between G4 and G5
  In-Reply-To: <Law10-OE30EJmGzrLCC00018364@hotmail.com>
  References: <009901c41b48$8357c860$2500fa0a@CardServices.TCI.com> <DDB7CC31-8764-11D8-9AA6-000A95AB8896@quotefx.net> <19781.1081230442@sss.pgh.pa.us> <Law10-OE30EJmGzrLCC00018364@hotmail.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