Re: Spinlocks, yet again: analysis and proposed patches
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Michael Paesold" <mpaesold@gmx.at>, pgsql-hackers@postgresql.org, Stephen Frost <sfrost@snowman.net>
Date: 2005-09-12T23:22:38Z
Lists: 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