博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
openStack 云平台管理节点管理网口流量非常大 出现丢包严重 终端总是时常中断问题调试及当前测试较有效方案...
阅读量:7222 次
发布时间:2019-06-29

本文共 2727 字,大约阅读时间需要 9 分钟。

tuning for Data Transfer hosts connected at speeds of 1Gbps or higher

<一.本次OpenStack系统调试简单过程简单记录>

1,dmesg 日志,丢包问题关键原因定位;

[101231.909932] net_ratelimit: 85 callbacks suppressed

2,ethstatus -i p5p1 实时追踪网口TX/RX状态;

3,具体内核等相关参数调整

# recommended default congestion control is htcp 超文本缓冲 net.ipv4.tcp_congestion_control=htcp # recommended for hosts with jumbo frames enabled   开启系统巨型帧 net.ipv4.tcp_mtu_probing=1

you should leave net.tcp_mem alone, as the defaults are fine. A number of performance experts say to also increase net.core.optmem_max to match net.core.rmem_max and net.core.wmem_max, but we have not found that makes any difference. Some experts also say to set net.ipv4.tcp_timestamps and net.ipv4.tcp_sack to 0, as doing that reduces CPU load. We strongly disagree with that recommendation for WAN performance, as we have observed that the default value of 1 helps in more cases than it hurts, and can help a lot

sysctl net.ipv4.tcp_available_congestion_control
/sbin/modprobe tcp_htcp /sbin/modprobe tcp_cubic
sysctl -w net.ipv4.tcp_congestion_control=htcp
/sbin/ifconfig ethN txqueuelen 10000

经过相关参数调整,ssh远程终端不再出现时常连接中断大延迟卡顿,云平台管理portal 大延迟Loading加载等问题,后续问题继续观察测试中!

<二.附加linux tunning,网络部分及内核参数,UDP/TCP tunning>

 

https://www.myricom.com/software/myri10ge/347-what-is-the-performance-impact-of-vlan-tagging-with-the-myri10ge-driver.html

1,What is the performance impact of VLAN tagging, slight performance impact incurred when using VLAN tagging;

There are two issues:

  1. Capabilities of vlan shim drivers to do offloads

    On all OSes, there is a shim driver to handle vlan traffic and configuration. This driver sits between the TCP/IP stack and the hardware driver. On Windows, every hardware vendor must ship their own vlan shim driver. (Our Windows VLAN driver is included in the Windows Myri10GE software distribution on the ). However, on linux, the vlan shim driver is shared by all adapters, regardless of vendor. It is not, to our knowledge, possible to bypass this shim driver.

    Prior to linux 2.6.26, the linux vlan driver did not propagate any advanced offload flags from the hardware device to the vlan shim device. That means, for example, that doing TCP Segmentation Offload was not possible on a vlan device, even though the driver/hardware supports it. This is true for all vendors, not just our hardware.

    There are other limitations. For example, prior to 2.6.32, the vlan driver would xmit all packets through tx queue 0, rather than the correct TX queue. RHEL 5.5 enables TSO on VLAN, but does not enable S/G, which results in a memory copy of most packets, etc.

  2. Capabilities of the adapter to handle vlan packets

    Our adapter handles VLAN traffic where it is required to (emitting TSO frames, for example).

转载地址:http://jweym.baihongyu.com/

你可能感兴趣的文章
JDK1.6 自动生成WebService客户端代码
查看>>
创建一个基于for 的简单的循环。使其循环10 次,并且使用fmt 包打印 出计数器的值...
查看>>
ERP实施过程中应如何沟通
查看>>
Powerdesiger15mysql数据库创建外键失败
查看>>
OC内存管理常见的面试题
查看>>
苹果上架被拒原因
查看>>
自己关于spring的IOC一些理解
查看>>
redis缓存事故记录(持续更新)
查看>>
java中多线程的问题
查看>>
Des加密算法的php实现
查看>>
Java经典算法:冒泡排序例子
查看>>
HTML5 + WebGL打造的无插件纯web 3D机房(第三季新增资产容量管理、动环监控等)...
查看>>
PHP 7.0.0 一键安装脚本
查看>>
睡个好觉吧!MUJI to sleep
查看>>
Java中对象初始化顺序
查看>>
Java对URL中的中文进行UrlEncode
查看>>
UC浏览器的研测过程
查看>>
功能强大的编辑器——Vi
查看>>
HashMap,LinkedHashMap,TreeMap的区别
查看>>
工作第一天
查看>>