From nobody Tue Mar 05 09:06:34 2024 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 4TpqSD4jwwz5CDlw for ; Tue, 5 Mar 2024 09:06:36 +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 4TpqSD3Rj4z4Njh for ; Tue, 5 Mar 2024 09:06:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709629596; a=rsa-sha256; cv=none; b=W1RaU6VivnCluTct4liiyaVsNXwFkOQItyBmjLbOYy5erPkN8fuwIbwFgnfTceYSs/9Fh7 OVUjKFZhc/4Y9ywQBT2h50WOEPx144spag6PES/6G43w8aF3nrrHDiR4y5xNyWLb1fwVD0 rBmp4T96ZWOcKW1q3V+IcTU0j/59d/aA2eu5qPf68cRiWhf/mAun+E4CpLx+PIMgrnA6qm S4gNbIhQpRWNTJ6/XZZfATCiAb/YUu/llai6oBLOlWKe6Dq34Tka3RGVaE5nbqG53EgRNi jLk9/dCbZDXhkxoqPknciDVg7RDuyeAnHanNfkQCFoc1X4lvVjRZjkN8JONMzA== 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=1709629596; 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=oicS9zXI22PFGmZ0Z2rmBIu+6y41Dyazj+uzX6xqtIk=; b=jnNp78LmXAeLRZlQxZmCqc3Mx4ge4LnjftkG92ITO0EH7xrPRQGY5ZP1jfjEdteYHot0aP RILIQZ923sx9NHlOEZlkr43HFHBEi9rDGG2lLmI8E3vMA/2a6NvxAZcximW+vfSH7IkVLf Pje0gI12QTsK74sJh2K8J5CdoUN7hWYjOk1GOtN7jWzsbAr6nSn088DEfmKw+//ey5WS6Y KF2kCVGKbaCfPBu3FZ9TrR6HQfg2CIA7P1T5emydqnO9HSestmGeM6fVuZl6q/k1F3NEGa pD0rbV+cjeXl8ybdsgrM16lyViuvdcd/GtlZ4mGqwarToCcQ1JufMEbFV4/PcA== 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 4TpqSD33YQz10Gm for ; Tue, 5 Mar 2024 09:06:36 +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 42596aWl058443 for ; Tue, 5 Mar 2024 09:06:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42596aIW058442 for fs@FreeBSD.org; Tue, 5 Mar 2024 09:06:36 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: Tue, 05 Mar 2024 09:06:34 +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 #70 from Seigo Tanimura --- (In reply to Seigo Tanimura from comment #69) A quick note that the nullfs fix has been updated as per kib's review on https://reviews.freebsd.org/D44177. The nullfs fix is now implemented by a sysctl toggle (vfs.nullfs.cache_node= s) that controls the nullfs vnode caching, which is enabled by default. Set t= his to false to disable the nullfs vnode caching so that its lower vnodes can be recycled smoothly. * Github Sources All of the sources are under https://github.com/altimeter-130ft/freebsd-freebsd-src. - Branches and Git Commit Hashes | | Git Commit Hash | Fix Branch | Base Branch | Fix + Counter Branch | Base =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D main | topic-openzfs-arc_prune-regulation-fix | 57ddfad884 | topic-openzfs-arc_prune-regulation-counters |=20 ------------+---------------------------------------------------------+----= ------------- stable/14 | stable/14-topic-openzfs-arc_prune-regulation-fix | 20a6f4779a | stable/14-topic-openzfs-arc_prune-regulation-counters |=20 ------------+---------------------------------------------------------+----= ------------- releng/14.0 | releng/14.0-topic-openzfs-arc_prune-regulation-fix | 4edf3b8073 | releng/14.0-topic-openzfs-arc_prune-regulation-counters |=20 ------------+---------------------------------------------------------+----= ------------- stable/13 | stable/13-topic-openzfs-arc_prune-regulation-fix | 9d2f548bbe | stable/13-topic-openzfs-arc_prune-regulation-counters |=20 ------------+---------------------------------------------------------+----= ------------- releng/13.3 | releng/13.3-topic-openzfs-arc_prune-regulation-fix | 24eb518714 | releng/13.3-topic-openzfs-arc_prune-regulation-counters |=20 ------------+---------------------------------------------------------+----= ------------- releng/13.2 | releng/13.2-topic-openzfs-arc_prune-regulation-fix | c78c31d2ef | releng/13.2-topic-openzfs-arc_prune-regulation-counters |=20 | Git Commit Hash | | Per-filesystem | |=20= =20=20=20=20=20=20=20=20=20 | FreeBSD-EN-23:18.openzfs | Vnode Counters | ZFS & VFS | Null= fs Base Branch | Backport | (VFS part) | Fix | Fix =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D main | N/A | ee039d8ac5 | 79221e0ef1 | 15e81087f5 ------------+--------------------------+----------------+------------+-----= ------- stable/14 | N/A | 2e4eb52fd9 | 7b7bf0eeda | 37404c6e9e ------------+--------------------------+----------------+------------+-----= ------- releng/14.0 | N/A | 5de24ff9b4 | de37505406 | 0a2e6025ce ------------+--------------------------+----------------+------------+-----= ------- stable/13 | 5c62c48b7a | d68540aa6e | 17ca0ab252 | ae550ed68a ------------+--------------------------+----------------+------------+-----= ------- releng/13.3 | 0d279f56c3 | fb47a19236 | 4af563a184 | 767b47b774 ------------+--------------------------+----------------+------------+-----= ------- releng/13.2 | b784851090 | 7ef6cf8f72 | 5e979de6ca | 93cefa9124 | Git Commit Hash | Counters Base Branch | (Not for merging) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D main | 4d5ae0f6aa ------------+------------------- stable/14 | bf4b2e420d ------------+------------------- releng/14.0 | 9de8754bcf ------------+------------------- stable/13 | 8b9a9ad167 ------------+------------------- releng/13.3 | d0389390ce ------------+------------------- releng/13.2 | 5301e244af --=20 You are receiving this mail because: You are the assignee for the bug.=