pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guillaume Cottenceau <gc@mnc.ch>
To: Edoardo Serra <osdevel@webrainstorm.it>
Cc: pgsql-performance@postgresql.org
Subject: Re: Postmaster using only 4-5% CPU
Date: 21 Mar 2006 15:34:48 +0100
Message-ID: <87slpbkgs7.fsf@meuh.mnc.lan> (raw)
In-Reply-To: <7.0.0.16.2.20060321115738.060f9078@webrainstorm.it>
References: <7.0.0.16.2.20060321115738.060f9078@webrainstorm.it>

Edoardo Serra <osdevel 'at' webrainstorm.it> writes:

> Hi all,
>          I'm having a very strange performance problems on a fresh
> install of postgres 8.1.3
> I've just installed it with default option and --enable-thread-safety
> without tweaking config files yet.
> 
> The import of a small SQL files into the DB (6 tables with 166.500
> total records, INSERT syntax)
> took me more than 18 minutes as shown below (output of  "time ./psql
> benchmarks < dump.sql")
> 
> real 18m33.062s
> user 0m10.386s
> sys 0m7.707s
> 
> The server is an
> - Intel(R) Xeon(TM) CPU 3.60GHz - 1MB L2
> - 1 GB RAM
> - 2x HDD SCSI U320 RAID 1 Hardware (HP 6i controller)

I have seen similar very low performance for INSERTs, although
using SCSI 320 disk, controlled by LSI Logic 53C1030 (using
Fusion MPT SCSI Host driver 3.01.18 on Linux 2.6.11). Something
like tens of INSERTs per second into a small table, no more.
"iostat" reports very large figures in the "await" field compared
to other servers using raid1 controllers, that's my best guess,
but I was unable to find why and how to fix (and the vendor has
been very helpless until now). I'm wondering if we don't have an
issue with the driver but have no more clue.

-- 
Guillaume Cottenceau



view thread (7+ messages)  latest in thread

Message-ID: <87slpbkgs7.fsf@meuh.mnc.lan>
Permalink:  ../87slpbkgs7.fsf@meuh.mnc.lan/
Also on:    postgresql.org/message-id/87slpbkgs7.fsf@meuh.mnc.lan

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: gc@mnc.ch, osdevel@webrainstorm.it
  Subject: Re: Postmaster using only 4-5% CPU
  In-Reply-To: <87slpbkgs7.fsf@meuh.mnc.lan>

* 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