Inefficient barriers on solaris with sun cc - Mailing list pgsql-hackers

From Andres Freund
Subject Inefficient barriers on solaris with sun cc
Date
Msg-id 20140925133459.GB9633@alap3.anarazel.de
Whole thread Raw
Responses Re: Inefficient barriers on solaris with sun cc
Re: Inefficient barriers on solaris with sun cc
List pgsql-hackers
Hi,

Binaries compiled on solaris using sun studio cc currently don't have
compiler and memory barriers implemented. That means we fall back to
relatively slow generic implementations for those. Especially compiler,
read, write barriers will be much slower than necessary (since they all
just need to prevent compiler reordering as both sparc and x86 are run
in TSO mode under solaris).

Since my estimate is that we'll use more and more barriers, that's going
to hurt more and more.

I do *not* plan to do anything about it atm, I just thought it might be
helpful to have this stated somewhere searchable.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: David Johnston
Date:
Subject: Re: proposal: rounding up time value less than its unit.
Next
From: Thom Brown
Date:
Subject: Re: RLS Design