网络与信息安全学报 ›› 2019, Vol. 5 ›› Issue (1): 56-65.doi: 10.11959/j.issn.2096-109x.2019007

• 专栏:密码攻防技术研究及应用探索 • 上一篇    下一篇

SR-IOV密码设备中断传输过程建模

孙磊,李帅,郭松辉   

  1. 信息工程大学,河南 郑州 450001
  • 修回日期:2018-12-26 出版日期:2019-02-01 发布日期:2019-04-17
  • 作者简介:孙磊(1973- ),男,江苏靖江人,博士,信息工程大学教授,主要研究方向为网络空间安全、可信计算。|李帅(1994- ),男,河南驻马店人,信息工程大学硕士生,主要研究方向为云计算安全、I/O虚拟化性能优化。|郭松辉(1979- ),男,四川乐山人,博士,信息工程大学副教授,主要研究方向为云计算安全。
  • 基金资助:
    国家重点研发计划基金资助项目(2016YFB0501900)

Modeling the interrupt transmission process of SR-IOV cryptographic device

Lei SUN,Shuai LI,Songhui GUO   

  1. Information Engineering University,Zhengzhou 450001,China
  • Revised:2018-12-26 Online:2019-02-01 Published:2019-04-17
  • Supported by:
    The National Key R & D Program of China(2016YFB0501900)

摘要:

SR-IOV密码设备在虚拟化环境下执行运算时会产生大量I/O中断,导致CPU在Root模式与Non-Root模式之间频繁切换,带来巨大的系统性能开销,影响SR-IOV密码设备的运算性能。针对该问题,对SR-IOV密码设备I/O中断进行建模分析,根据密码任务先到先服务的规则构建了M/M/1排队模型,分析了影响系统性能的关键因素,并通过仿真和实验测试验证了模型的有效性,最后对系统性能进行了测试与分析。结果表明,该模型能够定量分析中断频率对中断响应时间和系统队长的影响。

关键词: 中断, SR-IOV, 密码设备, 排队模型, 性能

Abstract:

The SR-IOV cryptographic device generates a large number of I/O interrupts when performing operations in a virtualized environment,causing the CPU to frequently switch between the Root mode and the Non-Root mode,which brings huge system performance overhead and affects the operational performance of SR-IOV cryptographic device.Aiming at this problem,the I/O interrupt of SR-IOV cryptographic device was analyzed,and a M/M/1 queuing model according to the cryptographic task first-come-first-served rules was constructed.What’s more,the key factors affecting system performance were analyzed,and the validity of the model via simulation and experiment was verified,and finally the system performance was tested.The results show that the model can quantitatively analyze the impact of the interrupt frequency on the interrupt response time and system queue length.

Key words: interrupt, SR-IOV, cryptographic device, queuing model, performance

中图分类号: 

No Suggested Reading articles found!