An Optimization Method for Linux TCP/IP Processing in Virtualized Environments
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%.