sorting using radix sort

11 views
Skip to first unread message

sash

unread,
Nov 26, 2009, 3:06:59 AM11/26/09
to CUDPP
hi

I was sorting a large number of elements (around 16M) and got
timings of about 125 ms. Then I tried sorting exactly 16M numbers and
still the time taken is around 120ms. Is it too high? I was checking
the paper by Harris et. al. and the timings are around 90 ms. Am I
going wrong anywhere? I tried it on both radix sorts - the one in
cudpp 1.1 and the one in the cuda sdk of 2.3

thanks

s

Mark Harris

unread,
Nov 26, 2009, 3:40:04 AM11/26/09
to cu...@googlegroups.com
Please provide information on your system.  GPU, OS, CUDA version, etc.


--

You received this message because you are subscribed to the Google Groups "CUDPP" group.
To post to this group, send email to cu...@googlegroups.com.
To unsubscribe from this group, send email to cudpp+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cudpp?hl=en.



Peter Volk

unread,
Nov 26, 2009, 3:32:44 AM11/26/09
to cu...@googlegroups.com
Hi,

it also depends on what CPU and GPU you have. The GPUs have different
clockings (e.g. gtx285 has a faster clocking than the gtx295 but fewer
SMs).

Cheers,
Peter

sash

unread,
Nov 26, 2009, 4:44:02 AM11/26/09
to CUDPP
hi

sorry for not mentioning there itself. I'm using ubuntu 9.04
with cuda 2.3 and cudpp 1.1. My GPU is gtx 280.

thanks

s

On Nov 26, 1:32 pm, Peter Volk <volk.pe...@googlemail.com> wrote:
> Hi,
>
> it also depends on what CPU and GPU you have. The GPUs have different
> clockings (e.g. gtx285 has a faster clocking than the gtx295 but fewer
> SMs).
>
> Cheers,
> Peter
>

Mark Harris

unread,
Nov 26, 2009, 7:02:40 AM11/26/09
to cu...@googlegroups.com
32-bit or 64-bit?  

My guess is the OS is the major difference.  The numbers in the paper are from WinXP 32-bit, which I find to generally have the fastest CUDA performance of the OSes (definitely compared to WinVista).

Mark

sash

unread,
Nov 26, 2009, 8:52:17 AM11/26/09
to CUDPP
i'm using 32 bit linux. Thanks a lot for that info. I started CUDA in
linux and have been stuck with it ever since. Now, this is a good
enough reason to try windows XP as well! :)

On Nov 26, 5:02 pm, Mark Harris <harr...@gmail.com> wrote:
> 32-bit or 64-bit?
>
> My guess is the OS is the major difference.  The numbers in the paper are
> from WinXP 32-bit, which I find to generally have the fastest CUDA
> performance of the OSes (definitely compared to WinVista).
>
> Mark
>
> > cudpp+un...@googlegroups.com <cudpp%2Bunsu...@googlegroups.com>.
> > > > For more options, visit this group athttp://
> > groups.google.com/group/cudpp?hl=en.
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "CUDPP" group.
> > To post to this group, send email to cu...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > cudpp+un...@googlegroups.com <cudpp%2Bunsu...@googlegroups.com>.
Reply all
Reply to author
Forward
0 new messages