Date: Tue, 23 May 2023 23:15:33 +0200 From: Marko Zec <zec@fer.hr> To: Benoit Chesneau <benoitc@enki-multimedia.eu> Cc: "freebsd-net@FreeBSD.org" <freebsd-net@freebsd.org> Subject: Re: how to increase the vnet speed? Message-ID: <20230523231533.32c1d022@x25> In-Reply-To: <TbR2mwTT9IpAlR-ds87h3qzhRbj1mVmWUGVVsmxQU2qq6Z1Bv52fsaB5LqUxaZT9ooHdXo2VIhcYQu2zkT7eVMxwbbfxIv6q2JNHp7l-ydM=@enki-multimedia.eu> References: <TbR2mwTT9IpAlR-ds87h3qzhRbj1mVmWUGVVsmxQU2qq6Z1Bv52fsaB5LqUxaZT9ooHdXo2VIhcYQu2zkT7eVMxwbbfxIv6q2JNHp7l-ydM=@enki-multimedia.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 23 May 2023 19:58:07 +0000 Benoit Chesneau <benoitc@enki-multimedia.eu> wrote: > Hi all, > > I've created a jail using bastille and setup network. The mainin > terface is a 25Gbps nic and between hosts I get 24.6 Gbits/sec : [...] > But between one host and the jail I only get 3.96 Gbits/sec [...] > Is there a way to increase the performance of the of the jail? The > nice is a mellannox ConnectX-4 Lx, mce(4) . Modern NICs offload a lot of the protocol stack processing (checksum, segmentation, and / or reassembly) from the CPU to dedicated silicon, whereas inter-vnet traffic needs to be handled completely in software, that's where the difference comes from. Perhaps we could gain some speed by abusing mbuf flags to skip RXCSUM for epair traffic, maybe even skip and fake TXCSUM... Marko
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230523231533.32c1d022>