Re: CUDA Sorting

Поиск
Список
Период
Сортировка
Искать
От
Vitor Reus
Тема
Re: CUDA Sorting
Дата
Msg-id
CALf5ONrOdgKm0Cea+6Th+1quKaUZZjxPueSgSj7Pdi=mHWCo9Q@mail.gmail.com
Ответ на
Re: CUDA Sorting (Tom Lane)
Список
Дерево обсуждения
CUDA Sorting Vitor Reus <vitor.reus@gmail.com>
Re: CUDA Sorting Thom Brown <thom@linux.com>
Re: CUDA Sorting Nulik Nol <nuliknol@gmail.com>
Re: CUDA Sorting Vitor Reus <vitor.reus@gmail.com>
Re: CUDA Sorting Nulik Nol <nuliknol@gmail.com>
Re: CUDA Sorting Greg Stark <stark@mit.edu>
Re: CUDA Sorting Hannu Krosing <hannu@2ndQuadrant.com>
Re: CUDA Sorting Greg Smith <greg@2ndQuadrant.com>
Re: CUDA Sorting Hannu Krosing <hannu@krosing.net>
Re: CUDA Sorting Vitor Reus <vitor.reus@gmail.com>
Re: CUDA Sorting Gaetano Mendola <mendola@gmail.com>
Re: CUDA Sorting Greg Smith <greg@2ndQuadrant.com>
Re: CUDA Sorting Gaetano Mendola <mendola@gmail.com>
Re: CUDA Sorting Kohei KaiGai <kaigai@kaigai.gr.jp>
Re: CUDA Sorting Gaetano Mendola <mendola@gmail.com>
Re: CUDA Sorting Greg Stark <stark@mit.edu>
Re: CUDA Sorting Gaetano Mendola <mendola@gmail.com>
Re: CUDA Sorting Peter Geoghegan <peter@2ndquadrant.com>
Re: CUDA Sorting Gaetano Mendola <mendola@gmail.com>
Re: CUDA Sorting Dann Corbit <DCorbit@connx.com>
Re: CUDA Sorting Peter Geoghegan <peter@2ndquadrant.com>
Re: CUDA Sorting Gaetano Mendola <mendola@gmail.com>
Re: CUDA Sorting Gaetano Mendola <mendola@gmail.com>
Re: CUDA Sorting Marti Raudsepp <marti@juffo.org>
Re: CUDA Sorting Gaetano Mendola <mendola@gmail.com>
Re: CUDA Sorting Oleg Bartunov <oleg@sai.msu.su>
Re: CUDA Sorting Gaetano Mendola <mendola@gmail.com>
Re: CUDA Sorting Thom Brown <thom@linux.com>
Re: CUDA Sorting Stephen Frost <sfrost@snowman.net>
Re: CUDA Sorting Florian Pflug <fgp@phlo.org>
Re: CUDA Sorting Greg Smith <greg@2ndQuadrant.com>
Re: CUDA Sorting Cédric Villemain <cedric.villemain.debian@gmail.com>
Re: CUDA Sorting Christopher Browne <cbbrowne@gmail.com>
Re: CUDA Sorting Greg Stark <stark@mit.edu>
Re: CUDA Sorting Tom Lane <tgl@sss.pgh.pa.us>
Re: CUDA Sorting PostgreSQL - Hans-Jürgen Schönig<postgres@cybertec.at>
Re: CUDA Sorting Gaetano Mendola <mendola@gmail.com>
Re: CUDA Sorting Vitor Reus <vitor.reus@gmail.com>
Re: CUDA Sorting Thom Brown <thom@linux.com>
Re: CUDA Sorting Thom Brown <thom@linux.com>
2011/9/19 Thom Brown 
> Is your aim to have this committed into core PostgreSQL, or just for
> your own version?  If it's the former, I don't anticipate any
> enthusiasm from the hacker community.

This is a research thesis and I'm not confident to commit it on the
core just by myself. I will, however, release the source, and I
believe it will open the way to future work be committed on core
PostgreSQL.


2011/9/19 Greg Stark 
> 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 :)

My focus is also energy proportionality. If you add a GPU, you will
increase the power consumption in about 2 times, but perhaps could
increse the efficiency much more.


> 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.

For now, I'm planning to implement just the in-memory sort, for
simplicity and to see if it would give a real performance gain.


2011/9/19 Greg Stark :
> In which case you could call a specialized qsort which
> implements that comparator inlined instead of calling the standard
> function.

Actually I'm now trying to make a custom comparator for integers, but
I didn't had great progress. If this works, I'll port it to GPU and
start working with the next comparators, such as float, then strings,
in a incremental way.


2011/9/19 Thom Brown :
> Found it! http://www.cs.cmu.edu/afs/cs.cmu.edu/Web/People/ngm/15-823/project/Final.pdf
This is a really great work, and I'm basing mine on it. But it's
implemented using OpenGL (yes, not OpenCL), and therefore has a lot of
limitations. I also tried to contact naju but didn't get any answer.

Vítor Uwe Reus

В списке pgsql-hackers по дате отправления
От: Jeff Davis
Дата:
От: Enrico Pirozzi
Дата:
Сообщение: Re: A little pg_dump patch
FAQ