灵活的高速用户空间中间盒
mmb: Flexible High-Speed Userspace Middleboxes
摘要:
如今,互联网参与者必须在许多层面应对互联网流量的强劲增长。他们面临的主要挑战之一是构建高速高效的网络解决方案。在这样的背景下,内核旁路I/O框架已经成为他们对不断增长的带宽需求的首选答案。到目前为止,已经取得了许多工作,他们都声称已经成功地达到了线速的流量转发。然而,这种说法并不适用于更复杂的数据包处理。此外,所有这些解决方案在部署灵活性或可配置性和用户友好性方面都有共同的缺点。这正是我们在本文中通过引入mmb来解决的问题,mmb是一个VPP中间盒插件。MMB允许通过直观的命令行界面容易地构建无状态和有状态分类以及重写中间盒。除了其他高性能I/O框架使用的其他技术外,mmb还谨慎地使用了指令缓存和内存预取。我们比较了mmb的性能与其他性能增强的中间盒解决方案,如内核旁路框架,内核级优化的方法和其他国家的最先进的解决方案,用于执行中间盒策略(防火墙,NAT,传输级工程)。我们证明,mmb执行,一般来说,优于现有的解决方案,维持线速处理,同时执行大量的复杂的政策。
英文摘要:
Nowadays, Internet actors have to deal with a strong increase in Internet traffic at many levels. One of their main challenge is building high-speed and efficient networking solutions. In such a context, kernel-bypass I/O frameworks have become their preferred answer to the increasing bandwidth demands. Many works have been achieved, so far, all of them claiming to have succeeded in reaching line-rate for traffic forwarding. However, this claim does not hold for more complex packet processing. In addition, all those solutions share common drawbacks on either deployment flexibility or configurability and user-friendliness. This is exactly what we tackle in this paper by introducing mmb, a VPP middlebox plugin. mmb allows, through an intuitive command-line interface, to easily build stateless and stateful classification and rewriting middleboxes. mmb makes a careful use of instruction caching and memory prefetching, in addition to other techniques used by other high-performance I/O frameworks. We compare mmb performance with other performance-enhancing middlebox solutions, such as kernel-bypass framework, kernel-level optimized approach and other state-of-the-art solutions for enforcing middleboxes policies (firewall, NAT, transport-level engineering). We demonstrate that mmb performs, generally, better than existing solutions, sustaining a line-rate processing while performing large numbers of complex policies.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。