Re: Move PinBuffer and UnpinBuffer to atomics

From: Dilip Kumar <dilipbalaut(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Alexander Korotkov <a(dot)korotkov(at)postgrespro(dot)ru>, Merlin Moncure <mmoncure(at)gmail(dot)com>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, YUriy Zhuravlev <u(dot)zhuravlev(at)postgrespro(dot)ru>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Move PinBuffer and UnpinBuffer to atomics
Date: 2016-03-02 05:35:26
Message-ID: CAFiTN-tK2H4mWDFiMxxAk65N2uXnwJHcsveqfNCyk=wh97aw5w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Mar 2, 2016 at 10:39 AM, Andres Freund <andres(at)anarazel(dot)de> wrote:

> Sounds like a ppc vs. x86 issue. The regression was on the former, right?

Well, Regression what I reported last two time, out of that one was on X86
and other was on PPC.

Copied from older Threads
--------------------------------------
On PPC
>> > > > >> ./pgbench -j$ -c$ -T300 -M prepared -S postgres
>> > > > >>
>> > > > >> Client Base Patch
>> > > > >> 1 17169 16454
>> > > > >> 8 108547 105559
>> > > > >> 32 241619 262818
>> > > > >> 64 206868 233606
>> > > > >> 128 137084 217013

On X86
>> > > > >>Shared Buffer= 8GB
>> > > > >>Scale Factor=300

>> > > > >>./pgbench -j$ -c$ -T300 -M prepared -S postgres
>> > > > >>client base patch
>> > > > >>1 7057 5230
>> > > > >>2 10043 9573
>> > > > >>4 20140 18188

And this latest result (no regression) is on X86 but on my local machine.

I did not exactly saw what this new version of patch is doing different, so
I will test this version in other machines also and see the results.

--
Regards,
Dilip Kumar
EnterpriseDB: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Craig Ringer 2016-03-02 05:49:06 Re: TAP / recovery-test fs-level backups, psql enhancements etc
Previous Message Michael Paquier 2016-03-02 05:22:47 Re: TAP / recovery-test fs-level backups, psql enhancements etc