From nobody Tue Apr 02 14:27:49 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 4V89G02ypxz5Gjxp for ; Tue, 2 Apr 2024 14:27:52 +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 4V89G01w8jz4Djc for ; Tue, 2 Apr 2024 14:27:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712068072; a=rsa-sha256; cv=none; b=wXKLpOcxvDA6zm7N+oXfNbSIchIKmVaVHSvmNLbwuDsiipZXJNI4/jxAkhQjbn8Coe436s WRIt/D4clZw+4OVTUfiow+8WoQb24r9rgKNu//p8EWzG9XjlZVMpN+f9wplLC+m/XkmBKa 5617DzBVLx/GB8qBWDndaeaT3qKZC8dlNUUK5B8RAjWqKkTAdEL1DVvWg3nkONa5l4B81x 6qKxkAgbndgncrNOPhAWUWMtWHdvM3DKmJ8QEYOIIkB1b4aMdtqWUQattUB7PF2GrJfI7v 8hyfUCDgWP+0o/wi8V4FPI2z3jeG+l8iPLcKrLHSMrhvqw5k+awPUskvuBDbFw== 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=1712068072; 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=jLaBTw/4d8uYQlBcLZPnr3tMNx+MNt8AG977gO3dLf8=; b=Kmb1LR5wTUuf5qNUW/cA9btoBsaTizah42+52fy4e6ShJsMoR6q2FtiI4cUI9fZRY3IgUH QVoU5Lg7indRK5xaJwPQ3V8AzBdSsc88UOY345Ay/HmZDGVYYxZPOGFbRE81EnE/AlrwN/ izOF1Ymag2fOhKXSt/R1pK2SM27u5FPrjsGK+VJyuzUv8fH2jg+fb1pkniv9hQJ3I7AuqE Reb9M0KzeUaSGMqmuCtwPGsmFohA++QtrJ1SciRiP3R4ZtYNQGNfSbfQxALDqXlwhlhG21 Mv6UaD2x5paoaae/KOFxsEffUXIOrsqnXdMIJmDFQKNFxMwGThUNPWaujg3k/w== 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 4V89G01PSQztBm for ; Tue, 2 Apr 2024 14:27:52 +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 432ERqW6081604 for ; Tue, 2 Apr 2024 14:27:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 432ERqGC081601 for fs@FreeBSD.org; Tue, 2 Apr 2024 14:27:52 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, 02 Apr 2024 14:27:49 +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: vsasjason@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 #102 from Anton Saietskii --- (In reply to Olivier Certner from comment #101) > First of all, let me say I've never personally experienced the bug > reported here. I'm using poudriere for big builds from time to time, > and with ZFS, but on machines with plenty of RAM, so that may > explain why.=20 Olivier, I'm unsure if it can be considered as plenty, but I do experince t= his on a i7-7820HQ with 64G of RAM. Poudriere configured with USE_TMPFS=3D"data localbase wrkdir". I can reprod= uce this with the following few steps: 1. Wait until ARC fills RAM so I have like ~2 gigs left. 2. Start 'poudriere bulk' on whatever with big distfile (e.g. firefox, rust, libreoffice). Jobs count doesn't matter, even 1 "works". 3. Almost as soon as that big distfile starts unpacking to tmpfs -- voila, issue pops up. --=20 You are receiving this mail because: You are the assignee for the bug.=