4 pointsby reindertpelsma4 hours ago1 comment
  • FranciscoCarlos3 hours ago
    This is super interesting and potentially extremely useful as well. What is the performance improvements against doing it via API remoting or translating?
    • reindertpelsma2 hours ago
      It reaches parity because CUDA's hot path isn't forwarded at all. nvkvm forwards the ioctl control surface: context and channel setup, allocation, mapping and stops there. The guest maps the real device memory, so BAR writes from userspace go straight to hardware, and launching a kernel is a write to memory the guest already has in its VA space.