Skip site navigation (1) Skip section navigation (2)

Re: GPU Accelerated Sorting

From: Yeb Havinga <yebhavinga(at)gmail(dot)com>
To: Greg Smith <greg(at)2ndquadrant(dot)com>
Cc: Eliot Gable <egable+pgsql-performance(at)gmail(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: GPU Accelerated Sorting
Date: 2010-08-30 19:25:38
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
Greg Smith wrote:
> This comes up every year or so.  The ability of GPU offloading to help 
> with sorting has to overcome the additional latency that comes from 
> copying everything over to it and then getting all the results back.  
> If you look at the typical types of sorting people see in PostgreSQL, 
> it's hard to find ones that are a) big enough to benefit from being 
> offloaded to the GPU like that, while also being b) not so 
> bottlenecked on disk I/O that speeding up the CPU part matters.  And 
> if you need to sort something in that category, you probably just put 
> an index on it instead and call it a day.
> If you made me make a list of things I'd think would be worthwhile to 
> spend effort improving in PostgreSQL, this would be on the research 
> list, but unlikely to even make my personal top 100 things that are 
> work fiddling with.
Related is 'Parallelizing query optimization' 
( in which they actually 
experiment with PostgreSQL. Note that their target platform is general 
purpose CPU, not a SIMD GPU processor.

-- Yeb

In response to


pgsql-performance by date

Next:From: Clemens EissererDate: 2010-08-30 20:41:59
Subject: Re: Performance on new 64bit server compared to my 32bit desktop
Previous:From: Eliot GableDate: 2010-08-30 18:49:27
Subject: Re: GPU Accelerated Sorting

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group