加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

Linux上UDP和TCP的内核旁路 – 它涉及什么?

发布时间:2020-12-13 23:04:48 所属栏目:Linux 来源:网络整理
导读:每 http://www.solacesystems.com/blog/kernel-bypass-revving-up-linux-networking: […]a network driver called OpenOnload that use “kernel bypass” techniques to run the application and network driver together in user space and,well,bypass
每 http://www.solacesystems.com/blog/kernel-bypass-revving-up-linux-networking:

[…]a network driver called OpenOnload that use “kernel bypass” techniques to run the application and network driver together in user space and,well,bypass the kernel. This allows the application side of the connection to process many more messages per second with lower and more consistent latency.

[…]

If you’re a developer or architect who has fought with context switching for years kernel bypass may feel like cheating,but fortunately it’s completely within the rules.

执行此类内核绕过所需的功能是什么?

解决方法

TCP offload engine将“正常工作”,无需特殊的应用程序编程.它没有绕过整个内核,只是将一些TCP / IP堆栈从内核移动到网卡,因此驱动程序略高一些.内核API是相同的.

大多数现代千兆位接口都支持TCP卸载引擎.

或者,如果您的意思是“在SolarFlare网络适配器的嵌入式处理器/ FPGA”应用程序上载引擎上运行代码“,那么……这是特定于卡的.您基本上是在为嵌入式系统编写代码,因此您需要说明您正在使用哪种卡.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读