From nobody Wed Mar 8 14:01:22 2023 X-Original-To: virtualization@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 4PWv9t68Fdz3wR3w for ; Wed, 8 Mar 2023 14:01:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PWv9t37v2z3CWx for ; Wed, 8 Mar 2023 14:01:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678284082; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FodaJ0xWMiGX6fqoy8pcbSV4B/PbsK/J6HfwkwMZuAE=; b=Rgf3z7ZDBc1+4GaZmOc7nLllAmPu6xmwKryWcc+c4JLcgw2MW6pZQo3MHtG9dX2iuPlhNr bM/WI8kSyiVl6Ze6gHBt+xH6heWPyeZHRCV2aCihss5VaJmQ/hxqmPKCpHJRENrOGWEi/e Z0Pd1t3L2/eLQCYMAS8iUEQlsKLTHE1r2eRJWfZNYt08AF/maRYBOT27Zf0SHVIlxDuYLD 9vNWC6CkG1owj4sMVGwUCRYdLYjCWWLul+35rjqQPy3CRzP2UqIBs9Wkc9LPZxNG5Fii4u sD1de+Z1rpmAoYo6nK7pr6P8OFOl1ojodsPhEs1g8TricUie+JDR1cLFeFf+sA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678284082; a=rsa-sha256; cv=none; b=WMecAhUXuA8/RZfzHmt5yWZSujbpBoBC2K/EdgF0j0kGxLqn06CzgPJQxqGhLx+Qrv/j54 Cu8L5bFUJ2TzAj2y4m3WWHXpkjsV3VN+/NH3p7+/BEV4sXmNBqeRmRTaGGmx4qOeVBYXOk TxQky9XRUJ7w2s4avGY6QPBEGBPQgHVnvzqyorZTLkInem1MKaSm5D3Zh/rqxLgZ7xq1Wn 9LuVeQDD0NkNmDau7HyfGUIf1jS/5fejeRcvssjpzveRmwmg6/aZED0dbdhfpuyvH6v6im BtxrygvwsLubZvba1IMMXUuGNaFlKfUyz96qZJS8Wy+rqTyB1QAGGVeCUo74SQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PWv9t2B17zSgQ for ; Wed, 8 Mar 2023 14:01:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 328E1MkF072723 for ; Wed, 8 Mar 2023 14:01:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 328E1M03072722 for virtualization@FreeBSD.org; Wed, 8 Mar 2023 14:01:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 242106] [panic] zfree(0xe4e9690,8224): wild pointer during install from 12.1R amd64 ISO in Parallels VM Date: Wed, 08 Mar 2023 14:01:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dch@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242106 Dave Cottlehuber changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Overcome By Events Status|New |Closed --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Mar 12 21:00:08 2023 X-Original-To: virtualization@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 4PZXHG0FmQz3xd7Q for ; Sun, 12 Mar 2023 21:00:10 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PZXHF14hxz4SBJ for ; Sun, 12 Mar 2023 21:00:09 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678654809; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2GYoV6UXekOAy7TqtC/7D+RAyr4YCUKGDKssio+icJ0=; b=Tl5Hi2PmM4pcfHYAn93YwYZe9flQ/6cO8a9epeEvpx2Nrju7RvStlTLb+C6zypJmMMxFiZ wULMonnbWDxbv7apLbn/aYFSYykum6zAzX1Y7tLexeIFpiQTnKIqAsVhysTgB5idttWz32 XwSj/3m8fI2wZLEgmnbpZhfKWHUsgzVsYmfDskK1bI311XDaVK05mVmaVG9zTcJsYnqpLO QlAwoEB2kEHjhrCnnX2JOQ1NX8qVAD6NggsdzETC1n/Ir/954+WytDUrN9VI2STK07F3f7 tUbDHS4QeDS24tCM0ceMawBqAyB2dVwDDcf2dB2WSz0jWgPczl+Fdq7d8V/Pjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678654809; a=rsa-sha256; cv=none; b=TejAIkmPnyG3D1uie0No/cnZx+4TQVdgEsNps9Px4RkLZXhOjBvUK+pNYy59JgfjN7kjQI rqzvBCFxZn/+82T00PhObMKDVB9m5PWavKoCq7ukIk+S/w9L9iWBmr3WYka+bQQsvt2siZ r+ggqGX/aYgE4LT0N0CTR8Q2XTGZAjZq1zWw7mqZRdbcc/sa2M6zGar2cJkKDTZrxFmtcW kQy72hxxcYD8jZH7yjMcwnj8/3zmjHkbGJdls6SeuxnmLmdP2caBZC0h4IiRK5YKDN4jE8 QVKEvvhzkrL+6FJ5Ru13x8vMBGLMeGPz/yExbVsEH80+qXtKrpNCYghcW9gf6A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PZXHF0BgtzQKF for ; Sun, 12 Mar 2023 21:00:09 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 32CL08kW090155 for ; Sun, 12 Mar 2023 21:00:08 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32CL08hn090154 for virtualization@FreeBSD.org; Sun, 12 Mar 2023 21:00:08 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202303122100.32CL08hn090154@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: virtualization@FreeBSD.org Subject: Problem reports for virtualization@FreeBSD.org that need special attention Date: Sun, 12 Mar 2023 21:00:08 +0000 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="16786548082.cBCFA.88638" Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: N --16786548082.cBCFA.88638 Date: Sun, 12 Mar 2023 21:00:08 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 247208 | mpt(4): VMWare virtualized LSI controller panics New | 240945 | [hyper-v] [netvsc] hn network driver incorrectly Open | 244838 | "bectl activate -t" does not honor the -t flag in 3 problems total for which you should take action. --16786548082.cBCFA.88638 Date: Sun, 12 Mar 2023 21:00:08 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
In Progress |    247208 | mpt(4): VMWare virtualized LSI controller panics 
New         |    240945 | [hyper-v] [netvsc] hn network driver incorrectly 
Open        |    244838 | "bectl activate -t" does not honor the -t flag in

