3 ms·
How secure is that? Are users of a GPU completely isolated from eachother? Will there be side-channel attacks possible?
by amelius 4y ago
How secure is that? Are users of a GPU completely isolated from eachother? Will there be side-channel attacks possible?
- amarshall 4y agoIt’s mostly up to the specific hardware and its host-side drivers. I’d say that GPU compute security is a very under-studied area compared with CPU compute.
- ArcVRArthur 4y agoYa, that's accurate. The precise driver implementation matters a lot. Having said that there are some good 'best practices' that seem to make a difference. In my opinion 'IOMMU Aware Mediated Device' could also make some much needed improvements here as it would allow for more granular IOMMU allocations - perhaps this mode could help further support the 'App VMs' use-case using shared work queues without breaking IO virtual address translation: https://lwn.net/ml/linux-kernel/20190222021927.13132-1-baolu.lu@linux.intel.com/ https://lwn.net/ml/linux-kernel/20190222021927.13132-1-baolu...
- ArcVRArthur 4y agoGVM uses IOMMU for compartmentalization: This page has a comparison of the various IO assistance modes GVM can make use of (see comparison of assistance modes, the Mdev Mode section, and the SR-IOV Mode section): https://openmdev.io/index.php/Virtual_IO_Internals https://openmdev.io/index.php/Virtual_IO_Internals This will probably also play a role in future developments like SIOV (Scalable IO Virtualization): https://lwn.net/ml/linux-kernel/20190222021927.13132-1-baolu.lu@linux.intel.com/ https://lwn.net/ml/linux-kernel/20190222021927.13132-1-baolu...