From nobody Fri Mar 01 19:47:47 2024 X-Original-To: freebsd-stable@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 4Tmdt70XNDz5Cwsh for ; Fri, 1 Mar 2024 19:47:59 +0000 (UTC) (envelope-from juraj@lutter.sk) Received: from ns2.wilbury.net (ns2.wilbury.net [IPv6:2a01:b200:0:1:f816:3eff:fecd:13e6]) (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 ECDSA (P-256) client-digest SHA256) (Client CN "svc.wilbury.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tmdt66gz1z4nNP for ; Fri, 1 Mar 2024 19:47:58 +0000 (UTC) (envelope-from juraj@lutter.sk) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (gw-upc.owhome.net [188.167.168.254]) (Authenticated sender: juraj@lutter.sk) by svc.wilbury.net (Postfix) with ESMTPSA id ADA9961F91; Fri, 1 Mar 2024 20:47:57 +0100 (CET) Content-Type: text/plain; charset=utf-8 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\)) Subject: Re: CPU hog in vnlru and arc_prune on 13-STABLE From: Juraj Lutter In-Reply-To: Date: Fri, 1 Mar 2024 20:47:47 +0100 Cc: FreeBSD stable Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Lexi Winter X-Mailer: Apple Mail (2.3774.400.31) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:44185, ipnet:2a01:b200::/32, country:SK] X-Rspamd-Queue-Id: 4Tmdt66gz1z4nNP > On 1 Mar 2024, at 20:43, Lexi Winter wrote: >=20 > Juraj Lutter: >> I have a fresh (git b9880e247b26) 13.3-STABLE running in bhyve with 2 = vCPU and 10G of RAM. >>=20 >> I=E2=80=99ve put some load on it (building lang/rust from ports = outside poudriere, using make -j2) and the system >> started to respond very slowly. >>=20 >> I did break the make process and I was able to look into top where = there was: >>=20 >> PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU = COMMAND >> 0 root -8 - 0B 1808K CPU1 1 35:53 99.79% = kernel{arc_prune} >> 15 root 20 - 0B 16K RUN 0 34:19 99.35% = vnlru >=20 > this could be [0]: "High CPU usage by arc_prune; analysis and fix". >=20 > [0] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275594 Indeed, the symptoms are very similar. Thanks for the pointer. =E2=80=94 Juraj Lutter XMPP: juraj (at) lutter.sk GSM: +421907986576