3 problems total for which you should take action.
--16786548082.cBCFA.88638-- From nobody Tue Mar 14 23:55:15 2023 X-Original-To: virtualization@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 4Pbr4M1db5z3xgYp for ; Tue, 14 Mar 2023 23:55:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pbr4L5gmjz45n6 for ; Tue, 14 Mar 2023 23:55:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678838114; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=StMilws3Y1uPAUW/AKw2tGkvLn0QzEb8cvpsXdjEYyg=; b=H6qETNzfQuGfjeh1IWcOqvPhFokQhSKrM2vGb3RMzTlhvaqomvZsmLMv7WWKCN/dP3JFBZ YgkKV+F8IdtSswJruHtZVFNXqqcg+NC775R87mvdO/6h0krH4lt5MpHlkhs17Lx+7sY/hn bqbq+Lq78LZNfrQi8pTwSXyARDv5qQSbdiON2XIzUWmtsrwTo041mtvEtgVjLBc2a6eFNe U9Uzl8mfoOUO/CkKf6MNzjug8s6gbcy79VhxBN6l1YvAyfz8NX22jjMBlQWiixMR4UTggd iv8SBVFCdmVgtG6AKhs8HWeCkwK6pE2oILXdw48NT3Cc24pATmS43pJHkouIIg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678838114; a=rsa-sha256; cv=none; b=CGYJLewlYrkIiZyBOg4fODqtm08sj3gjScNJCkgO97gsYoNDJ3a0rIIBMq7NfGVrhWXUgF ANHVP1FlYj6qirHFzyeU+HwgB/4usJSY+Y/4MFEiXImSWrxyeTKSQk4kBlGiThkfAF74ZZ uICg/QXESpNyzEhs839iIt6VhA8wnDoQijh0GiSRqjosw/DuukKBgMaBjEomJKWAhbLrk2 RZcGEJ2pNqh6xweT/bTptUmkIkE+rtSre0LKXtMxGzdIVSiFtKdrshomzyX/gWgs1xiL2r nVBUE8j2CZKVfRz7HinX0kGbA2LIen3gRoRuYN3SbTWkXxu1XH856M3UCE176g== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Pbr4L4nJmzvVK for ; Tue, 14 Mar 2023 23:55:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 32ENtEpP003688 for ; Tue, 14 Mar 2023 23:55:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32ENtESH003687 for virtualization@FreeBSD.org; Tue, 14 Mar 2023 23:55:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 259651] bhyve process uses all memory/swap Date: Tue, 14 Mar 2023 23:55:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: void@f-m.fm X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259651 --- Comment #2 from void@f-m.fm --- (on a 13.2-stable system, running a few bhyve VMs), I have found that setti= ng vfs.zfs.arc_max=3D4294967296 helps. It seems to default to 0. If left at 0, ram will be consumed by ARC which leads (in my context) to swapping. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Mar 18 07:21:28 2023 X-Original-To: virtualization@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 4Pdsqs5jRfz3yF36 for ; Sat, 18 Mar 2023 07:21:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pdsqs4Sr1z3Q9r for ; Sat, 18 Mar 2023 07:21:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679124089; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6NxbtxquinBWsHVN/tSgHP98jpexM9bDGl7OiLB+d6U=; b=KMfO2WLTCDbjIEDGg1wrbdR+NEC4C26AQLm2hkDb0jeUNAL+S1geEcIfe5ZHBN6fSuGW5W AD3yCHCSayzAlYh3RBSJJnmq2VYnxqve0N91XhmW2/69L80HhsmxQl8pL8gui1ORQXzcxL LAZ+bIL2Dh+WD1X36d6Sle8/jQtsBrbmHQxZAqHJen0YhQV3raDXW751L0sFmG55rc908i AyEwbyS3brog8ThAzVjZOJHyt52KqE/Uecsg1Ihl9oUmtvCPsiK8SYRcx5BvMfKNExhUfe UE3d/2eVsbgNCoqhb0FG1PJZPxoIbf7yqmjVgTLe52kesee7WACYd7HBsne0Qw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679124089; a=rsa-sha256; cv=none; b=xKfZWtFP8LUeqSqM0UZZCPFQhxDN30A00Ow1/OztlHtOILXHFNJFWv1sTdE2wn1Or0Ihhw uVcP1m0ChCLb2gWZbCQFYhvuBkImzpykdxbPOAcUYiUL5DGO2J2rrCtFcY17hKic8ecx2y SbStg2MYKr+EV2OVxQKc+1jpHCc/aaxAXcN3Ed9gpjPpxYXs4oukb14FcOwxEMNhmDjKdX flL7BqpBPxxpmMRbNBD/bsaWqMrIdj+IchQyUW2qbLrduN3Duo3syFbOrVYNgcWl8yTVDg pwwqh2If09joGMjhr9kbfeyZs//IKr3r8zApvkafjGMM25Gi6wDk9w0ZjXXVAg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Pdsqs3Xrjzy9y for ; Sat, 18 Mar 2023 07:21:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 32I7LT1x043874 for ; Sat, 18 Mar 2023 07:21:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32I7LTPG043873 for virtualization@FreeBSD.org; Sat, 18 Mar 2023 07:21:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 264267] UEFI Booting on Azure Generation 2 VMs crashes Date: Sat, 18 Mar 2023 07:21:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable13? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264267 --- Comment #33 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D8ea7fa16d9fe5acb7d42a223efbfa2362= 7aa5e0c commit 8ea7fa16d9fe5acb7d42a223efbfa23627aa5e0c Author: Wei Hu AuthorDate: 2023-03-14 15:49:33 +0000 Commit: Wei Hu CommitDate: 2023-03-18 07:07:54 +0000 uart: Don't change settings or throttle putc for Hyper-V Azure setup does not like it when FreeBSD overrides the settings of the UART device. When Hyper-V is detected, don't do this and also don't throttle putc() output. This is a workaround for the early boot hang of FreeBSD on Azure. Tested on Azure, ESXi (VM with serial port), and SG-8200 PR: 264267 Reviewed by: kevans, whu Tested by: whu Obtained from: Rubicon Communications, LLC (Netgate) MFC after: 2 weeks Sponsored by: Rubicon Communications, LLC (Netgate) sys/dev/uart/uart_dev_ns8250.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Mar 18 07:21:31 2023 X-Original-To: virtualization@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 4Pdsqv3m3Wz3yDxB for ; Sat, 18 Mar 2023 07:21:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pdsqv2N7pz3QQ0 for ; Sat, 18 Mar 2023 07:21:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679124091; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QlNaqb4JTUOix/BkFt/iSHs3yaT4YYP3I5nV4L/uwRc=; b=U7M69rMBfjZN6KM5Drl0KVTcB6u74606JStpEkTJi6SiPDy8Ln1laTjaUJzkKYlzFhMzrz 4N9Z5Xppirva44f/7HrDpBNUmCVlum8mvPYdXk4PkD/Mlp5oiAA069Qc3CiHBcuF9ni3ql YYWrCD1eoZ5KlLWT2dQr7PHA1zD7v5BUxhM1O495AXS82R9CjurgqD1Ao1dDal3gXXjMxT 9WSkDtblE++cBBHH+Iey71lc/yUfLlHXG//U6mrPVs3JFShOS8smT9bIyV+zpjYjBAXpU7 5l6/hZlpZVk7zkN/m4zdHHet0PZCRvHBq9Cd+TabeNIuWobHEJmzgoS+x/7v6g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679124091; a=rsa-sha256; cv=none; b=p6AJytcEVfJ61zfMCMGaRpJJzvpv2DAxgHrOFtdjUFq1zA3wiLiYqUgKk9CrkfJeqj8Age NAPTPLyHRJVq5aS/GVlktXWwi9HHt/FT0bR/Jh/ZV+ZmF4cPCZn6FLxXb4Dwwiaz0EnrGw mgI4JxQuQW85wYU3DyqoJ0th2i2u5LbtLslSjnOko2ADHEFv/OLojhfHmnu5UdOK1N/rlS rvCx4moK63+Y/6fR1gChZw5qM3XmTnN3/52S/141z/FeFkzeJ5s5EgrDOD/HHrHp8515Ki GiWVL3XMXaMmxHepA6a95pDs7JueOVP4Jr0Z2HkFmSJjKl27ZOs3X0g9hP20Dg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Pdsqv1SBJzycb for ; Sat, 18 Mar 2023 07:21:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 32I7LVDV043924 for ; Sat, 18 Mar 2023 07:21:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32I7LVLC043923 for virtualization@FreeBSD.org; Sat, 18 Mar 2023 07:21:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 264267] UEFI Booting on Azure Generation 2 VMs crashes Date: Sat, 18 Mar 2023 07:21:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable13? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264267 --- Comment #34 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D927358dd98cb902160093e0dc0bac002d= 6b43858 commit 927358dd98cb902160093e0dc0bac002d6b43858 Author: Wei Hu AuthorDate: 2023-03-14 15:13:46 +0000 Commit: Wei Hu CommitDate: 2023-03-18 07:07:35 +0000 amd64 loader: Use efiserialio for Hyper-V booted systems UEFI provides ConIn/ConOut handles for consoles that it supports, which include the text-video and serial ports. When the serial port is available, use the UEFI driver instead of direct io-port accesses to avoid conflicts between the firmware and direct hardware access, as happens on Hyper-V (Azure) setups. This change enables efiserialio to be built for efi-amd64 and has higher order priority vs comconsole, and only uses efiserialio if the hypervisor is Hyper-V. When efiserialio successfully probes, it will set efi_comconsole_avail=3Dtrue which will prevent comconsole from probing in this setup. Tested on Hyper-V, ESXi and Azure VMs. PR: 264267 Reviewed by: kevans, whu Tested by: whu Obtained from: Rubicon Communications, LLC (Netgate) MFC after: 2 weeks Sponsored by: Rubicon Communications, LLC (Netgate) stand/efi/loader/arch/amd64/Makefile.inc | 1 + stand/efi/loader/bootinfo.c | 11 ++++++-- stand/efi/loader/conf.c | 6 +++++ stand/efi/loader/efiserialio.c | 43 ++++++++++++++++++++++++++++= ---- stand/i386/libi386/comconsole.c | 14 +++++++++++ 5 files changed, 68 insertions(+), 7 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Mar 18 13:59:44 2023 X-Original-To: freebsd-virtualization@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 4Pf2gf0hspz3ybnq for ; Sat, 18 Mar 2023 13:59:58 +0000 (UTC) (envelope-from julie@koubova.net) Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pf2gd1Jksz4Dy6 for ; Sat, 18 Mar 2023 13:59:57 +0000 (UTC) (envelope-from julie@koubova.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=koubova.net header.s=google header.b=f3Zd3Bm0; spf=pass (mx1.freebsd.org: domain of julie@koubova.net designates 2607:f8b0:4864:20::531 as permitted sender) smtp.mailfrom=julie@koubova.net; dmarc=pass (policy=reject) header.from=koubova.net Received: by mail-pg1-x531.google.com with SMTP id y19so4367081pgk.5 for ; Sat, 18 Mar 2023 06:59:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=koubova.net; s=google; t=1679147995; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=wrD37fbXSiMpoOZqXwCWKoWHZvlYUtlJUHk3xId809o=; b=f3Zd3Bm0FF+6MzW+oFoY/rIt33OprMS46g8MlYiq8a6QNzZYUGJoOApUlwLVRkV42J iXCWZC5Y+OUUQnE7d0ZOXFns/HpQYGPFpslwIV87fc/SX4KUn4Lf4ihrK85C8XCUKWpr TaGsvTFe6eAQhdWze5JuEZVp6HAmmgvqVvrZ6VUqbiKIVk9uSi8iTa9xM/EGqS8NyOTx iHu5LsYeTBEnQBhSyXveAxaHC6EbDPruOJcZi9PYmGxr6GPRJQyKrQjGYQyEpkXU5Ys7 qJQHNo2ayKhTZK8dHFnkWFU9RuXECqddCSQMp880kANII/dCoXmFbZutaRMUeR5/k7ut uprQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679147995; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wrD37fbXSiMpoOZqXwCWKoWHZvlYUtlJUHk3xId809o=; b=SlbReDX2e6jpct8eVd3CMx+dcNSqPlj3mxH6zBCjNpvrtDYpsR1OhLZuzDPx9Ds7Kk gDvH4yJSAfZw5/vjfgBMzsCCrHr4Ph+ygq6zKbSksvUOjI2+LPGb3h/fH8sIFDtLx4tD eqGvq8GZZ17B48UVh6Z4zajrN3rZ6pMCKw4huIPvtGVSDRAexOUlwnHMBBTVF+eH3MIF U0BVf/kdYG9cnLqN8SJ3YV8A1wYnLOZ/vJtDm/jZATVUwyEh1gYdu1NcCA+Mejonr+hC Zi7QBChfVxYEo3eYiV0dHBVCIqQFnfLdnUxRfPOCJGkVoVqxfPXejXUiEybIYPGOF+MT WSVQ== X-Gm-Message-State: AO0yUKVIFQEaMJaOMUZy4sBxq2N4/SCIVZEDleBKcW3whCa9BLT8KpfJ 4/iY2p0InFNJMXyMlbND5fV/H2M0bLF9VFeJBRnXQbkO0QDELVgzBTk= X-Google-Smtp-Source: AK7set+uTWw3XwpJ7SfECUCBdibekeGJs64QkvxAVipzdtajeVXXa67tryQMYbSrYpw/2DM3MDlLIpBqe8mmhaDf6jc= X-Received: by 2002:a65:528b:0:b0:50b:dfd4:b56f with SMTP id y11-20020a65528b000000b0050bdfd4b56fmr423416pgp.5.1679147995611; Sat, 18 Mar 2023 06:59:55 -0700 (PDT) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?Julie_Koubov=C3=A1?= Date: Sat, 18 Mar 2023 14:59:44 +0100 Message-ID: Subject: Bhyve process consumes way too much CPU To: freebsd-virtualization@freebsd.org Content-Type: multipart/alternative; boundary="000000000000cde49c05f72d1bfd" X-Spamd-Result: default: False [-3.44 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; R_MIXED_CHARSET(0.56)[subject]; DMARC_POLICY_ALLOW(-0.50)[koubova.net,reject]; R_DKIM_ALLOW(-0.20)[koubova.net:s=google]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::531:from]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DKIM_TRACE(0.00)[koubova.net:+]; ARC_NA(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4Pf2gd1Jksz4Dy6 X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N --000000000000cde49c05f72d1bfd Content-Type: text/plain; charset="UTF-8" Hey everyone, I'm running Linux (Home Assistant OS) in Bhyve on FreeBSD 13.1. I use PCI passthrough to allow the VM to access a USB card with a couple of radio dongles. The host machine is an Intel Core i3 13100 with 64 GB of RAM. The CPU has 4 physical cores (8 hyper-threaded). The virtual machine is assigned four cores. The host load averages are 0.39 0.39 0.40 right now, which seems way too much. The same workload was previously handled by a Raspberry Pi 4, and the CPU usage there was under 10% when not doing anything special. Inside the guest OS, the CPU usage is reported around 5%, which seems reasonable. What's wrong? How can I start debugging this issue? I use ZFS on the host, vm-bhyve to manage the virtual machines, and I don't have a swap partition. Thanks for your help, Julie --000000000000cde49c05f72d1bfd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hey= everyone,

