Date: Fri, 1 Jul 2022 13:20:56 +0200 From: Nils Beyer <nbe@vkf-renzel.de> To: John-Mark Gurney <jmg@funkthat.com> Cc: freebsd-virtualization@FreeBSD.org Subject: Re: bhyve: slow network throughput between guest VM and host (and vice versa)? Message-ID: <db5bed13-39d2-d343-0696-003138f7c099@vkf-renzel.de> In-Reply-To: <20220701024708.GC88842@funkthat.com> References: <c68c6a34-61f7-48a8-19b8-43a253d3826d@vkf-renzel.de> <20220701024708.GC88842@funkthat.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 01.07.22 04:47, John-Mark Gurney wrote:
>> [...]
>> Is that expected that I'm not able to get more throughput within the bhyve network
>> stack (guest <-> host)? I was expecting way more then 10Gbit/s...
>
> What does CPU usage look like on the host and in the VM? This sounds
> like hitting a CPU bandwidth limit in that you're limited by pps...
1) CPU load on the host is not very high (host server is a dual AMD EPYC 7351 16-Core Processor
system):
3333 root 86 0 4230M 1202M CPU8 8 0:33 49.75% bhyve{vtnet-5:0 tx}
3333 root 87 0 4230M 1202M CPU0 0 1:03 48.67% bhyve{vcpu 0}
3333 root 85 0 4230M 1202M CPU6 6 0:29 45.52% bhyve{vcpu 5}
3333 root 84 0 4230M 1202M CPU5 5 0:47 38.64% bhyve{vcpu 2}
3390 root 4 0 17M 6472K RUN 3 0:19 38.55% iperf3
3333 root 81 0 4230M 1202M CPU4 4 0:26 32.00% bhyve{mevent}
3333 root 30 0 4230M 1202M CPU10 10 0:25 13.44% bhyve{vcpu 1}
3333 root 23 0 4230M 1202M RUN 9 0:08 5.44% bhyve{vcpu 4}
3333 root 23 0 4230M 1202M CPU7 7 0:17 5.26% bhyve{vcpu 3}
2) CPU load in the VM at around 30%
So there should be room for improvements...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?db5bed13-39d2-d343-0696-003138f7c099>
