pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Graichen <news-list.pgsql.admin@innominate.de>
To: pgsql-admin@postgresql.org
Subject: Re: postgres & smp
Date: 18 Feb 2001 11:36:38 GMT
Message-ID: <news2mail-96oc46$7tu$1@mate.bln.innominate.de> (raw)
References: <news2mail-96oau2$prm$1@mate.bln.innominate.de>

just to avoid confusion - some more things:

* smp and up case compared here were done on the same machine
  (linux 2.4.1-XFS, smp kernel booted with or without "nosmp")

* the used hardware is a 2 pII333 128mb ide disk

* the numbers were generated using pgbench from postgres-7.1beta4
  with -c 32 -s 20 -t 100

* the results are ranging from ~17tps (reiserfs/smp) ... ~20-23tps
  (xfs/smp-up)

one idea i have so far is that the pgbench queries are that simple
that the whole benchmark is heavily disk bound and the second cpu
only results in locking overhead resulting in a bit lower numbers)
may this be the reason for the missing improvement in the numbers
in the smp case?

again - a lot of thanks in advance

t

Thomas Graichen <news-list.pgsql.admin@innominate.de> wrote:
> i hope this list is somewhat the right one for this ...

> i did some small tests with postgresql-71.beta4 on various
> filesystems (ext2, reiserfs, xfs) on two machines: 1 single
> cpu and one 2 cpu smp and was a bit surprised to see the tps
> results of the smp case to be lower than the one of the up case
> (also the running times of the used pgbench said the same)
> ... i was thinking that the load should spread over the cpu's
> and thus expected better results for smp - is there anything
> to take care of for smp with postgresql? did i anything
> wrong here?

> a lot of thanks in advance

> t

> p.s.: btw. i in all cases see about 15% better results with
>       the database running on an xfs filesystem compared to
>       ext2 ... reiserfs is about the same as ext2 but some-
>       times even worse ... just if anyone is interested ...

> -- 
> thomas.graichen@innominate.com
>                                                          innominate AG
>                                                   the linux architects
> tel: +49-30-308806-13   fax: -77             http://www.innominate.com


-- 
thomas.graichen@innominate.com
                                                         innominate AG
                                                  the linux architects
tel: +49-30-308806-13   fax: -77             http://www.innominate.com



view thread (5+ messages)  latest in thread

Message-ID: <news2mail-96oc46$7tu$1@mate.bln.innominate.de>
Permalink:  ../news2mail-96oc46$7tu$1@mate.bln.innominate.de/
Also on:    postgresql.org/message-id/news2mail-96oc46$7tu$1@mate.bln.innominate.de

 · 

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-admin@postgresql.org
  Cc: news-list.pgsql.admin@innominate.de
  Subject: Re: postgres & smp
  In-Reply-To: <news2mail-96oc46$7tu$1@mate.bln.innominate.de>
  References: <news2mail-96oau2$prm$1@mate.bln.innominate.de> <news2mail-96oc46$7tu$1@mate.bln.innominate.de>

* 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