Live data from Hacker News

KGPU - Augmenting Linux with the CUDA GPU

github.com

1–10 of 34 posts

Re: KGPU - Augmenting Linux with the CUDA GPU

#5

Where is this useful? The bus speed across to the GPU is so slow, I thought it was only meaningful for near-autonomous operations.

Agreed. I'm also struggling to see what kind of massively parallel operations need to be done in kernel space in the first place.

Re: KGPU - Augmenting Linux with the CUDA GPU

#6

Where is this useful? The bus speed across to the GPU is so slow, I thought it was only meaningful for near-autonomous operations.

Right now, the bandwidth to modern GPUs is actually pretty decent (16GB/s bidirectional), but the latency is still horrid. This means that you need rather large operations for offloading to pay off. I think doing raid-5 or full disk encryption with large blocks might just barely be worth it.

However, with AMD and Intel integrated GPUs, this is about to change. AMD is doing a lot of work on HSA, which can be summarized as "GPU and CPU share same memory, and can communicate by passing pointers". I can see this kind of work being really useful in the near future.

Re: KGPU - Augmenting Linux with the CUDA GPU

#7

Where is this useful? The bus speed across to the GPU is so slow, I thought it was only meaningful for near-autonomous operations.

Agreed. I'm also struggling to see what kind of massively parallel operations need to be done in kernel space in the first place.

Maybe it doesn't have to saturate the GPU to be a win. If you can just banish some cache busting, streaming work, like raid processing, to a tiny sliver of the GPU it could be a win.

Re: KGPU - Augmenting Linux with the CUDA GPU

#9

Where is this useful? The bus speed across to the GPU is so slow, I thought it was only meaningful for near-autonomous operations.

Right now, the bandwidth to modern GPUs is actually pretty decent (16GB/s bidirectional), but the latency is still horrid. This means that you need rather large operations for offloading to pay off. I think doing raid-5 or full disk encryption with large blocks might just barely be worth it. However, with AMD and Intel integrated GPUs, this is about to change. AMD is doing a lot of work on HSA, which can be summarize…

I had thought in the past that storing the index of a database (not the data, just index) on the card and using that to handle complex queries, might be interesting. Not sure if that has a practical, real-world use though.

Re: KGPU - Augmenting Linux with the CUDA GPU

#10

Where is this useful? The bus speed across to the GPU is so slow, I thought it was only meaningful for near-autonomous operations.

Right now, the bandwidth to modern GPUs is actually pretty decent (16GB/s bidirectional), but the latency is still horrid. This means that you need rather large operations for offloading to pay off. I think doing raid-5 or full disk encryption with large blocks might just barely be worth it. However, with AMD and Intel integrated GPUs, this is about to change. AMD is doing a lot of work on HSA, which can be summarize…

More and more CPUs have AES instructions and my old lenovo ideapad has a crypto coprocessor. Do you think the GPU offload will be worth it when the sytem has hw accelerated crypto?
Post reply on HN