[HACKERS] Re: Memory prefetching while sequentially fetching from SortTuple array, tuplestore

2015-10-13 Thread Amir Rohan
On 10/11/2015 03:20 AM, Peter Geoghegan wrote: > On Thu, Sep 3, 2015 at 5:35 PM, David Rowley > wrote: >> My test cases are: > > Note that my text caching and unsigned integer comparison patches have > moved the baseline down quite noticeably. I think that my mobile > processor out-performs the X

[HACKERS] Re: Memory prefetching while sequentially fetching from SortTuple array, tuplestore

2015-07-16 Thread Peter Geoghegan
On Thu, Jul 16, 2015 at 4:01 PM, Peter Geoghegan wrote: > Attached patch adds a portable Postgres wrapper on the GCC intrinsic. > It also adds a client within tuplesort.c -- a common function that > seems like a good generic choke point. I can get a speed-up of 6% - 9% > for all of these cases by