Re: Spinlocks, yet again: analysis and proposed patches - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Spinlocks, yet again: analysis and proposed patches
Date
Msg-id 6509.1126567358@sss.pgh.pa.us
Whole thread Raw
In response to Re: Spinlocks, yet again: analysis and proposed patches  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I wrote:
> ... and see how the patch does that way?

BTW, please do look at "vmstat 1" while running the test case
corresponding to your number of processors.  It's hard to tell from the
runtime alone whether the patch is fully accomplishing its goal of
reducing wasted cycles.  If you see user CPU percent go to 100 and
context swaps drop to a low value, though, you know it's working.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Autoconf
Next
From: Marko Kreen
Date:
Subject: Re: Spinlocks, yet again: analysis and proposed patches