SR-IOV
最后更新于
SR-IOV technology is a hardware-based virtualization solution that can significantly improve both performance and scalability.
The SR-IOV standard facilitates efficient sharing of PCIe (Peripheral Component Interconnect Express) devices among virtual machines. This technology is implemented in hardware, which allows for I/O performance that rivals native, non-virtualized environments. The SR-IOV specification outlines a new standard that enables newly created devices to connect virtual machines directly to I/O devices (the SR-IOV specification is defined and maintained by the PCI-SIG at ). A single I/O resource can be shared by numerous virtual machines. The shared device provides dedicated resources, as well as utilizes shared common resources. As a result, each virtual machine has access to unique resources. Therefore, PCIe devices (like Ethernet ports) with SR-IOV enabled and the right hardware and OS support can appear as multiple separate physical devices, each with their own PCIe configuration space.
SR-IOV is primarily used in virtualization but can also be applied to containers.
Excellent performance
Does not consume computing resources
Limited number of VFs (Virtual Functions)
Hardware binding does not support container migration
Reference Documents
Intel has developed an SR-IOV network plugin for Docker, with the source code hosted at . It supports both runc and clearcontainer.
Intel maintains an , which is a fork from , and extends support for DPDK.
The project homepage can be found at .