软件导刊2024,Vol.23Issue(1):81-89,9.DOI:10.11907/rjdk.231694
一种面向虚拟化环境的Linux TCP/IP流程优化方法
An Optimization Method for Linux TCP/IP Processing in Virtualized Environments
翁创1
作者信息
- 1. 上海船舶运输科学研究所有限公司 舰船自动化系统事业部,上海 200135
- 折叠
摘要
Abstract
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/IPKey words
virtualized environments/process optimization/netfilter/LRU/TCP/IP分类
信息技术与安全科学引用本文复制引用
翁创..一种面向虚拟化环境的Linux TCP/IP流程优化方法[J].软件导刊,2024,23(1):81-89,9.