摘要
针对虚拟化环境下中断频率过大影响密码设备密码运算性能的问题,提出了一种降低中断频率的性能优化方法。首先建立了中断频率控制模型,通过实验验证了该模型的合理性和正确性;然后基于单根I/O虚拟化,在虚拟功能驱动层加入速度监测模块来实时监测加密速度的变化,并且当该模块监测到加密速度降低时自动调整虚拟功能中断频率上限,降低由中断频率过大带来的I/O传输消耗。实验结果表明,中断频率上限的调整显著提高了I/O密集型加密过程的加密速度。
Aiming at the problem that the interrupt frequency in the virtual environment is too large to affect the cryptographic computing performance of the encryption device,this paper proposed a performance optimization method to reduce the interrupt frequency.Firstly,the method established the interrupt frequency control model and the rationality and correctness of the model was verified by experiments.Then,based on single root I/O virtualization,adding a speed monitoring module at the virtual function driving layer to monitor the change of the encryption speed in real time,and when the module detected that the encryption speed reduced,it automatically adjusted the upper limit of the virtual function interruption frequency to reduce the interruption frequency.The process reduced excessive I/O transfer consumption.The experimental results show that the adjustment of the upper limit of the interrupt frequency significantly improves the encryption speed of the I/O intensive encryption process.
作者
李帅
孙磊
郭松辉
Li Shuai;Sun Lei;Guo Songhui(Information Engineering University,Zhengzhou 450001,China)
出处
《计算机应用研究》
CSCD
北大核心
2019年第9期2798-2802,2808,共6页
Application Research of Computers
基金
国家重点研发计划项目
关键词
中断频率
单根I/O虚拟化
控制模型
加密速度
interruption frequency
single root I/O virtualization
control model
encryption speed