Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2019 15:36:42 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Christian M <christian.marcos@gmail.com>
Cc:        freebsd-xen@freebsd.org, freebsd-net@freebsd.org
Subject:   Re: Very slow and inconsistent internal network speed (between, VM's on the same host) for FreeBSD 11.0+ as guest on, XCP-ng/XenServer
Message-ID:  <d89b2b9a-5005-c9ee-5364-9affff5fd1f5@grosbein.net>
In-Reply-To: <CAKwR994qWVpY0D8s0n5SOZcY3GzOSV87y7sG0LiMWps3-_ACcg@mail.gmail.com>
References:  <mailman.7.1560945600.15387.freebsd-xen@freebsd.org> <12994df1-f847-ec92-aae8-43a32e59385f@darco.dk> <CAKwR994kQTRfB0R0_WiTYx4pgOHtR-ge7h0vP8NiM_%2B-MBPGGw@mail.gmail.com> <20190625082103.qiiz2cikrauaqlas@MacBook-Air-de-Roger.local> <CAKwR996s9Y_Bea95GOhPkdEJabmJM0r6Qi43gW7_8SXE2ryddA@mail.gmail.com> <b0d72766-e7a9-08f7-ed8f-f407fe1285e6@grosbein.net> <CAKwR996sPR=qCwk0TO=zhy5J8vOPZtowxFQuK0QooF9bRObOrw@mail.gmail.com> <8ec84f75-2100-ff8a-6337-3c955f31da62@grosbein.net> <CAKwR994qWVpY0D8s0n5SOZcY3GzOSV87y7sG0LiMWps3-_ACcg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
26.06.2019 15:11, Christian M wrote:

> Running tcpdump on the host while running iperf3 between the 12.0 VM's
> results in a lot of incorrect cksum like this.
> 
> tcpdump -i vif54.0 -v -nn| grep -i incorrect
> 172.31.16.125.63013 > 172.31.16.126.5201: Flags [.], cksum 0x7f08
> (incorrect -> 0x030f), seq 223153882:223155330, ack 1, win 1026, options
> [nop,nop,TS val 4104002274 ecr 3926764642], length 1448

Incorrect checksum shown by tcpdump is normal and expected for outgoing packets
if txcsum offload is not disabled because networking stack skips checksum calculation
offloading it to "hardware". It still indicates a bug at sending side if seen for outgoing packets
when txcsum is disabled.

Incorrect checksum shown by tcpdump for incoming packets always indicates a problem
at sending side or intermediate network (if any).

You should check output of "netstat -sp ip" and "netstat -sp tcp" for non-zero
and growing checksum error counters at receiving side.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d89b2b9a-5005-c9ee-5364-9affff5fd1f5>