Re: Memory prefetching while sequentially fetching from SortTuple array, tuplestore - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Memory prefetching while sequentially fetching from SortTuple array, tuplestore
Date
Msg-id 28289.1437104982@sss.pgh.pa.us
Whole thread Raw
In response to Memory prefetching while sequentially fetching from SortTuple array, tuplestore  (Peter Geoghegan <pg@heroku.com>)
Responses Re: Memory prefetching while sequentially fetching from SortTuple array, tuplestore
List pgsql-hackers
Peter Geoghegan <pg@heroku.com> writes:
> Attached patch adds a portable Postgres wrapper on the GCC intrinsic.

Meh.  I don't like the assumption that non-GCC compilers will be smart
enough to optimize away the useless-to-them if() tests this adds.
Please refactor that so that there is exactly 0 new code when the
intrinsic doesn't exist.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pg_rewind failure by file deletion in source server
Next
From: David Rowley
Date:
Subject: Re: Memory Accounting v11