Date: Fri, 13 Sep 2024 08:03:56 +0100 From: Sad Clouds <cryintothebluesky@gmail.com> To: Paul Procacci <pprocacci@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: Performance issues with vnet jails + epair + bridge Message-ID: <20240913080356.98ea2c352595ae0bbd9f0ce8@gmail.com> In-Reply-To: <CAFbbPujAEer3aO7VcZ1CtgUUCHsG9eXfn_4s6SJok83GFW4JPA@mail.gmail.com> References: <20240912181618.7895d10ad5ff2ebae9883192@gmail.com> <CAFbbPujAEer3aO7VcZ1CtgUUCHsG9eXfn_4s6SJok83GFW4JPA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I built new kernel with "options RSS" however TCP throughput performance now decreased from 128 MiB/sec to 106 MiB/sec. Looks like the problem has shifted from epair to netisr PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 12 root -56 - 0B 272K CPU3 3 3:45 100.00% intr{swi1: netisr 0} 11 root 187 ki31 0B 64K RUN 0 9:00 62.41% idle{idle: cpu0} 11 root 187 ki31 0B 64K CPU2 2 9:36 61.23% idle{idle: cpu2} 11 root 187 ki31 0B 64K RUN 1 8:24 55.03% idle{idle: cpu1} 0 root -64 - 0B 656K - 2 0:50 21.50% kernel{epair_task_2} Are there any other tricks I can try to distribute the load over multiple CPU cores? I found this document which describes various vnet examples: https://freebsdfoundation.org/wp-content/uploads/2020/03/Jail-vnet-by-Examples.pdf The problem is, with Raspberry Pi I cannot add any pcie network cards with multiple ports or SR-IOV features. I was hoping to use some software based virtualization device, but if the scalability is this bad, then I may have to discard vnet completely and configure jails to use the host network stack. Thanks.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240913080356.98ea2c352595ae0bbd9f0ce8>