also
http://rtoodtoo.net/generic_segmentation_offload_and_wireshark/
i have turned off gso tso on ybonas and I see this
strange I am getting icmp, but it looks like outbound doesn't have larger mtu packets
23:17:33.927282 IP 10.172.203.30 > 10.172.203.34: ICMP 10.172.210.30 unreachable - need to frag (mtu 1500), length 556
23:17:34.127656 IP 10.172.203.34.ssh > 10.172.210.30.47534: Flags [.], seq 39984650:39986006, ack 17726, win 32, options [nop,nop,TS val 3943054759 ecr 3943433105], length 1356
23:17:34.128691 IP 10.172.210.30.47534 > 10.172.203.34.ssh: Flags [.], ack 39986006, win 3306, options [nop,nop,TS val 3943433307 ecr 3943054759], length 0
23:17:34.128712 IP 10.172.203.34.ssh > 10.172.210.30.47534: Flags [.], seq 39986006:39987362, ack 17726, win 32, options [nop,nop,TS val 3943054759 ecr 3943433307], length 1356
23:17:34.128729 IP 10.172.203.34.ssh > 10.172.210.30.47534: Flags [.], seq 39987362:39988718, ack 17726, win 32, options [nop,nop,TS val 3943054759 ecr 3943433307], length 1356
23:17:34.129071 IP 10.172.203.30 > 10.172.203.34: ICMP 10.172.210.30 unreachable - need to frag (mtu 1500), length 556
23:17:34.328640 IP 10.172.203.34.ssh > 10.172.210.30.47534: Flags [.], seq 39986006:39987362, ack 17726, win 32, options [nop,nop,TS val 3943054960 ecr 3943433307], length 1356
23:17:34.329747 IP 10.172.210.30.47534 > 10.172.203.34.ssh: Flags [.], ack 39987362, win 3306, options [nop,nop,TS val 3943433508 ecr 3943054960], length 0
23:17:34.329773 IP 10.172.203.34.ssh > 10.172.210.30.47534: Flags [.], seq 39987362:39988718, ack 17726, win 32, options [nop,nop,TS val 3943054960 ecr 3943433508], length 1356
23:17:34.329792 IP 10.172.203.34.ssh > 10.172.210.30.47534: Flags [.], seq 39988718:39990074, ack 17726, win 32, options [nop,nop,TS val 3943054960 ecr 3943433508], length 1356
23:17:34.330145 IP 10.172.203.30 > 10.172.203.34: ICMP 10.172.210.30 unreachable - need to frag (mtu 1500), length 556
23:17:34.529649 IP 10.172.203.34.ssh > 10.172.210.30.47534: Flags [.], seq 39987362:39988718, ack 17726, win 32, options [nop,nop,TS val 3943055161 ecr 3943433508], length 1356
23:17:34.530663 IP 10.172.210.30.47534 > 10.172.203.34.ssh: Flags [.], ack 39988718, win 3306, options [nop,nop,TS val 3943433709 ecr 3943055161], length 0
23:17:34.530688 IP 10.172.203.34.ssh > 10.172.210.30.47534: Flags [.], seq 39988718:39990074, ack 17726, win 32, options [nop,nop,TS val 3943055161 ecr 3943433709], length 1356
23:17:34.530708 IP 10.172.203.34.ssh > 10.172.210.30.47534: Flags [.], seq 39990074:39991430, ack 17726, win 32, options [nop,nop,TS val 3943055161 ecr 3943433709], length 1356
23:17:34.531036 IP 10.172.203.30 > 10.172.203.34: ICMP 10.172.210.30 unreachable - need to frag (mtu 1500), length 556
this is what i see on the openvpn server ..... suddenly larger mtu packets
23:17:26.064157 IP 10.172.203.30 > 10.172.203.34: ICMP 10.172.210.30 unreachable - need to frag (mtu 1500), length 556
23:17:26.264908 IP 10.172.203.34.ssh > 10.172.210.30.47534: Flags [.], seq 39930410:39931766, ack 17678, win 32, options [nop,nop,TS val 3943046897 ecr 3943425243], length 1356
23:17:26.265719 IP 10.172.210.30.47534 > 10.172.203.34.ssh: Flags [.], ack 39931766, win 3306, options [nop,nop,TS val 3943425445 ecr 3943046897], length 0
23:17:26.266120 IP 10.172.203.34.ssh > 10.172.210.30.47534: Flags [.], seq 39931766:39934478, ack 17678, win 32, options [nop,nop,TS val 3943046898 ecr 3943425445], length 2712
23:17:26.266146 IP 10.172.203.30 > 10.172.203.34: ICMP 10.172.210.30 unreachable - need to frag (mtu 1500), length 556
23:17:26.466875 IP 10.172.203.34.ssh > 10.172.210.30.47534: Flags [.], seq 39931766:39933122, ack 17678, win 32, options [nop,nop,TS val 3943047099 ecr 3943425445], length 1356
23:17:26.467654 IP 10.172.210.30.47534 > 10.172.203.34.ssh: Flags [.], ack 39933122, win 3306, options [nop,nop,TS val 3943425647 ecr 3943047099], length 0
23:17:26.468061 IP 10.172.203.34.ssh > 10.172.210.30.47534: Flags [.], seq 39933122:39935834, ack 17678, win 32, options [nop,nop,TS val 3943047100 ecr 3943425647], length 2712
23:17:26.468081 IP 10.172.203.30 > 10.172.203.34: ICMP 10.172.210.30 unreachable - need to frag (mtu 1500), length 556
I turned off all the offloading on the openvpn server nic. icmp ... fragment icmps stop.. yeah
but I still have a speed cap
Start test over vpn
receiving incremental file list
100M.iso
104.86M 100% 10.93MB/s 0:00:09 (xfer#1, to-check=0/1)
sent 30 bytes received 104.87M bytes 11.04M bytes/sec
total size is 104.86M speedup is 1.00
Start test outside vpn
receiving incremental file list
100M.iso
104.86M 100% 88.81MB/s 0:00:01 (xfer#1, to-check=0/1)
sent 30 bytes received 104.87M bytes 41.95M bytes/sec
total size is 104.86M speedup is 1.00