Linux: network: arp 导致问题一例

最近读openswitch的文档,看到下面一段话,说所有的CFM/BFD等协议,ARP修改相关的包都会经过slowpath/慢路径处理。
Performance
Open vSwitch has a concept of a “fast path” and a “slow path”; ideally all packets stay in the fast path. This distinction between slow path and fast path is the key to making sure that Open vSwitch performs as fast as possible. Some factors can force a flow or a packet to take the slow path. As one example, all CFM, BFD, LACP, STP, and LLDP processing takes place in the slow path, in the cases where Open vSwitch processes these protocols itself instead of delegating to controller-written flows. As a second example, any flow that modifies ARP fields is processed in the slow path. These are corner cases that are unlikely to cause performance problems in practice because these protocols send packets at a relatively slow rate, and users and controller authors do not normally need to be concerned about them.

突然想起了很多年以前,公司的产品是在ATCA v1版本的机架办卡上,性能不得不说和现在差很远。记得有一个问题是这样,机架里的一个switch板块会不定期出现CPU性能的问题。最后调查的结果是收到的ARP有点多,导致底层需要往上传递ARP,最终导致CPU性能问题。
和这里的慢路径一个道理,switch需要二层的ARP做ip/mac的mapping表,需要当前交换机做一些处理。需要消耗CPU。
经过云化之后,ATCA也慢慢被淘汰了。都换成了HP服务器。

相关推荐

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-06-05 20:56:03       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-06-05 20:56:03       100 阅读
  3. 在Django里面运行非项目文件

    2024-06-05 20:56:03       82 阅读
  4. Python语言-面向对象

    2024-06-05 20:56:03       91 阅读

热门阅读

  1. iOS Hittest 机制和实际应用之一 hittest方法

    2024-06-05 20:56:03       29 阅读
  2. iOS object-c 常用API汇总

    2024-06-05 20:56:03       33 阅读
  3. iOS内购欺诈漏洞

    2024-06-05 20:56:03       32 阅读
  4. #媒体#知识分享#职场发展

    2024-06-05 20:56:03       32 阅读
  5. 如何使用 Vue CLI 创建和管理一个 Vue 项目

    2024-06-05 20:56:03       35 阅读
  6. SD-WAN怎样提升企业办公效率

    2024-06-05 20:56:03       29 阅读
  7. 使用Node.js搭建服务器

    2024-06-05 20:56:03       30 阅读
  8. flask的一些简要基础问答

    2024-06-05 20:56:03       32 阅读
  9. React@16.x(16)Render Props

    2024-06-05 20:56:03       32 阅读
  10. React 中图片请求失败使用裂图

    2024-06-05 20:56:03       29 阅读
  11. React@16.x(15)PureComponent 和 memo

    2024-06-05 20:56:03       34 阅读
  12. react的hooks是什么意思

    2024-06-05 20:56:03       18 阅读
  13. 【Python】使用flask作为web服务器

    2024-06-05 20:56:03       29 阅读
  14. Python Flask是什么:深入解析与实用指南

    2024-06-05 20:56:03       33 阅读