Re: Minor optimisation of XLogInsert() - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Minor optimisation of XLogInsert()
Date
Msg-id 584.1321503062@sss.pgh.pa.us
Whole thread Raw
In response to Re: Minor optimisation of XLogInsert()  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Minor optimisation of XLogInsert()
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> (I wonder if we shouldn't just align every shared memory allocation to
> 64 or 128 bytes.  It wouldn't waste much memory and it would make us
> much more resistant to performance changes caused by minor
> modifications to the shared memory layout.)

I could get behind this idea if we had a reasonably clear idea of the
hardware's cache line width, but AFAIK there is no portable way to
identify that.  (This is a pretty fatal objection to Simon's original
patch as well...)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: ISN was: Core Extensions relocation
Next
From: Pavan Deolasee
Date:
Subject: Re: FlexLocks