I'm running Linux (Home Assistant OS= ) in Bhyve on FreeBSD 13.1. I use PCI passthrough to allow the VM to=C2=A0a= ccess a USB card with a couple of radio dongles. The host machine is an Int= el Core i3 13100 with 64 GB of RAM. The CPU has 4 physical cores (8 hyper-t= hreaded). The virtual machine is assigned four cores.=C2=A0

The host load averages are 0.39 0.39 0.4= 0 right now, which seems way too much. The same workload was previously han= dled by a Raspberry Pi 4, and the CPU usage there was under 10% when not do= ing anything special. Inside the guest OS, the CPU usage is reported around= 5%, which seems reasonable.

What's wrong? How can I start debugging this issue? I use ZFS on th= e host, vm-bhyve to manage the virtual machines, and I don't have a swa= p partition.
Thanks for y= our help,
Julie=
--000000000000cde49c05f72d1bfd-- From nobody Sat Mar 18 14:06:24 2023 X-Original-To: freebsd-virtualization@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 4Pf2r00cfSz3ycJJ for ; Sat, 18 Mar 2023 14:07:12 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pf2qz5hcJz4FxQ for ; Sat, 18 Mar 2023 14:07:11 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x536.google.com with SMTP id eg48so30578171edb.13 for ; Sat, 18 Mar 2023 07:07:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679148430; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=nkiCxu8Yq+CA8FsGFXUY3xB8su8EMNFr7IROuwMUlXU=; b=E97NCmfp6zOHimW6E0c6YUozoDwgWfBWqxuytRJGzJpgv77fNW7c7qbMm9DT6NfXJM 4HHWEwaVQ6CkVLkt4/Yt4BZKgJArNo97lwWLo2b7WpyFW4jG2klyW6zB7XNWlGiGdJlR jcyP08/uV4iKb+9uJgM29kKG35yyO65gfZOmAvEC121doTuEah+XgRu3UNXMuifXBP8H EnCFoFHN8j3m77/8kjmPj3jQkr6KMm9fmqi0kKQPq4veW2pL+gDt4I7OiP+AI2J7Zlwh wPca2TsfTjzrKr0QIpAFGi1+LkdJdvI2n1mziOB6otvoSIJuWwGlrmRnfg85QuMVSRHg Y9aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679148430; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nkiCxu8Yq+CA8FsGFXUY3xB8su8EMNFr7IROuwMUlXU=; b=L5ZGcy05AmbNLFkff6MiQ6u4NOuJNNzIPS0oPPa9hq4pktPYfe3eujJySlz4o5uxFv mQv83ZgTPKSG37GlnvR7eQz2XDfyEV+9wMGw1lHehjwlzKgl2dSijR4sVO2GU63NZEOj tuykJ7UBWn6BTxsefCoeUOeApkdVM+chcDhbziwAXbWSNYpMQ6gnUvEaoAPLHNE2JFMX 9orWDYHmldrP/syaz4gzKkmgfa1EmWFfN8GegPxWTvyVIcmEK/HYz/lHWwenYDjnqVc0 H0ANXZ1gLheqAhTM3EcuSWnZOVKFtSK6l3pzpw4bgbEX7EpmbE/NBbRfBEbSMtQv+5Fa oXfw== X-Gm-Message-State: AO0yUKXBPn6dx63ZBZg92llG1HEnDhCZFVHf7VKcaXvddY02hDEvdxg5 yfbTTjHt/qAd53On2fxcuICQcZohZwKyd6qDHOwEYLU+dYo= X-Google-Smtp-Source: AK7set9jlkuer5aIQiakfZ/N/Wflg0wOr5jsCvcjsYDu062rNrnhohu6wkYeLkHPcp09z+q06hvOksh4qNC9HifMUJ0= X-Received: by 2002:a50:a40d:0:b0:4fe:9251:d4fc with SMTP id u13-20020a50a40d000000b004fe9251d4fcmr3429046edb.4.1679148430309; Sat, 18 Mar 2023 07:07:10 -0700 (PDT) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Mario Marietto Date: Sat, 18 Mar 2023 15:06:24 +0100 Message-ID: Subject: Re: Bhyve process consumes way too much CPU To: =?UTF-8?Q?Julie_Koubov=C3=A1?= Cc: freebsd-virtualization@freebsd.org Content-Type: multipart/alternative; boundary="000000000000b6be3405f72d3568" X-Rspamd-Queue-Id: 4Pf2qz5hcJz4FxQ X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --000000000000b6be3405f72d3568 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Julie, I'm going to start the same project as you. To be honest,after having installed home assistant,I want to add the chat-gpt module and at the end,I want to find a way to give a human-like voice to chat-gpt. Maybe I can help you as soon as I've reached your point. Can we keep in contact ? On Sat, Mar 18, 2023 at 3:00=E2=80=AFPM Julie Koubov=C3=A1 wrote: > Hey everyone, > > I'm running Linux (Home Assistant OS) in Bhyve on FreeBSD 13.1. I use PCI > passthrough to allow the VM to access a USB card with a couple of radio > dongles. The host machine is an Intel Core i3 13100 with 64 GB of RAM. Th= e > CPU has 4 physical cores (8 hyper-threaded). The virtual machine is > assigned four cores. > > The host load averages are 0.39 0.39 0.40 right now, which seems way too > much. The same workload was previously handled by a Raspberry Pi 4, and t= he > CPU usage there was under 10% when not doing anything special. Inside the > guest OS, the CPU usage is reported around 5%, which seems reasonable. > > What's wrong? How can I start debugging this issue? I use ZFS on the host= , > vm-bhyve to manage the virtual machines, and I don't have a swap partitio= n. > > Thanks for your help, > Julie > --=20 Mario. --000000000000b6be3405f72d3568 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Julie,

