An efficient and low-latency interrupt passthrough method based on device passthrough
Aiming at the problem that the virtual central processing unit(CPU)scheduling delay of symmetric multi-pro-cessing(SMP)virtual machine(VM)will reduce the virtual machine input/output(I/O)responsiveness,an effi-cient and low-latency interrupt passthrough method based on device passthrough is proposed in this paper.Based on hardware-assisted technology,this method builds an interrupt pass-through architecture,and designs an interrupt redirection mechanism to redirect interrupts from the preempted vCPUs to running ones.The experimental results show that the round-trip time of the network is reduced by an average of 34.1%,the throughput is increased by up to 7.9%,and the time required for each server request with Apache test is reduced by an average of 13.6%,and the average latency of disk I/O operations is reduced by 6.7%~8.4%.The experimental results demonstrate that this method can effectively reduce the impact of virtual machine vCPU scheduling on I/O latency and improve virtu-al machine I/O responsiveness.