Re: Should we cacheline align PGXACT? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Should we cacheline align PGXACT?
Date
Msg-id 31991.1471614372@sss.pgh.pa.us
Whole thread Raw
In response to Should we cacheline align PGXACT?  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
Responses Re: Should we cacheline align PGXACT?  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
Re: Should we cacheline align PGXACT?  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Alexander Korotkov <a.korotkov@postgrespro.ru> writes:
> originally this idea was proposed by Andres Freund while experimenting with
> lockfree Pin/UnpinBuffer [1].
> The patch is attached as well as results of pgbench -S on 72-cores
> machine.  As before it shows huge benefit in this case.

That's one mighty ugly patch.  Can't you do it without needing to
introduce the additional layer of struct nesting?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Exporting more function in libpq
Next
From: Adrien Nayrat
Date:
Subject: Re: LSN as a recovery target