I'm going t= o start the same project as you. To be=C2=A0honest,after having installed h= ome assistant,I want to add the chat-gpt module and at the end,I want to fi= nd a way to give a human-like voice to chat-gpt. Maybe I can help you as so= on as I've reached your point. Can we keep in contact ?

On Sa= t, Mar 18, 2023 at 3:00=E2=80=AFPM Julie Koubov=C3=A1 <julie@koubova.net> wrote:
Hey everyone,

I= 9;m running Linux (Home Assistant OS) in Bhyve on FreeBSD 13.1. I use PCI p= assthrough to allow the VM to=C2=A0access a USB card with a couple of radio= dongles. The host machine is an Intel Core i3 13100 with 64 GB of RAM. The= CPU has 4 physical cores (8 hyper-threaded). The virtual machine is assign= ed four cores.=C2=A0

The = host load averages are 0.39 0.39 0.40 right now, which seems way too much. = The same workload was previously handled by a Raspberry Pi 4, and the CPU u= sage there was under 10% when not doing anything special. Inside the guest = OS, the CPU usage is reported around 5%, which seems reasonable.

What's wrong? How can I start d= ebugging this issue? I use ZFS on the host, vm-bhyve to manage the virtual = machines, and I don't have a swap partition.

Thanks for your help,
Julie


