...
首页> 外文期刊>Computer communication review >Network Stack Specialization for Performance
【24h】

Network Stack Specialization for Performance

机译:网络堆栈专业化性能

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

Contemporary network stacks are masterpieces of generality, supporting many edge-node and middle-node functions. Generality comes at a high performance cost: current APIs, memory models, and implementations drastically limit the effectiveness of increasingly powerful hardware. Generality has historically been required so that individual systems could perform many functions. However, as providers have scaled services to support millions of users, they have transitioned toward thousands (or millions) of dedicated servers, each performing a few functions. We argue that the overhead of generality is now a key obstacle to effective scaling, making specialization not only viable, but necessary. We present Sandstorm and Namestorm, web and DNS servers that utilize a clean-slate userspace network stack that exploits knowledge of application-specific workloads. Based on the netmap framework, our novel approach merges application and network-stack memory models, aggressively amortizes protocol-layer costs based on application-layer knowledge, couples tightly with the NIC event model, and exploits microarchitectural features. Simultaneously, the servers retain use of conventional programming frameworks. We compare our approach with the FreeBSD and Linux stacks using the nginx web server and NSD name server, demonstrating 2-10× and 9× improvements in web-server and DNS throughput, lower CPU usage, linear multicore scaling, and saturated NIC hardware.
机译:当代网络堆栈是通用性的杰作,支持许多边缘节点和中间节点功能。通用性会带来很高的性能成本:当前的API,内存模型和实现方式极大地限制了功能日益强大的硬件的有效性。历史上一直需要通用性,以便各个系统可以执行许多功能。但是,由于提供商已经扩展了服务以支持数百万个用户,因此他们已经过渡到成千上万个专用服务器,每个服务器执行一些功能。我们认为,一般性的开销现在是有效扩展的主要障碍,这使得专业化不仅可行而且必要。我们将介绍利用整洁的用户空间网络堆栈的Sandstorm和Namestorm,Web和DNS服务器,该堆栈利用特定于应用程序的工作负载的知识。基于netmap框架,我们的新颖方法将应用程序和网络堆栈内存模型合并在一起,基于应用程序层知识积极地摊销协议层成本,与NIC事件模型紧密结合,并利用微体系结构功能。同时,服务器保留了常规编程框架的使用。我们将我们的方法与使用nginx Web服务器和NSD名称服务器的FreeBSD和Linux堆栈进行了比较,证明Web服务器和DNS吞吐量分别提高了2-10倍和9倍,CPU使用率降低,线性多核扩展和饱和的NIC硬件。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号