From nobody Thu Dec 19 16:15:31 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YDbHq5Zj9z5hPjT for ; Thu, 19 Dec 2024 16:15:35 +0000 (UTC) (envelope-from infoomatic@gmx.at) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YDbHp0YShz4sJv for ; Thu, 19 Dec 2024 16:15:33 +0000 (UTC) (envelope-from infoomatic@gmx.at) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.at header.s=s31663417 header.b=LbYSsOw5; spf=pass (mx1.freebsd.org: domain of infoomatic@gmx.at designates 212.227.17.20 as permitted sender) smtp.mailfrom=infoomatic@gmx.at; dmarc=pass (policy=quarantine) header.from=gmx.at DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1734624932; x=1735229732; i=infoomatic@gmx.at; bh=aqyzJzwP8Nt2WnceSSO9hyvquG2IvFGBVcCMCGl2Jxs=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=LbYSsOw5qCjhYxWJgQk+T4u66z6HvHvAhHyiG/sFXZVW/D6t9YT5Jur6QxCgGSsO IRYO6Aql3SvKzX1a6VknEnJXI+ISitxqxJTYxhSvEPteWw+Hv9duC34LwHJvFShoO SkbQ/xWOyInkIbjfeDc5JM+crSnm2EQvtdfAn59Pje5QslfXoEW5ZT6MCk3PDzpt5 aQTpAUnHpxiQxUgZJvHyWEVFGDLD7qfsvm1O7EDEgsmWn7KDcaWwq9jQ/7G2d6GIW IbZQLFeUdGKeXHBZCvXfakiijkfwayKDe0b/k53jVTuiPIFTYs5XBdS6P3JbZJ7T9 0vX25nP2DUqLZdS0+Q== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [10.0.1.209] ([178.114.190.115]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mnpnm-1tw3Ek192Y-00o12d for ; Thu, 19 Dec 2024 17:15:32 +0100 Message-ID: Date: Thu, 19 Dec 2024 17:15:31 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bhyve performance issues To: questions@freebsd.org References: <3750c2b1-0621-4b49-b485-f4f6ec3e78bf@gmx.at> Content-Language: en-US From: infoomatic In-Reply-To: <3750c2b1-0621-4b49-b485-f4f6ec3e78bf@gmx.at> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:0peGKL77GWt0UnC4WWg5yOt01Jhc6mTkj1QifDw1W7kE8ihcAuU vgq1cZ29R2SFCXybHqq0Gf9AJ/ozbvu8PKELp3rws897pREQDTf6Qp9YzZ6hf30heTuk4wP 0630dc6OXjRco+tZS7r1MP6z5/DKzpd1VqZzW6df2GQom3519Kij0CeQJ6BGOCgTFgyI/HW 8yOCWwK0Q97vdffnc4qtQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:DJxmf1bUrrc=;lGx3E8vJgwpAtXgBc2QVIT29Hu/ 4B3zi62+I/iMBqYigXR0eTIlmCtlGOZwf3X1VcuF419ESMkH0YhwbGl8CBxMOYEw+A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40 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmx.at,quarantine]; NEURAL_HAM_LONG(-0.41)[-0.409]; R_SPF_ALLOW(-0.20)[+a:mout.gmx.net]; R_DKIM_ALLOW(-0.20)[gmx.at:s=s31663417]; ONCE_RECEIVED(0.10)[]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.17.20:from]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; DKIM_TRACE(0.00)[gmx.at:+]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_FROM(0.00)[gmx.at]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.17.20:from]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.at] X-Rspamd-Queue-Id: 4YDbHp0YShz4sJv X-Spamd-Bar: --- some more infos: Shutting down "windows" results in the host being responsive for a longer period of time, however, at some point htop shows ~60% cpu usage of "linux" and load average is ~40. The ssh connection becomes unusable, showing keystrokes/characters roughly 10-30 seconds delayed. On 19.12.24 14:48, infoomatic wrote: > Hi, > > I have a FreeBSD 14.2 system with two bhyve machines (using vm-bhyve). > Those VMs are completely unrelated: one is a Linux VM for podman builds > - "linux", one is a Windows 10 VM for Microsoft365 backup - "windows". > > Whenever I start a build process on "linux" (2 cpus out of 6), the host > system becomes barely usable, with a load average of 40-60. The strange > thing is htop shows me cpu usage of "linux" at 20-30% whereas "windows" > (which is just idling around) starts using roughly ~45% cpu (normally < > 10%). > > Infos: the host: CPU: AMD Ryzen 5 3600 6-Core Processor, 64GB RAM, 4 > slow spinning disks (zfs: striped mirror). > > windows vm config: > loader=3D"uefi" > cpu_sockets=3D1 > cpu_cores=3D4 > cpu=3D4 > memory=3D20480M > network0_type=3D"virtio-net" > network0_switch=3D"public" > disk0_type=3D"virtio-blk" > disk0_name=3D"disk0.img" > uuid=3D"30c90d9a-be0f-11ef-a78a-b42e99a1b9c3" > network0_mac=3D"58:9c:fc:0b:a3:ff" > graphics=3D"yes" > xhci_mouse=3D"yes" > graphics_listen=3D"127.0.0.1" > graphics_port=3D"591" > graphics_vga=3Dio > utctime=3D"no" > > linux.cfg: > loader=3D"uefi" > cpu=3D2 > memory=3D4096M > network0_type=3D"virtio-net" > network0_switch=3D"public" > disk0_type=3D"virtio-blk" > disk0_name=3D"disk0.img" > uuid=3D"5307ee72-be0f-11ef-a78a-b42e99a1b9c3" > network0_mac=3D"58:9c:fc:a7:7b:ef" > graphics=3D"yes" > graphics_listen=3D"127.0.0.1" > graphics_port=3D"5901" > graphics_vga=3Dio > > Anyone an idea what could be wrong, or, how to debug this? Thanks! > > Regards, > Robert > >