--
Mario.
--000000000000b6be3405f72d3568-- From nobody Sat Mar 18 16:14:58 2023 X-Original-To: freebsd-virtualization@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 4Pf5gd3fHDz3ykdg for ; Sat, 18 Mar 2023 16:15:09 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (vogon.madpilot.net [159.69.1.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pf5gc66TYz3Fl4 for ; Sat, 18 Mar 2023 16:15:08 +0000 (UTC) (envelope-from mad@madpilot.net) Authentication-Results: mx1.freebsd.org; none Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 4Pf5gT35CKz6ddR; Sat, 18 Mar 2023 17:15:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-type:content-type:in-reply-to :subject:subject:from:from:content-language:references:date:date :message-id:received; s=bjowvop61wgh; t=1679156099; x= 1680970500; bh=LW7LwewtsHhBelys5xBjfb8tf59bYr6+pE08A95xJ8I=; b=W Ppm0Ht4GFD4Z7JSQfm/aQ+4IUMC+LCrGj46n0urne/35ff9Uz35Yhjb74CWP1t0a rClK0NQNRvLhXJQQ7CclVeH0hVM5+UA3ggkYFcWvUMutw7b3BRYvNaOwQ85sSsuL QIcoWrszLNiTk7aW0fk6TxMb4+rKiqGpRDPOmnq3xARPd+Wwm+Ex4jgRI86fKEJV yeKvhG+KFr3hiVXpprJzv0rIE5+JxKGvTXedmMlPsNyuEG3fbBMUYa3JHPIu/D6s FNMLCIIP0curIX14Eq22dw92sw9OY/CVX/zRpi4Trja9jLlSMVf5lLAjMYlLnSxI 4MKqtN12cMG+Qwz0R8/8g== Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10026) with ESMTP id hFRQfq7_69JL; Sat, 18 Mar 2023 17:14:59 +0100 (CET) Message-ID: Date: Sat, 18 Mar 2023 17:14:58 +0100 To: =?UTF-8?Q?Julie_Koubov=c3=a1?= , freebsd-virtualization@freebsd.org References: Content-Language: en-US From: Guido Falsi Subject: Re: Bhyve process consumes way too much CPU In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Pf5gc66TYz3Fl4 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org On 18/03/23 14:59, Julie Koubová wrote: > Hey everyone, > > I'm running Linux (Home Assistant OS) in Bhyve on FreeBSD 13.1. I use > PCI passthrough to allow the VM to access a USB card with a couple of > radio dongles. The host machine is an Intel Core i3 13100 with 64 GB of > RAM. The CPU has 4 physical cores (8 hyper-threaded). The virtual > machine is assigned four cores. > > The host load averages are 0.39 0.39 0.40 right now, which seems way too > much. The same workload was previously handled by a Raspberry Pi 4, and > the CPU usage there was under 10% when not doing anything special. > Inside the guest OS, the CPU usage is reported around 5%, which seems > reasonable. I cannot give any definitive information, and know nothing about Home Assistant OS but I see a problem with your reasoning here, you're comparing CPU usage with system load, which is apples to oranges; they are measuring two different things (albeit related to each other). It is quite possible to have a relatively high load with low CPU usage, in fact I think I can see that happen when using virtual machines, since they also have to handle their own internal interrupts and the like and will be often ready to run, adding to the load, but actually doing very little CPU work. So you should compare load to load and CPU usage to CPU usage. In relation to a raspberry I expect load to not be significantly lower for this kind of work, but actual CPU usage to be noticeably lower, but not near zero. > > What's wrong? How can I start debugging this issue? I use ZFS on the > host, vm-bhyve to manage the virtual machines, and I don't have a swap > partition. ZFS is going to add some load too, since it is a very complex filesystem and does a lot of work behind the scenes. Especially if you're using file system compression. -- Guido Falsi From nobody Sat Mar 18 16:29:08 2023 X-Original-To: freebsd-virtualization@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 4Pf5zs3BWlz3ylbd for ; Sat, 18 Mar 2023 16:29:13 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (vogon.madpilot.net [159.69.1.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pf5zr2Wz5z3Grn for ; Sat, 18 Mar 2023 16:29:12 +0000 (UTC) (envelope-from mad@madpilot.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=madpilot.net header.s=bjowvop61wgh header.b="J pqiVV3"; spf=pass (mx1.freebsd.org: domain of mad@madpilot.net designates 159.69.1.99 as permitted sender) smtp.mailfrom=mad@madpilot.net; dmarc=pass (policy=quarantine) header.from=madpilot.net Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 4Pf5zq0r6Jz6ddR; Sat, 18 Mar 2023 17:29:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-type:content-type:in-reply-to :content-language:references:from:from:subject:subject:date:date :message-id:received; s=bjowvop61wgh; t=1679156949; x= 1680971350; bh=SMD/qVztp//05j+/VTM3S5YSooYMu/BgjEiBMbKlCJA=; b=J pqiVV3LG8dIteNDDX28wrrcvDXQWiIzkKYHkv5KfPbW3j1QS8nspPvSz3K/xPh3k c3JjKMt5ETJtjOQSQ5FyKOlSUHlxBnYNK5rUg+lr2VzXns0poUUnlWtKuGaPapYh ggct600x2x8F9T2JEP6lAiayqEUodid2MLO5RHPT+MGReJJabf73xYLtzATK3NXC I8IFl3qVNFkcacR9cVoq/baLyliaEeIZLqM6toLls5vJ8fyqq8ma4dbL/u2hN0JL hob7HMv/2AGpJQx8njaIIcyY7YMWlcd+FRT87YKvn3eiEJw2Qnnfwp8GG6FBXcGv 2xnXrc5TGp5Aeaxta1sZQ== Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10026) with ESMTP id QHE3BBPuSzwj; Sat, 18 Mar 2023 17:29:09 +0100 (CET) Message-ID: <80da3a32-4c4c-5135-88b5-99419709ede9@madpilot.net> Date: Sat, 18 Mar 2023 17:29:08 +0100 Subject: Re: Bhyve process consumes way too much CPU From: Guido Falsi To: =?UTF-8?Q?Julie_Koubov=c3=a1?= , freebsd-virtualization@freebsd.org References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-1.99 / 15.00]; MISSING_MIME_VERSION(2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.992]; DMARC_POLICY_ALLOW(-0.50)[madpilot.net,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[madpilot.net:s=bjowvop61wgh]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[madpilot.net:+]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; RCVD_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4Pf5zr2Wz5z3Grn X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org On 18/03/23 17:14, Guido Falsi wrote: > On 18/03/23 14:59, Julie Koubová wrote: >> Hey everyone, >> >> I'm running Linux (Home Assistant OS) in Bhyve on FreeBSD 13.1. I use >> PCI passthrough to allow the VM to access a USB card with a couple of >> radio dongles. The host machine is an Intel Core i3 13100 with 64 GB >> of RAM. The CPU has 4 physical cores (8 hyper-threaded). The virtual >> machine is assigned four cores. >> >> The host load averages are 0.39 0.39 0.40 right now, which seems way >> too much. The same workload was previously handled by a Raspberry Pi >> 4, and the CPU usage there was under 10% when not doing anything >> special. Inside the guest OS, the CPU usage is reported around 5%, >> which seems reasonable. > > I cannot give any definitive information, and know nothing about Home > Assistant OS but I see a problem with your reasoning here, you're > comparing CPU usage with system load, which is apples to oranges; they > are measuring two different things (albeit related to each other). > > It is quite possible to have a relatively high load with low CPU usage, > in fact I think I can see that happen when using virtual machines, since > they also have to handle their own internal interrupts and the like and > will be often ready to run, adding to the load, but actually doing very > little CPU work. > > So you should compare load to load and CPU usage to CPU usage. In > relation to a raspberry I expect load to not be significantly lower for > this kind of work, but actual CPU usage to be noticeably lower, but not > near zero. BTW, I forgot to mention that any load average less than the number of available threads means the machine is not fully loaded, so 0.50 for a 4 CPU, 8 threads machine is quite low by any measurements, while 0.50 on a machine with half the available CPUs/threads means double the actual load for that hardware. That should be accounted too. -- Guido Falsi