Re: CUDA Sorting - Mailing list pgsql-hackers

From Greg Stark
Subject Re: CUDA Sorting
Date
Msg-id CAM-w4HO0OscBzrre=Pcv17VEXfj6UEV38Gj2MOF=O5e4e13DXA@mail.gmail.com
Whole thread Raw
In response to Re: CUDA Sorting  (Greg Smith <greg@2ndQuadrant.com>)
Responses Re: CUDA Sorting
Re: CUDA Sorting
List pgsql-hackers
On Mon, Sep 19, 2011 at 3:36 PM, Greg Smith <greg@2ndquadrant.com> wrote:
> The main problem here is that the sort of hardware commonly used for
> production database servers doesn't have any serious enough GPU to support
> CUDA/OpenCL available

Of course that could change if adding a GPU would help Postgres... I
would expect it to help mostly for data warehouse batch query type
systems, especially ones with very large i/o subsystems that can
saturate the memory bus with sequential i/o. "Run your large batch
queries twice as fast by adding a $400 part to your $40,000 server"
might be a pretty compelling sales pitch :)

That said, to help in the case I described you would have to implement
the tapesort algorithm on the GPU as well. I expect someone has
implemented heaps for CUDA/OpenCL already though.

-- 
greg


pgsql-hackers by date:

Previous
From: Greg Smith
Date:
Subject: Re: PATCH: regular logging of checkpoint progress
Next
From: Joe Abbate
Date:
Subject: Re: Is there really no interest in SQL Standard?