Re: LWLock contention: I think I understand the problem

From: Hannu Krosing <hannu(at)krosing(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Hannu Krosing <hannu(at)tm(dot)ee>, Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>, pgman(at)candle(dot)pha(dot)pa(dot)us, pgsql-hackers(at)postgresql(dot)org, jwbaker(at)acm(dot)org
Subject: Re: LWLock contention: I think I understand the problem
Date: 2002-01-06 22:32:40
Message-ID: 1010356360.10359.3.camel@rh72.home.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-odbc

On Sun, 2002-01-06 at 02:44, Tom Lane wrote:
> Hannu Krosing <hannu(at)tm(dot)ee> writes:
> > Could you rerun some of the tests on the same hardware but with
> > uniprocesor kernel
>
> I don't have root on that machine, but will see what I can arrange next
> week.
>
> > There were some reports about very poor insert performance on 4way vs 1way
> > processors.
>
> IIRC, that was fixed for 7.2. (As far as I can tell from profiling,
> contention for the shared free-space-map is a complete nonissue, at
> least in this test. That was something I was a tad worried about
> when I wrote the FSM code, but the tactic of locally caching a current
> insertion page seems to have sidestepped the problem nicely.)
>
> >> psql -c 'vacuum' $DB
> >>
> > Should this not be 'vacuum full' ?
>
> Don't see why I should expend the extra time to do a vacuum full.
> The point here is just to ensure a comparable starting state for all
> the runs.

Ok. I thought that you would also want to compare performance for different
concurrency levels where the number of dead tuples matters more as shown by
the attached graph. It is for Dual PIII 800 on RH 7.2 with IDE hdd, scale 5,
1-25 concurrent backends and 10000 trx per run

Attachment Content-Type Size
image/gif 4.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2002-01-06 23:12:07 Re: LWLock contention: I think I understand the problem
Previous Message mlw 2002-01-06 20:25:20 Re: Spinning verses sleeping in s_lock

Browse pgsql-odbc by date

  From Date Subject
Next Message Hannu Krosing 2002-01-06 23:12:07 Re: LWLock contention: I think I understand the problem
Previous Message Stuart 2002-01-06 16:27:36 Basic ODBC Connect Problem