RX: 130 Kbps
TX: 150 Kbps
My OpenStack's network service is with GRE segmentation on Neutron. Why? After google the web, I found some people had the same issues as I had:
They talked about the approach on the VM to solve the issue and this works
> ethtool -K eth0 gro off
> ethtool -K eth0 tso off
But, for my case I think it is not
MTU need to adjust when using
http://docs.openstack.org/juno/install-guide/install/yum/content/neutron-network-node.html
Quote:
"Tunneling protocols such as GRE include additional packet headers that increase overhead and decrease
Ideally, you can prevent these problems by enabling jumbo frames on the physical network that contains your tenant virtual networks. Jumbo frames support MTUs up to approximately 9000 bytes which negates the impact of GRE overhead on virtual networks. However, many network devices lack support for jumbo frames and OpenStack administrators often lack control over network infrastructure. Given the latter complications, you can also prevent MTU prob
After doing the following setting on Controller node, the transmit speed is up to:
RX: 31323 Kbps
TX: 31464 Kbps
- Edit the
/etc/neutron/dhcp_agent.ini
file and complete the following action:- In the
[DEFAULT]
section, enable the dnsmasq configuration file:123[DEFAULT]
...
dnsmasq_config_file =
/etc/neutron/dnsmasq-neutron
.conf
- Create and edit the
/etc/neutron/dnsmasq-neutron.conf
file and complete the following action:- Enable the DHCP MTU option (26) and configure it to 1454 bytes:1
dhcp-option-force=26,1454
- Kill any existing
dnsmasq
processes:# pkill dnsmasq
So, the network performance is improved 200 times.
Wow...
Reference:
TCP segmentation offload
https://forum.ivorde.com/linux-tso-tcp-segmentation-offload-what-it-means-and-how-to-enable-disable-it-t19721.html
TCP in Linux Kernel
http://vger.kernel.org/~davem/tcp_output.html
Understanding TCP Segmentation Offload (TSO) and Large Receive Offload (LRO) in a VMware environmenthttps://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2055140
No comments:
Post a Comment