Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2019 06:14:26 +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:  <8ec84f75-2100-ff8a-6337-3c955f31da62@grosbein.net>
In-Reply-To: <CAKwR996sPR=qCwk0TO=zhy5J8vOPZtowxFQuK0QooF9bRObOrw@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>

next in thread | previous in thread | raw e-mail | index | archive | help
25.06.2019 19:40, Christian M wrote:

> I've disabled them all on both VM's with FreeBSD 12.0-RELEASE (ifconfig xn0
> -txcsum -rxcsum -lro -tso), and also tried disabling everything for the VIF
> via XCP-ng earlier. It made no difference unfortunately.

Then you should try to bring the interface to promiscuous mode manually
with "ifconfig xn0 promisc" any retry. If this does not make a difference,
then you may be facing some timekeeping problem as tcpdump makes additional
CPU load on the system that can force scheduler behaviour to change.

As next step, you should check your kern.timecounter.* and kern.eventtimer.* sysctls.
If default value of kern.eventtimer.periodic is 0 (it depends on detected "hardware"),
you should change it kern.eventtimer.periodic=1 and retry the test.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8ec84f75-2100-ff8a-6337-3c955f31da62>