Date: Tue, 2 Jan 2018 20:11:03 +0100 From: Michael Grimm <trashcan@ellael.org> To: freebsd-net@freebsd.org Cc: bryanv@FreeBSD.org Subject: Re: [SOLVED] performance issue within VNET jail Message-ID: <53C901D3-FA1B-49E7-8623-7FE23493B7E8@ellael.org> In-Reply-To: <5FD6CE98-601B-46B7-B598-83BE5A31200A@ellael.org> References: <4F5EE3F6-0163-4435-8726-56B0D4AE9FAF@ellael.org> <B6446660-9FD2-4C28-A3A2-8AC99624C7FF@sigsegv.be> <8102F5FD-DCFC-4EF8-A443-9E6C9EB1F467@ellael.org> <DB5DE737-7171-4953-AF98-45F1BE7AF09E@sigsegv.be> <8C8A172B-4D4F-4066-8B94-EF5F59E2D345@ellael.org> <5A3D67EC.6010907@grosbein.net> <53687746-C487-4712-AA52-DE86CE70FDEF@ellael.org> <AD46E22E-8230-47FD-A14D-FDA9E0753746@lists.zabbadoz.net> <5FD6CE98-601B-46B7-B598-83BE5A31200A@ellael.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, let me come back to this issue I did report end of last year: https://lists.freebsd.org/pipermail/freebsd-net/2017-December/049470.html My setup: vtnet/pf-NAT <—> epairXa (bridge0) epairXb <-> vnet jail My observations regarding a sample download like "wget https://download.freebsd.org/ftp/releases/ISO-IMAGES/11.1/FreeBSD-11.1-RELEASE-amd64-bootonly.iso -O /dev/null" (-) expected performance at the host of about 30 MB/s (-) dramatic loss of performance inside a vnet jail down to about 80 KB/s My solution: adding 'hw.vtnet.lro_disable="1"' to /boot/loader.conf In the meantime I did find a comparable reference regarding Linux: "Previously, network drivers that had Large Receive Offload (LRO) enabled by default caused the system to run slow, lose frame, and eventually prevent communication, when using software bridging. With this update, LRO is automatically disabled by the kernel on systems with a bridged configuration, thus preventing this bug." https://bugzilla.redhat.com/show_bug.cgi?id=772317 I do not have the knowledge to judge if that should be disabled in FreeBSD as well when software bridging is involved, thus I just want to let you know. (And that's the reason that I have included the author of the vnet driver in CC.) With kind regards, Michael
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53C901D3-FA1B-49E7-8623-7FE23493B7E8>
