From nobody Mon Dec 25 10:58:46 2023 X-Original-To: fs@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 4SzFJQ50cwz54WFt for ; Mon, 25 Dec 2023 10:58:46 +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 4SzFJQ3y8jz4Wm7 for ; Mon, 25 Dec 2023 10:58:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703501926; a=rsa-sha256; cv=none; b=CGLXKLxbxKdeHteu2sESoHPDPu2l5MA1Ve+zIouMVCuUFUXSSWMp5ccW7ZIH/EGlCu3kJL GIS2r+zeo2llijctJcTFAs59L5l7auo1ugWeraGG5GMfcLeaGJhCaJsLR1NzWFEh+v2uvm o2+TSTEi2wY0WX/yUae32nXpLbrKw2oXxrZccH8QQTU+UhLpIAWGWSDxmU6t5ZBNRR3V43 ihQ6yBem2BG8SkC6JD1WeU50v6dhxn0mqKOyOqM8N8mLNS+Y0pvGejAt5+8d7hkuuFeQDl v+6+b7bXc0bizUc/0vgrhP4CM6cMeb2PTxWsbTJib1hp717Ays5CEZDJtQqv0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703501926; 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=KuHwaI/PsAWe4cF0ylPzVBvxYm3VHNvPud+/PBgLEw4=; b=abSdjfEcCluzh4hj+QPZKrWLzVIm8IloSxL7waJuqy/askkRGHxMvx01ulQb5KbNg+euND UeRaBg3qzJsRv9Vt2nh6wcpcHupF3iZwJzyK2ha9Ej+qKD8pazQ3dQxOnerMydosWoLMDi Yzb7AOUpu9v+GkcCgkAHD3riDek6EAiLuYx63nhilZrMGs3ygiuL7F24fxEl38QixeZp6G jGyMXhHQXWtg5PYSD5B16mYBtDntLQbQIRrY/khFBvaVol6C8Eb6rwi3yD2XuzWNBK0PAi 6HYllzoRYGEr88ppnwnBknHEONprVETMCOvkhlEHAQXvgZkVxBOm1kGkGZvL3w== 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 4SzFJQ2pMBz17dy for ; Mon, 25 Dec 2023 10:58:46 +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 3BPAwkdB065046 for ; Mon, 25 Dec 2023 10:58:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BPAwkYW065045 for fs@FreeBSD.org; Mon, 25 Dec 2023 10:58:46 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: fs@FreeBSD.org Subject: [Bug 275594] High CPU usage by arc_prune; analysis and fix Date: Mon, 25 Dec 2023 10:58:46 +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: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: seigo.tanimura@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@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: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275594 --- Comment #16 from Seigo Tanimura --- (In reply to Seigo Tanimura from comment #14) * Notes on the comparision to kern.openfiles I will assume that ~70% of kern.openfiles is for ZFS in the next test. This ratio has been observed from a preliminary test conducted separately from t= he last one, where the vnode tag counting in enabled. * Chart Archive: poudriere-bulk-2023-12-21_18h42m38s.7z * Charts: vnode-vnodes.png, vnode-tags.png. vnode-tags.png shows the vnode counts classified by its tags. The section = of 21 Dec 2023 15:00Z - 16:30Z has ~2.5M vnodes, out of which ~1.8M are for ZF= S. (The yellow area on vnode-vnodes.png) 2.5M / 1.8M =3D=3D 0.72. The vnode tag counting will be disabled in the next test (and so by default) because it puts the load as heavy as the ZFS ARC pruning and is hence likel= y to affect the test results. --=20 You are receiving this mail because: You are the assignee for the bug.=