接收CPU选择框架:网络堆栈中的跨层优化以提高服务器的可扩展性

Jiaquan He, Yu Chen, Yong Zhang, Chunxiao Xing
{"title":"接收CPU选择框架:网络堆栈中的跨层优化以提高服务器的可扩展性","authors":"Jiaquan He, Yu Chen, Yong Zhang, Chunxiao Xing","doi":"10.1109/WISA.2015.71","DOIUrl":null,"url":null,"abstract":"This paper explores what normal web requests look like in the Linux kernel network stack's perspective, summarizes the available hardware and software optimization techniques, and then presents a method of improving web server applications' performance and scalability by introducing the Receive CPU Selection framework. This framework bridges the information gap between network stack layers and makes it possible to process a web request always within one CPU core from the NIC (network interface card) to the application process, which avoid cache misses and CPU core switches. Experiments show that with this optimization, server applications perform and scale better. Unlike previous optimization, server applications can gain noticeable performance improvement while their source codes remain unmodified, which is a significant requirement in the production environment.","PeriodicalId":198938,"journal":{"name":"2015 12th Web Information System and Application Conference (WISA)","volume":"29 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-09-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Receive CPU Selection Framework: Cross-Layer Optimization In Network Stack to Improve Server Scalability\",\"authors\":\"Jiaquan He, Yu Chen, Yong Zhang, Chunxiao Xing\",\"doi\":\"10.1109/WISA.2015.71\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"This paper explores what normal web requests look like in the Linux kernel network stack's perspective, summarizes the available hardware and software optimization techniques, and then presents a method of improving web server applications' performance and scalability by introducing the Receive CPU Selection framework. This framework bridges the information gap between network stack layers and makes it possible to process a web request always within one CPU core from the NIC (network interface card) to the application process, which avoid cache misses and CPU core switches. Experiments show that with this optimization, server applications perform and scale better. Unlike previous optimization, server applications can gain noticeable performance improvement while their source codes remain unmodified, which is a significant requirement in the production environment.\",\"PeriodicalId\":198938,\"journal\":{\"name\":\"2015 12th Web Information System and Application Conference (WISA)\",\"volume\":\"29 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2015-09-11\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2015 12th Web Information System and Application Conference (WISA)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/WISA.2015.71\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 12th Web Information System and Application Conference (WISA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/WISA.2015.71","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

本文从Linux内核网络栈的角度探讨了正常的web请求是什么样子的,总结了现有的硬件和软件优化技术,然后提出了一种通过引入Receive CPU Selection框架来提高web服务器应用程序性能和可扩展性的方法。该框架弥合了网络堆栈层之间的信息鸿沟,使得从网卡(网络接口卡)到应用程序进程始终在一个CPU核心内处理web请求成为可能,从而避免了缓存丢失和CPU核心切换。实验表明,通过这种优化,服务器应用程序的性能和可伸缩性更好。与之前的优化不同,服务器应用程序可以在源代码保持不变的情况下获得显著的性能改进,这在生产环境中是一个重要的需求。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Receive CPU Selection Framework: Cross-Layer Optimization In Network Stack to Improve Server Scalability
This paper explores what normal web requests look like in the Linux kernel network stack's perspective, summarizes the available hardware and software optimization techniques, and then presents a method of improving web server applications' performance and scalability by introducing the Receive CPU Selection framework. This framework bridges the information gap between network stack layers and makes it possible to process a web request always within one CPU core from the NIC (network interface card) to the application process, which avoid cache misses and CPU core switches. Experiments show that with this optimization, server applications perform and scale better. Unlike previous optimization, server applications can gain noticeable performance improvement while their source codes remain unmodified, which is a significant requirement in the production environment.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信