Re: Postgresql and multithreading

From: Hannu Krosing <hannu(at)tm(dot)ee>
To: Curtis Faith <curtis(at)galtair(dot)com>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Postgresql and multithreading
Date: 2002-10-16 19:25:37
Message-ID: 1034796338.2486.9.camel@rh72.home.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 2002-10-16 at 23:08, Curtis Faith wrote:
> Bruce Momjian wrote:
> I tried to prepare as best I could before bringing anything forward to
> HACKERS. In particular, I read the last two years of archives with anything
> to do with the WAL log and looked at the current code, read the TODOs, read
> a fair amount of discussions about aio. etc. So I was attempting to comply
> with my interpretation of the process. Yet, despite these efforts, you no
> doubt consider me guilty of creating unnecessary work, an outcome neither
> of us desired.

But that "unneccessary work" resulted in Tom finding and fixing an
unintended behaviour (aka a performance bug) that prevented postgres
from ever doing more than 1 commit per disk revolution on non-lieing
SCSI disks ;)

> I'm undeterred in my desire to come up with something meaningful and am
> working on some interesting tests. I do, however, now know that the level
> of scepticism and the standards of architectural purity are high. I
> consider this good all around.

I still have big expectations for use of aio, especially considering
that at least for free OSes one is not forced to stop at the DB/OS
boundary, but are free to go and improve the os side implementation as
well if it is needed.

But still some empirical tests are probably needed - if we can keep IO
occupied for 99% in a meaningful way withou aio, then the time is
probably better spent on something else ;)

--------------------
Hannu

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message scott.marlowe 2002-10-16 19:33:46 Re: [GENERAL] Postgres-based system to run .org registry?
Previous Message Mike Mascari 2002-10-16 19:14:25 Re: [GENERAL] Postgres-based system to run .org registry?