From nobody Fri Mar 15 07:59:06 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 4TwxTn2W4fz5CrBD for ; Fri, 15 Mar 2024 07:59:09 +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 4TwxTm5ZbHz4jhc for ; Fri, 15 Mar 2024 07:59:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710489548; a=rsa-sha256; cv=none; b=sp1ai0SbsFr5eBXc7qN9OUXopTDM6VWOpBE1pzBUF89Vmh5aZwc1N3/tg0C+fyKJgLf1o3 5mHL0RxoOwcwk/01JN03jf8nSO4LYVa48h/9O3DiipSdlR5CYztXre5pp2NhlAxajHnKI3 twpPoIbT0cwiUk3sEN9vIJYiS6/NSek8c3PovBazbWoZGZ1SItAGaP6VifjVSuHvdmGiSd j8rV1eXdD8OFwt3+/1sNmeLs+MMN4yvDbtE8F0oBfXGe/90ZWvm+khL8ZsLdCq+2iX8Gt3 Fo8o0HIzCpeojTuMAX4Bf9QmP7nJtPYArv8fg75V6DvcrbnKnndblDzPXaeySQ== 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=1710489548; 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=7Yy+BpQRodz6uJxs+HTr6jIB5U0CZ8uxUQWZhpG9V3Y=; b=j/87u96kw+fteiDkvAvnsp7Qx42h7c1EUzZiVXRrmaPgRSLzWXg9J2EeKuciqV7u92ddf6 4UKCDqnHnitzMhrm63GoUgdkZRbeng9eZipk1ZW0eceg+wqhDsLV0FUX+nDX/MRXh4f3m+ ET+j5UCIHdXZ6qi4Vc95pQzkUnuIp0kFdycHMKwAIZoUdHg8JqgVfLHNpCp7X9D+ZrosrY vZ2d7RI0SHFl6haKY3ygJTMiRqqHypoBdXjqrnmf2dfD8qC02RwhPopbtqexoTMvT4vQ+o ZhRuFoCjhLGX3BJy3p/ISzzKMpsdkT35/Ne4vXQvxjMXvDIPRkXSzhRXXzYHYw== 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 4TwxTm5B8rz13CQ for ; Fri, 15 Mar 2024 07:59:08 +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 42F7x8jK003947 for ; Fri, 15 Mar 2024 07:59:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42F7x88I003941 for fs@FreeBSD.org; Fri, 15 Mar 2024 07:59:08 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: Fri, 15 Mar 2024 07:59:06 +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: zirias@freebsd.org 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 #89 from Felix Palmen --- (In reply to Seigo Tanimura from comment #87) On my home server (amd64, 4x 4TB spinning HDDs with GELI partitions and a raid-z1 pool on top, arc_max 32GiB, neither l2arc nor zil), I had issues wi= th stalls (1 to several seconds) under heavy I/O load (with poudriere and null= fs involved) ever since upgrading to FreeBSD 13.x. With the 13.3 kernel, the issue escalated from "pretty annoying" to "comple= tely unusable". Now after applying all your patches, it is a *lot* better. I could still provoke stalls having a large poudriere build with heavy ccache usage and at the same time using a Windows Server VM with zvol storage backend on the sa= me pool ... but I guess there are limits somewhere ;) will continue to observe= the overall behavior. so: 1. Thanks a lot for this awesome work! 2. Please get it merged to all affected branches :) --=20 You are receiving this mail because: You are the assignee for the bug.=