ublk-vram

Crates.ioublk-vram
lib.rsublk-vram
version0.1.12
created_at2025-09-03 09:08:31.946864+00
updated_at2025-09-25 07:05:45.540093+00
descriptionA block device that exposes OCL memory to userspace via ublk.
homepage
repositoryhttps://github.com/wuhongzhi/ublk-vram
max_upload_size
id1822225
size67,146
Jacky WU (wuhongzhi)

documentation

README

This is fork from https://github.com/theblazehen/vramblk.git, but use ublk instead of NBD. about ublk, please see https://www.kernel.org/doc/html/latest/block/ublk.html

Limitations

  • Performance is limited by PCI-Express bandwidth, OpenCL overhead.
  • Maximum size is limited by available OCL memory.
  • Not recommended for critical data (no persistence).
  • Requires root privileges for the server (mlockall, OpenCL).
  • mlockall might fail if limits (ulimit -l) are too low or user lacks privileges.

License

MIT


Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Commit count: 15

cargo fmt