Closed bestgen closed 5 years ago
Regarding large packets, if segmentation offloading is enabled, captured packets may be the unsegmented packets, not the packets on the wire. Please check ethtool -k to see whether offloads are enabled.
On the client side, please ascertain that offloads are disabled, then capture from connection establishment to the slowdown or failure, and send the capture file.
Thank you for your help @JereLeppanen . You are right, the packets captured are not the real packets on the wire. The TCP transmission problem is caused by TCP and IP segmentation functions of system. After I closed the GSO and TSO, it works well. Thanks again.
I built a simple three-point network to use odp&ofp (both are master version) to forward packets. The central point runs ofp&odp as a router, and the other two runs iperf as client and server, without odp$ofp. UDP transmission is good. When using iperf through ofp & odp to transmit TCP packets, the client can only send several packets after connection established and then it nearly failed to continue. The speed is very slow. I use wireshark to capture the packets and do some tests, and find:
Is there anyone have some ideas about this problem, or have got similar situation before? Thanks.