LRO导致openstack虚拟机网络问题
虚拟机无法打开网页,登录虚拟机进行排查
openstack虚拟机网关可以ping通,dns可以ping通,外网可以ping通,能够进行正确域名解析,网页无法打开。
大数据包不能正常通信,小数据包可以正常通信。
In computer networking, large receive offload (LRO) is a technique for increasing inbound throughput of high-bandwidth network connections by reducing CPU overhead. It works by aggregating multiple incoming packets from a single stream into a larger buffer before they are passed higher up the networking stack, thus reducing the number of packets that have to be processed. Linux implementations generally use LRO in conjunction with the New API (NAPI) to also reduce the number of interrupts.
LRO通过将接收到的多个TCP数据聚合成一个大的数据包,然后传递给网络协议栈处理,以减少上层协议栈处理 开销,提高系统接收TCP数据包的能力。
ethtool -k ens1f0 |grep large
large-receive-offload: on
将LRO关闭
ethtool -K ens1f0 lro off
虚拟机可以正常打开网页了。