一种面向虚拟化环境的Linux TCP/IP流程优化方法  

An Optimization Method for Linux TCP/IP Processing in Virtualized Environments

在线阅读下载全文

作  者:翁创 WENG Chuang(Warship Automatic System Division,Shanghai Ship and Shipping Research Institute Co.,LTD,Shanghai 200135,China)

机构地区:[1]上海船舶运输科学研究所有限公司舰船自动化系统事业部,上海200135

出  处:《软件导刊》2024年第1期81-89,共9页Software Guide

摘  要:在虚拟化环境中,云服务器数据在虚拟机之间传输的过程中会消耗大量CPU资源,导致网络性能下降。为了解决该问题,提出一种基于内核态的TCP/IP数据处理优化方法(KOTOM)。该方法利用服务器内核模块软件提高云服务器在虚拟化环境中的性能。通过建立Linux内核缓存并监控TCP/IP传输内容,实现对热点访问数据的内核态缓存,从而降低TCP/IP协议栈解析过程在用户态与内核态之间频繁切换带来的资源开销,提高网络传输效率。KOTOM利用红黑树提高缓存查找效率,采用LRU缓存替换策略实现对热点数据的缓存替换。实验结果表明,使用该方法可使CPU利用率降低7%,数据请求响应速度提高22%。In virtualized environments,cloud servers consume a significant amount of CPU resources during data transmission between virtual machines,leading to decreased network performance.To address this issue,this paper proposes a kernel-based TCP/IP data processing opti-mization method(KOTOM).This method aims to enhance the performance of cloud servers in virtualized environments through server kernel module software design.By establishing a Linux kernel cache and monitoring TCP/IP transmission content,KOTOM implements kernel-level caching for hot access data,thereby reducing the resource overhead caused by frequent switching between user and kernel modes during the parsing process of the TCP/IP protocol stack and improving network transmission efficiency.KOTOM utilizes a red-black tree to enhance cache lookup efficiency and adopts the LRU cache replacement strategy to implement cache replacement for hot data.Experiments show that using this method can reduce CPU utilization by up to 7%and increase data request response speed by 22%.

关 键 词:虚拟化环境 流程优化 NETFILTER LRU TCP/IP 

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象