Monday, May 9, 2011

Run Linux Kernel on CUDA based GPU

KGPU is a GPU computing framework for the Linux kernel. It allows the Linux kernel to directly execute CUDA programs running on GPUs.

The current KGPU release includes a demo task with GPU augmentation: a GPU AES cipher based eCryptfs, which is an encrypted file system on Linux. The read /write bandwidths are expected to be accelerated by a factor of 1.7 ~ 2.5 on an NVIDIA GeForce GTX 480 GPU.

For more information:

The source code can be obtained from, and news and release information can be found at


  1. KGPU is a workaround to enable Linux kernel functionality written in CUDA. Instead of figuring out GPU specs via reverse-engineering, it simply uses a userspace helper to do CUDA-related work for kernelspace requesters.

    With the accelerated performance of a GPU AES cipher in the Linux kernel, eCryptfs can get a 3x uncached read speedup and near 4x write speedup on an Intel X25-M 80G SSD.

    For more information visit following link.
    Title: Writing Linux Kernel Functions In CUDA With KGPU.

  2. GPUs use cheap memory, and the seti-at-home project discovered glitches in about 50% of results, so while this might sound cool, be prepared to loose all your encrypted data about 50% of the time...