From nobody Mon Mar 4 08:41:28 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 4TpBxh6NdNz5CBSZ for ; Mon, 4 Mar 2024 08:41:28 +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 4TpBxh4zKMz4ZNT for ; Mon, 4 Mar 2024 08:41:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709541688; a=rsa-sha256; cv=none; b=hud2LfYzD2uHBe8XgA61hggvmK19He9khDd2e6bcpieBzZTk2OE0ixPBtJ7LBsxiBPw/WS +vRmqPCBqFHpWpBON72vvKw9E6dtvAkUXnewiyvLIqq5E8Jzk9YYStU8mTeeouMFNBAHOc wPMYfApVNjtvAv+ib+ec/XewRYF/sfblwIHy3vUqtHzpgZG5kj8jSBgd0PMXL5JbTRleyq Q7jEsgve/zGsJsjM2J0Lrs0+SFrRRH2drRMq7u/MmC2CRep4xFqbu/CK/R2RSF36T/O37U /mqWsCqpp3iJYJ7MWUVPZ5eQtW2SLYKY5ahnrl+6b4Wi04/UlwtRhMW3vDjgLg== 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=1709541688; 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=Mz3Czk4liSTvc7+QMl00O93i+3pi7ZWZd4RjErlS1ls=; b=p16NihrODgcDRPJvNvFhKQcGayYLg0hw0zKfZ+cPPVagZipSIZC3W93LGmVd6iIzC1YVVm bbNtuCn7y522k2KGro0Q1SiYYFigKO1dW4TVUrobQf2l6li1jmruCE2FlGKy4rU3zkHxTF uhI7oV9GDrSiGhFaorcHrWoSY2VQnfmfVYQZfV/7zRczfPWKkZ8DKyImb4VoWQlQ56S15c H1izMLIBPHIa4QS2MhMquTg0ZCVzm2aBQAp7kaIxTC0BEkkYeLJppF/www29i7RmJC+6Uq Q/ukzhMOnKTSaNGu18UHfDtzjK9eGMecPpdC7O4QD0p8HBu23D/vWJ2TN52VYA== 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 4TpBxh4b81zFNy for ; Mon, 4 Mar 2024 08:41:28 +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 4248fSCq058056 for ; Mon, 4 Mar 2024 08:41:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4248fSfv058055 for fs@FreeBSD.org; Mon, 4 Mar 2024 08:41:28 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 277420] write outside of buffer in tarfs_alloc_one() due to unchecked len Date: Mon, 04 Mar 2024 08:41:28 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: des@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: des@FreeBSD.org X-Bugzilla-Flags: mfc-stable14? X-Bugzilla-Changed-Fields: assigned_to bug_status flagtypes.name 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=3D277420 Dag-Erling Sm=C3=B8rgrav changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|fs@FreeBSD.org |des@FreeBSD.org Status|New |Open Flags| |mfc-stable14? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Mar 4 08:41:28 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 4TpBxj1X19z5CBHg for ; Mon, 4 Mar 2024 08:41:29 +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 4TpBxh6hSCz4Z2Q for ; Mon, 4 Mar 2024 08:41:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709541688; a=rsa-sha256; cv=none; b=rwsV01GgklzNZPorkjY7PbC2VDvLIbEGCQwomsAXCuOAcHk2Q7KXdoEZiiyx6OQzo6PdFL WufapbWjEhIhMtM84H7DJVvRhBhf0bRKBbZOQeud5BSUXSsErHx+M65c5a+IE3VzHT48O8 XtpD8fxWT8c8HGZnTVlfREkTM8bDHEPARIm6hO4KWpGzxensHReoOOjtzMvcv3pMJHZjUp JP6Kee/C9YsRjJ2hEdtxM7DlcB9dqFxkjp+JPvDi8tTgNakOLB4R84Rhhz3qKmcxojeDQX cQWP+2kGuSLGemZl+yn4XrMweStprP6tnrI/sklMEBFRwPzoCjgWlLux9GhTrA== 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=1709541688; 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=Mz3Czk4liSTvc7+QMl00O93i+3pi7ZWZd4RjErlS1ls=; b=I1462HPTIUrLNzLJ60G2qjwcEb4bAEREBfSvoqD+cVCHylwpIMRWT3zq3K7y2gaXfU/PiI ctu3ie66Ps07nt32dr4kYfB9thlwyt0FIY3A0LLp89pmwJi7eHtFyiH8rXgFE3ZIfaMn5X LCY0u8H34/zuqeb8ECT5jLpGaXi6XWB9yAVAeqNdgZY/nL1FqCMLte0jMfGwXtr/51TZT/ q+SBxrLSU/icx0ocGd5IOiySdL2tPHmSU1bcpVUb0iyt0epMPfFEvZoU3VdzByQwjbhVZi ib7CHq416J6j+dwI3RTHnSN+3I+5K9Rj8nm083tCAkQdu7zU5qWkeu6YZKA1mw== 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 4TpBxh5yF1zFLD for ; Mon, 4 Mar 2024 08:41:28 +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 4248fSUc058084 for ; Mon, 4 Mar 2024 08:41:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4248fS1j058082 for fs@FreeBSD.org; Mon, 4 Mar 2024 08:41:28 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 277420] write outside of buffer in tarfs_alloc_one() due to unchecked len Date: Mon, 04 Mar 2024 08:41:28 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: des@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: des@FreeBSD.org X-Bugzilla-Flags: mfc-stable14? X-Bugzilla-Changed-Fields: assigned_to bug_status flagtypes.name 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=3D277420 Dag-Erling Sm=C3=B8rgrav changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|fs@FreeBSD.org |des@FreeBSD.org Status|New |Open Flags| |mfc-stable14? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Mar 5 00:09:33 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 4TpbXZ2CMhz5DY4f for ; Tue, 5 Mar 2024 00:09:34 +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 4TpbXY6gb4z4JBD for ; Tue, 5 Mar 2024 00:09:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709597373; a=rsa-sha256; cv=none; b=iYqxQOuQyxnoGiFcI5HZMIdaeDxAl/Ge4GJN30asDMzjODh3c0EWjP8cNN0QBnqnpF0z9j 2/Awr9dylEiEZOQtU5yjowIzdL2b9ZbsX1v6vcR1I4347LLTXnZJ3PLs+pSHNzDLwE10qE SyMLvQmHa6ZspMDQQ+/yO/DRoI3vFBsj1cihGR9snLUAPtkrWyM5H2LE7wEgfNjGdKcQnX Re7cNP2Hun0XFwTrqT5aM1MPEe9WnZe1ewwiIWgl1eFc2Aa2h7IdbUOsCMVo8UpI8osGmF RaFth2OTes0igDqUU5M7gHGCs7hi8BGS3LiTrkwZdEtIjSmlGOk3rRYgxmqJ4w== 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=1709597373; 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=fH55NjYkFVBw/WjsjkhynWErxeCz4vyqmSE7NTAcb2A=; b=yZbw6QAUyVANy9e/AzefSIlbNdn7onUI3d2gZMJivpd6l8do3FS/f4/wYeRb3lTSi5jeNd iAw8QobYf3M0NyZYki70kcn0Suz/3ZSXgI8faCObk3sysiBQF7mBET+Pg7kaX3CxJtagoS 6GMySDvIArxZbAxhwsWiJPGBwu4jtvMrlVZtco9rIX5m1+kNia3qwPpy9J2mM3hXf8N3wS hGvFpyPz7RkMphQOQFbil5fjGwpu/51JirH4JdrvKBEr8EZTf8D/EulyO9+Ld5t6sNATT+ J1H3Y8JvJyXyNXsWFJKdNFUmeq/gAg60/oCJ9g2va2Jjq+pT6oiiSdKIV+ug+g== 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 4TpbXY6HVrzjhH for ; Tue, 5 Mar 2024 00:09:33 +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 42509Xh9063226 for ; Tue, 5 Mar 2024 00:09:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42509Xvg063225 for fs@FreeBSD.org; Tue, 5 Mar 2024 00:09:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 264450] ufs: Partition recognized on 12.3 not recognized on CURRENT (2573e6ced996): Cannot find file system superblock .. Invalid fstype: Invalid argument Date: Tue, 05 Mar 2024 00:09:33 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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=3D264450 --- Comment #28 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dfdfb8e783c3e8606d1294f9772fbd1496= 994b581 commit fdfb8e783c3e8606d1294f9772fbd1496994b581 Author: Kirk McKusick AuthorDate: 2024-02-20 00:16:07 +0000 Commit: Kirk McKusick CommitDate: 2024-03-05 00:09:10 +0000 Eliminate unnecessary UFS1 integrity checks. The UFS1 integrity checks added in FreeBSD 14 were too aggressive for UFS1 filesystems created in FreeBSD 4 and 9 systems. This patch removes those tests which can be done safely since they are not relevant to the current implementation of UFS1. This is a follow-on report to bug report 264450 (comments 21-28). Reported by: slb@sonnet.com Tested by: slb@sonnet.com PR: 264450 (cherry picked from commit b241767f8ef38f9ca7c109fe2fccd11ccbfaa4f0) sbin/fsck_ffs/fsutil.c | 2 -- sys/ufs/ffs/ffs_subr.c | 4 ---- 2 files changed, 6 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From nobody Tue Mar 5 00:19:37 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 4TpbmB3b4tz5DYZ7 for ; Tue, 5 Mar 2024 00:19:38 +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 4TpbmB1V1qz4KwN for ; Tue, 5 Mar 2024 00:19:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709597978; a=rsa-sha256; cv=none; b=Uc5lWgnQNu/91KdFx5KrKMWq5v9pvHDBoDmPgPiV9OuWumBFeiOWzYM+yM0ElwHqfcdcbC I/7i4DDgTZpH8Mzzaep4GhNi5XVNyBgjHwCjj9nEvXdj7N1wkRZUYqKhnAe7z8qUULNrsV vQ+I9Ws8GFBdwgEC7hA5jaSGr/8lEfhODCO/9ucXRkAl4D944JbwrH7y470kmKTK+tZmCQ 3pxpgmDyehvEnZYaeES/Bt2gG8u6NqCexSCHt0DaRm3QG5r8bVVm5O4HadIVMO31yqctGr QEg2A1CXOIHkTOgP2Cyr9wTeHyfYcQM4lNAVw91pEDW/FOvwHhmPxm19E2Ggfw== 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=1709597978; 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=BUsiABHkeTZFPcBAFxigclpTHBWnLozBcxGs0MTepH0=; b=FjZwTOm9pwyVNALLBxgcXNFo0tqeXP411t9OLMW6GyF4xn6qDdUuZu9A1k10hU9pTapfEa KTMv/8aR5AqEUmx1dZcsULSo+W3TxmmIE7POBvpqVs2VLn6hOcvA7IMa2FHrbksJMNyGSj QzzCTToLP/9B0yLrY/nj9Pf7nX+4CEjM+ZDYRnCyMT+RmYSMSAT9E8C8Dg2TKJYMcOuAJS apl9UGaxipEvP7/1tFYfr+/b4nR8GEFWPoUV5G2S0eWpHGukPTFgDMDChEUqlGCPQzmieF T6fAmL78oaCsa61g8kZFTzsKBbiDiuZQCuZQoqtkN1LykckTEfWhNipkrF5cGQ== 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 4Tpbm95Nqgzk9s for ; Tue, 5 Mar 2024 00:19:37 +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 4250JbNH020208 for ; Tue, 5 Mar 2024 00:19:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4250JbmH020202 for fs@FreeBSD.org; Tue, 5 Mar 2024 00:19:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 264450] ufs: Partition recognized on 12.3 not recognized on CURRENT (2573e6ced996): Cannot find file system superblock .. Invalid fstype: Invalid argument Date: Tue, 05 Mar 2024 00:19:37 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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=3D264450 --- Comment #29 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D8c6964b779cecbcf42475c896e5c61df1= 92b80b9 commit 8c6964b779cecbcf42475c896e5c61df192b80b9 Author: Kirk McKusick AuthorDate: 2024-02-20 00:16:07 +0000 Commit: Kirk McKusick CommitDate: 2024-03-05 00:18:58 +0000 Eliminate unnecessary UFS1 integrity checks. The UFS1 integrity checks added in FreeBSD 14 were too aggressive for UFS1 filesystems created in FreeBSD 4 and 9 systems. This patch removes those tests which can be done safely since they are not relevant to the current implementation of UFS1. This is a follow-on report to bug report 264450 (comments 21-28). Reported by: slb@sonnet.com Tested by: slb@sonnet.com PR: 264450 (cherry picked from commit b241767f8ef38f9ca7c109fe2fccd11ccbfaa4f0) sbin/fsck_ffs/fsutil.c | 2 -- sys/ufs/ffs/ffs_subr.c | 2 -- 2 files changed, 4 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From nobody Tue Mar 5 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.= From nobody Wed Mar 6 10:49:40 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 4TqThl2bvZz5CKsx for ; Wed, 6 Mar 2024 10:49:43 +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 4TqThl1NShz44FD for ; Wed, 6 Mar 2024 10:49:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709722183; a=rsa-sha256; cv=none; b=cDrH9soaq/e//JkttVBNYkUd2rUTZayFnKk4cYUf0MLc7eO40topYdgCZq+79isnAAkN6K znUMA6D/DggMEas7o21xcWGiJ1DNkebpglzYtYMC+ARNvcpbVFyrCVGgGNc3zM+eVIqGe3 EoQn4pYVctYKat/rFpqZ8eRFX6UBeJteVH5wmF5RGTg09hyGUs2mEO+Um4R2PcqekRd2Ic nij93FUoJbffKKRL/GAS8DHtQpR90v0srwqTcFkSenLKFBW0P43p4XhV7w+lJVadana0fz x2zM8Q1Ha3Q7JKsVBzZ9CF9dphbomcaQ9Fxi1szscr93RBSlQop+P0A+Nn2UaQ== 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=1709722183; 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=qAj64l1cIjk17qju3N/UdpmEit5S0BHkF94G/Jtt7K4=; b=GGdzBhdZ5FhU1TU6zSlbVAuLuf+7Bk0lz4lpSstO/5qQBhj236+wM7QtrXS3AXGK9xfUpL VCTs9lnfk6j42TXvHpPPNXSCBlH8Mc/2If3PmrYfpn9Q1JDjsF22cRYGU+RU+ZQC0/P5IL mcF1gV6nIYxYlxeFzmX53D/FWhl/YpQz8MwRnFSr8dgFRJjNkiX+IgVa5kVebdyUCm62hp rt7g6u+58+qunXkpSL4pFG+sEggksW+hxPPMkfypz7pynAroGD5JMX+P4moTMalu1us/Gm 9m98TYGPtRKUQ968WYLfMS41R74poMihZ39Wl53nlUurEF4gnccyMx6wTpr82A== 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 4TqThl0yhHzmlQ for ; Wed, 6 Mar 2024 10:49:43 +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 426AnhG0090348 for ; Wed, 6 Mar 2024 10:49:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 426Anh3t090347 for fs@FreeBSD.org; Wed, 6 Mar 2024 10:49:43 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: Wed, 06 Mar 2024 10:49:40 +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 #71 from Anton Saietskii --- Same issue here on releng/13.3, on i7-7820HQ with 64G RAM. But there's a difference as well -- my machine even freezes completely while arc_prune+vn= lru eating CPU. If I run 9 jobs -- freeze duration is like tens of minutes, but even with a single job machine freezes for a ~minute at some points of poudriere build. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Mar 6 17:05:28 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 4Tqf2K6nSSz5Cx8q for ; Wed, 6 Mar 2024 17:05:29 +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 4Tqf2K2nRCz4mFT for ; Wed, 6 Mar 2024 17:05:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709744729; a=rsa-sha256; cv=none; b=aZ0Z0OY07z/iABYYAJiACpm6LbECOcConcZh+D6Oici6dM70Ln2RcB50M1C/Bi3zykG7AG qWhpfoVV/6bazLP6L+1uurZ57SBMIOfO2QTKbYINGe//0D5+qlI7LyIhzoAih2eXF7kQbj lFKkOz//WC70s6pbG4MPyYyjRclZYhvaI4bVBlf0wEFyQJADVfV7srIHcyabwWH/qGkemq iagpFFzGRs1L2ZckHuLQ0qaWWvLqR/dtRCugyD9BtcItw5skcq5hrPem4PDr+aM8EbSF5j RMw32SdAlJMKWI4PErby+Zr3NrcB2VqHBzrIitbyUd6eejb9BJUzb6PCBDXd6g== 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=1709744729; 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=JZQXuvDv3m4Vtr78UfSekhK2DWnwq2YhDutYYngnAHE=; b=Syl1MxmkVwYtRjNd+lQ1F1xwZ06b5//h5glzCQqpGHk5q/t61XRBU3l5Lgrty2t1ZAeeLN XvLyJ20ujDut2zp9bd/QNhRmhk76AxfR7cjMbKD+uYOUIDhw80CsnsWObsGasXEh2XXjHZ RLe5xZicACxapkfDmyyawZOCIZ9FN3i/NuBKe7B9It+Ns+5vL97TlifUmjUZN03lQ3FGao kDgGt9EoMJpe/OViHvNIv7UeMiQASv36c5NHqAKj0t6mQyojKHafOOxtrd6WkYmEFtNTHj aykNSnpoYR8MWRIs1/rKrgOwO+uGoNVrg3mAqIG+1AHaCccV11O5h9Lrb9T/RA== 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 4Tqf2K2GzgzyfW for ; Wed, 6 Mar 2024 17:05:29 +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 426H5TZN015862 for ; Wed, 6 Mar 2024 17:05:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 426H5ThR015861 for fs@FreeBSD.org; Wed, 6 Mar 2024 17:05:29 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: Wed, 06 Mar 2024 17:05:28 +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: marklmi26-fbsd@yahoo.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: cc 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 Mark Millard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marklmi26-fbsd@yahoo.com --- Comment #72 from Mark Millard --- (In reply to Anton Saietskii from comment #71) One of the things that can happen during low free RAM is for inactive processes to have their kernel stack swapped out. That can include the processes for interacting with the system, output and input. Until the kernel stacks from the relevant processes are swapped back in, interaction is blocked via those processes. Do you know what kind of hang you are seeing? Might it be an example of such? For reference, in /etc/sysctl.conf I use: # # Together this pair avoids swapping out the process kernel stacks. # This avoids processes for interacting with the system from being # hung-up by such. vm.swap_enabled=3D0 vm.swap_idle_enabled=3D0 Both are writable live: # sysctl -Wd vm.swap_enabled vm.swap_idle_enabled vm.swap_enabled: Enable entire process swapout vm.swap_idle_enabled: Allow swapout on idle criteria but are not tunables ( avoid in /boot/loader.conf ): # sysctl -Td vm.swap_enabled vm.swap_idle_enabled # --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Mar 6 18:12:20 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 4TqgWS6sTnz5D338 for ; Wed, 6 Mar 2024 18:12:20 +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 4TqgWS5r5Jz4vsl for ; Wed, 6 Mar 2024 18:12:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709748740; a=rsa-sha256; cv=none; b=CUVdl6JFaQatxxLPvmrrCTrZniSmCxZQ9pOCpVfiXUlIeOIvlXLkZ8PnKLOKiawV4Oukqb z3dzEXZjCMPSTc05Z4u50L1W/uPxJnk0xitMw87WO7AqOXq8UszC8U7YXBPgA8e8upkWMa A6iywCZaSk8JpG6rcQCNgKGZItQ9MuHqJM0AuxMRybQbBETQU4cvh8+afLQjlLJCfDtJe1 aartJB6UxSs/6bhTMKqCnOcYP+BYwr2+CdvLQMwdmR+qiJuMa/AVhnQj4azWD25EjhrbTA 4ZBpN/yxTgajsmKI/co4MyMhlaiQ/FHJRuAT5koRekKFNQI8lzJ1Bvo/kOJEfA== 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=1709748740; 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=nKnxB5yb4NAM0hbKdOm5r4sPHQEzBVARjB9oNbAw+X4=; b=fHQTIBENjwHao6z1HSAP10cUS/x+zafooM+ScLetV67Jt7qhOIzN+J3IGguNuJJ7uGQYFl sahGrkOt5MsQSEce+WizE9/6hwULS0csaDou+0r5UAzh8USBsSE9J01qlote7dbN/5RPt9 l5m4ZoAklQ2gZ7penQ/JKcdUbbcjTxrdT2f+Jnc6PzznDZmtFyg86VQwxUN4lnddeawm9Y ZAkTz/e2WdAcTH6jKqbA5xIltt2nHXFI6ky2vGZVW6GoB9+fdXWvkuc8/IqDtpxx2GLGiU UL7aaFaBYVL5YXYPGBJVLX3g6qEyTZciy8moDCDLfa0c1NvbOAjuMPMDS0izrA== 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 4TqgWS5Rg6z11BL for ; Wed, 6 Mar 2024 18:12:20 +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 426ICKF6058648 for ; Wed, 6 Mar 2024 18:12:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 426ICKZ4058647 for fs@FreeBSD.org; Wed, 6 Mar 2024 18:12:20 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: Wed, 06 Mar 2024 18:12:20 +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 #73 from Anton Saietskii --- (In reply to Mark Millard from comment #72) TBH, I didn't really get what do you mean by "kind" of hang, but perhaps following will be helpful: (Vanilla releng/13.3 currently.) Machine is running a few daemons with very stable memory footprint (built-in ones, like sshd, ntpd + couple of 3rd party, like net/wifibox, net-p2p/transmission daemon). Nothing related to memory has been tuned, and there's always ~2-3G of free RAM and zero swap usage. Then I start `poudriere bulk`, and as soon as some big distfile (e.g. firef= ox, libreoffice) begins extraction to tmpfs, arc_prune+vnlru start recklessly e= at CPU^W^W^W do their job trying to evict some ARC for me. System becomes slow= and stuttering followed by a full unresponsiveness =E2=80=94 network stops, dis= k activity stops, no reaction on physical console. After several minutes (I guess when distfile finishes extraction), everythi= ng returns to normal like nothing happened with no any log messages. Then poudriere build continues with eventual arc_prune+vnlru running as tmpfs be= ing filled with object files produced by compiler. No a single byte of swap usa= ge observed during this. So, it's like what you described, but for me issue hits faster and harder. Looks like CPU just have no time to execute anything beyond those 2 and possibly some other kernel threads. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Mar 6 18:26:39 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 4Tqgqz6n5xz5D4Y8 for ; Wed, 6 Mar 2024 18:26:39 +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 4Tqgqz5jTLz40L2 for ; Wed, 6 Mar 2024 18:26:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709749599; a=rsa-sha256; cv=none; b=wz3yJjYi4JOqbaU3KYmrpJaoUhSWyQ3VDdfhGcJXnyhVehAO5WWm1s6/4moTsDgX9Gu2Ac mPpjBf+KkHRLcAROX12RTwnnEa+vxE2qpeZeL9HFepvWp4I3sEAMSvnXH+0KGYk/hdXA0E cH2lUG1mEBXCa+bvWVpI3tAfHdmcvnG5evb7j3DbPXlTJUu7wiplWTgTo312jQ3U7noY8r DUiNnRy4kkrKXOADRT4oQzHpesgaydYdkdeK22nU4LSyvudkk/UBe5i4Sezen94QA6ZcBp p7Jx5D+bPkvtwKiIt8Otkq7XJ72wv+x34lK2SUodcKKXHT8poN3JXPfIlzevig== 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=1709749599; 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=Fj9BkjDxRyGhgxRxQCFZy66jVlDg3EcHfonxbtzzdwY=; b=lo0vuE5HGjT/mA2zfxfhoMM65y3lBU16nTezuIPG0BJ9Y/uhe+QCes1qruz3zJBNWPBKRn jD21XiouhnGAldck9v4KuTf7Ulu897dRC4PmEURuLkJbrcAHol0jKqdUtKNVF8En7x7ju+ 8XbwZpuEjgH4vKdg1E0ImygsVS5p9Z6NpihKawTGPS6CwMj9bu7nxQwV9ZnFGL7pc9XATA NVE0vVNfnJfdSA45zdNf8015qLGNA8+t3o/WLmWxuG4VU6uNURXHyXEHUxpijobRLWiH+Y eCJNLIODSTLPk6e+psLmxX4D3px5fIQZRYK76/dLCiuqyUGtagCjTZksnh5cxw== 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 4Tqgqz5C5dz11n1 for ; Wed, 6 Mar 2024 18:26:39 +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 426IQdoT024190 for ; Wed, 6 Mar 2024 18:26:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 426IQdgv024189 for fs@FreeBSD.org; Wed, 6 Mar 2024 18:26:39 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: Wed, 06 Mar 2024 18:26:39 +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: marklmi26-fbsd@yahoo.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 #74 from Mark Millard --- (In reply to Anton Saietskii from comment #73) Thanks for the description of what the hang is like. Since to does finish, it might be a form of livelock since it is not an overall deadlock (progress was made). Sounds like things suspend that vm.swap_enabled=3D0 and vm.swap_idle_enabled=3D0 would not change anything for. So my note is probably not of much use for the context. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Mar 6 18:35:38 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 4Tqh2M1Wj9z5D4sl for ; Wed, 6 Mar 2024 18:35:39 +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 4Tqh2M0QTpz41Vc for ; Wed, 6 Mar 2024 18:35:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709750139; a=rsa-sha256; cv=none; b=dQswmJGYwUIiMVmreF0A123c7wct9TVdIih6SyKJe+WnVbDoRpUeDLJXPVnCrB2P983Zut bJYTvK4n6allYTbmAqWTp6BwwIUia+YH27cMmM9txE8icpnWLiQu65qwAaQK2Qh2sTn/cM vF51ZBkgqKs30z0EpLZPN4KNVgQg72lAgiCNekXOCCYRfCmeVs1YzIrD9+l5v5fU0fKXqm uJ2z6gL98lltspddvykWZnittqElFWJ3/06c+Ndie/uLWSGWr/TeYwFZO7be4VB2O9xv94 kmSrup/ThxUw0hInf5EYJ1yAFPjWudlHAC4/xrVU2+/lmwOdyPGNS4iRtS6tXw== 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=1709750139; 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=DemPCdsg1ODCR+mN1hPM7chKvfnASla+zW061dk3IqI=; b=WzYWwEOQcRmM3A/P2gjFgJz7LY+5u72KDf/5mIoB2ChtbjQmPMO8fpfcUHGLONqP8Iqmah bLZ/dIRikUkBODmKgSNRUIMcTAigPDLylHkwGFW4sl6RvHHz39JKhiA+GfBjpuvAP0Mul6 ZTig0WZ8y46tu4BAsaihttzPsCW9TeIEOn3+iX102W8xKjYzMxGp9XW0tznYqa9rCt6Sp7 9dAuQHrAtQylsFx3X4LUt47tFS/STACPDtq8GaRMJE3nRrUkaAIuRZB6SECZPu2DHOgWGv ToUoHSpdS2OFKRzj566eB8074RvCzfn9j0d8mnDjfxLqnZw9rw5eNugd85YW7Q== 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 4Tqh2M01wPz11r8 for ; Wed, 6 Mar 2024 18:35:39 +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 426IZcq7068655 for ; Wed, 6 Mar 2024 18:35:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 426IZc7F068654 for fs@FreeBSD.org; Wed, 6 Mar 2024 18:35:38 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: Wed, 06 Mar 2024 18:35:38 +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 #75 from Anton Saietskii --- (In reply to Mark Millard from comment #74) Yes, luckily it's comes back to normal. Before I discovered this PR, plan was trying to limit ARC size so instead of 2-3G free memory, I'll have like ~12G (actually this plan isn't cancelled). I also consider pulling patches from your tree, but didn't dig into reposit= ory deep enough yet (need to find right branch, what patches exactly to apply, etc.) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Mar 6 19:18:57 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 4Tqj0P38R2z5D845 for ; Wed, 6 Mar 2024 19:19:01 +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 4Tqj0P28pJz45VP for ; Wed, 6 Mar 2024 19:19:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709752741; a=rsa-sha256; cv=none; b=fpY6wAi/2uvPeVeOokeS2QMoh4dW8cKZd/o7mL1hcTDivkHNqBKVjhggm89grk2YbUh5Jt PW+E1GSBgrtsU8r+Se0O9+mvEw+OaHnzkfzRbh/L1WF3BUIUvY6Ms/ztD/wTRTspsUUHpN cnC9Ww2vvH59nYgRnPCDtxdwWRWOeHQhYkP2h/sbCJyEWaOOioGecNGXJN+gcwlg2gtd5J 9rzt3iXmTh82af7o7bYSd6qRpiMDgWzeWEpD/zj8BA8MQ1uU/Cf5djPNgNMgnJt2sHhmo9 pjwrLOoJ6ai5XDusiprpA4Z63tqIjse+9tfEEQzN0FSJBQACGdg/S0aV9kWtww== 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=1709752741; 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=q3R6ltGnbTt6c6b6fh6CYSALx2M87G49I8Nu0CNa/cQ=; b=xE2HEg2d8ZZ6OWgx9QAXdwdOPtThfWbup5c880QfD4faf9mhVMtkQkz8P1e4x2mltj+4s8 05TcSOVoO7xK2m2qh52k7IfNxrtKpIcQHWLPvAIm6vjXEIChiS3h3flFpV5KODFhyqzo7q mtpBH4iOjGv4aInaSFDbRQExJj4OLi1iZbryKoH6j6q9V4j7zD+xHTF5Wmr+AIPXQNI0aE udAZrTB5ilo+7+i91CSH1GuZm9HNRW9viH2w+jLaGaAsqEBVTCfNsuqxwUxoc0liRLFdfy XD9kF/pSJaHr5QtogkQDjlBE8bY4ZCMaK4UgUkYjIMf8LJU3Of/wrSroGu0VcQ== 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 4Tqj0P1nHBz12Yj for ; Wed, 6 Mar 2024 19:19:01 +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 426JJ1Bw081094 for ; Wed, 6 Mar 2024 19:19:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 426JJ1RK081089 for fs@FreeBSD.org; Wed, 6 Mar 2024 19:19:01 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: Wed, 06 Mar 2024 19:18:57 +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: mike@sentex.net 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 #76 from mike@sentex.net --- (In reply to Seigo Tanimura from comment #70) Hi, thank you for all your work on this. If I wanted to try this locally on a RELENG_14 box, what is the best way to patch a system ? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Mar 7 05:19:26 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 4TqyKD19p2z5CkMs for ; Thu, 7 Mar 2024 05:19:28 +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 4TqyKC5xcXz4559 for ; Thu, 7 Mar 2024 05:19:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709788767; a=rsa-sha256; cv=none; b=P8AhiPMpx2SrH6e9EqJwyur+0lhGpox7TNJtUMn4Rjot9aWb2GC9j2aS4cW7DSEx1nzUC/ CHrRlfudGJVSCPtu1abzaAwUwuZ/8TCeEhZHAt4U2bsCEbOV3GMWRguCuKnVKTRe7hxE1/ xMt1qLeJc4AhzSnY2wmIkanupUlE9AQICHKdS3yNsb4BFCp2o+dkR00gAAgKFMzi+DVJmJ TS5QQd2x88rEL2Sg9xjpfw/VVFkKB50aQRbuz2TYoN8gGxt29Qqm8dAAVH1dlgpSdAeGcl /UXU2JWquLHQLNMLNbtkhat5iG8pXZ6Ou1Tpvijq/SRoLUfdEg+ckAfpxKLFSQ== 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=1709788767; 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=WTtzbV0WFyC2U4BgttQFZ17RPl3HO1wDlVFB5mTRbGc=; b=A8m4sShJMpfvE10RPpapb57F709vP0Ep1L1N9R4ineJ7c3wxO1q+Z4fcsQL0YLgX8FeonW RU06xJL4O1JLAskHxUN64RLbYXJG9pCSxtyRpbi2TzmP5aexNg4R4UL72ZRsmuKZrZCijq 8eb376c7M6NNxDt0e1rW8ugHB5+FXPuS5WIctSlm/0c7GlONqLtznlZbt80tOgnWQwt8ta T29VNw3bvq9XPASPIq9TH0aymDOXSOE9h1kdhHXYJXHJBp+h5TlLQCcXF+EAgxztgR7A/Q SiElQZ5omLlO0xyr8zKdaKe0ZWpKfAsjFhvi5i0zcQi0IMgBYrrdeHSvHWS7LA== 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 4TqyKC5Y7wzLwR for ; Thu, 7 Mar 2024 05:19:27 +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 4275JRK4075140 for ; Thu, 7 Mar 2024 05:19:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4275JRZE075139 for fs@FreeBSD.org; Thu, 7 Mar 2024 05:19:27 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: Thu, 07 Mar 2024 05:19:26 +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: pmc@citylink.dinoex.sub.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 #77 from Peter Much --- (In reply to mike from comment #76) That might depend on your general handling of emergency-fixes. I for my part cloned the repo from Seigo Tanimura, found the five most recent commits on = the appropriate branch, extracted them with git format-patch, and patched these onto my source tree. Then build new kernel and things were fine, problems solved. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Mar 7 07:32:15 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 4Tr1GS33bwz5Cwpp for ; Thu, 7 Mar 2024 07:32:16 +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 4Tr1GS214Bz4JJv for ; Thu, 7 Mar 2024 07:32:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709796736; a=rsa-sha256; cv=none; b=Yw8M6SAThEWrXDHmSCjCoocXg3xFP3hC1xmhmUO+BqA7UqtwS+c27/0/AlcuQoJdHnTYXZ O7R/3T7m2zAzmfDXrCGF3yqKfdAtWhkF4Vu1Y8KI5wp3TQkbIUiXGnv3+VCYqep4vVsgnW puxdojIQ2lsQ4qYnbaE0nHA6COhoHG5KwnzLhwgeV3pEsnW5OuS359m5MnXkPpvkQ0zWSa wcJ1Xhu9FKIRa28SBVB3H1Tin5ATlHtzjfrnSzXBRasoLpzh4FSWL+i3sOlVeJ4FYd1Iyv pe0D8NI9DXntrpnMke3Crn0YjLm7XWaAHLiYF303LygXBuaPCk74isteX7eRkg== 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=1709796736; 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=IKOxtl39fUFuhER9rlgn26nVv2Q+nEX8QhSLOTN3w7M=; b=u7BpYfshhGCo3uyt90qtXwYkqeu6VUvTxB0KMeZp4EhuSvGVYli6rBKo4dis5Gl0AJ47dq E9N3fsXWltALT0daFepBi7R6X+lHaTAa+fwuCZ1MKhtJR6J4Cd7Hi1sPUPIe9aHxqdleGN BMx1iccrnlonFx/CNSOIvBBElkOfUyDWPDu9G60JLforaNJhvOTxr5vKr+A/sRMdZNtqAy dSA147G3DHsa1QnyAoxSwdwP5Gzj13h+ZrAspYldPx4ZiIKNkOV+wvC67Xhs33EZVZkvTK 52EBPz7yZRsBWFgU91hdgwcMhDSyU3o01muPV56XFfzb7QdkAzgA1zEEkvVthw== 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 4Tr1GS1cj4zQ4D for ; Thu, 7 Mar 2024 07:32:16 +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 4277WGhA064557 for ; Thu, 7 Mar 2024 07:32:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4277WG4m064548 for fs@FreeBSD.org; Thu, 7 Mar 2024 07:32:16 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: Thu, 07 Mar 2024 07:32:15 +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 #78 from Seigo Tanimura --- (In reply to mike from comment #76) I checked the sample steps with git, just when I had to leave my place. Wi= ll share the steps in a few more hours when I come home. (Comment #77: Peter, thanks!) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Mar 7 09:45:09 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 4Tr4Cq06h8z5D7pF for ; Thu, 7 Mar 2024 09:45:11 +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 4Tr4Cp6BQnz4TDJ for ; Thu, 7 Mar 2024 09:45:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709804710; a=rsa-sha256; cv=none; b=lphq8VWEaTrJdeh4gIK4p3fKgQGreBEjsv3f1K+dTPoiRydhCEvDh5KXsNBwzymIB5QWde I9wL+30hGHcvCQKjPE6YpxDu+WrRK3OnbTJV8eRBFr1gTidtyU7MGRH1PAlcvDpcBkWoDx /GoVyxxxdQfZHDfnHC4NPgGygQQ+7yhctY5a5rZGzsFZYAd6ZhnAjsPdAR0evW+cvof+6L Dxv+LkeP6GgIf/mhjaDpwHyfOoHQWRwGIScGZfrC6+MVmDI0vTy0E8JoF9v3OUmTsYZin+ bEvwNDeIivS4MtqpWDdo8iVwsPTvsx8bWTasT+EjKsBiG3bIB/LmPRjyEEvy9g== 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=1709804710; 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=FqddHOhrlyypwvKWuDBicGUf4BAOU/9uToQTR6MCix0=; b=bVXtryXA9B0dVboQbtnJvbjr0TXAG0ed0uz7ybca/Qt4DQyXxfwT3E9w1qCVVmjiRndIri YiHZfziljH+YA3Az6mGkbpOPFImD5JK1vavJO7W3qD363me8wMUkKqNXhUw1PxBYTUAoEa C9Fx+pNrbhSN1pMtQ38cGDlzGsDxLcAyiE/+k+Pp2XCzQvsGAIz/Mlr8iRUP13W7yGkzZR g+Fjei/qmeRcOTWL69CqqzjlgoWmaCFzIl01NcKGqo8MQe6JG0ZTXk79Yz2QAu+W2dLHxr 2zRNKGvJ28lKr9RSZV23p8Ey2zrWTvFAyt2OC4Dy9UZwA6LZ01ow6VKXNL06ow== 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 4Tr4Cp5pmTzTf5 for ; Thu, 7 Mar 2024 09:45:10 +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 4279jAVr043253 for ; Thu, 7 Mar 2024 09:45:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4279jAbI043242 for fs@FreeBSD.org; Thu, 7 Mar 2024 09:45:10 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 276341] zfs panic: VERIFY3(rc->rc_count == number) failed Date: Thu, 07 Mar 2024 09:45:09 +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: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rodrigo@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: cc attachments.created 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=3D276341 Rodrigo Osorio changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rodrigo@FreeBSD.org --- Comment #17 from Rodrigo Osorio --- Created attachment 248997 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D248997&action= =3Dedit Screen capture of the panic First time I see this one on 15.0-CURRENT FreeBSD 15.0-CURRENT main-n268520-5e248c23d995 GENERIC amd64. I just took a picture of the scree= n. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Mar 7 15:59:57 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 4TrDXJ2cf9z5DGkn for ; Thu, 7 Mar 2024 16:00:00 +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 4TrDXJ1ZxNz49Tq for ; Thu, 7 Mar 2024 16:00:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709827200; a=rsa-sha256; cv=none; b=nyQkTgPhp5FM97ZdZ8ol+GNKER4nMoCDGUeEcNboQRKsw16wohGE1ciHhiO2T2YMzKx9R0 oyGyIxIJhP16dqAjZMk9hh5NRxt5jtvqCbPNTVIDmj2aGZeilxxihn9gYrf4ZoNYgsCDfO mkPRWtFZruOa9Uppw8Ukd/XhZurL7g52r6D8Yuj8lIjjdCpy3cKZXxqUMOJDQ1EW2FwyKj JblMDAXDo2pWo6siT2b1GgQUrC559VG+bCf4SNpeoqHlRM6/znt1P08koJKvvFA1Qur2dj N20AA8dKo34imkq3jzaYAqEirhBc+6BBMVsToTfw3r7QI8t9PCA2x5LULFDhew== 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=1709827200; 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=RRsyGAmQhPcPTxtKsrtqQhdS2vuHpYstErsgp0m5UQE=; b=LKWGuJSb4ZNtzBRAmZIPo1kFF8mfyp06Kq6vZ0z27184BpBT4zcV+ywxIuXw7AyYUaSRgV U4czEvs6BlrQmxaUyy8vUZKny50N+KMVQ7tkueaOmdOw/GDx3dTzmZa0C5zpna8+HeQz3Z CJ4J/z1TfqNG0MnHuAc7hBZo9UJ/BkAluEbsVONDtO1qMnz89Ew19eqeT6Xs98ciBD4/Uw v4H7+PAxXXd8e+i98SglacrEzLKWsfGNxtsETFHNmiW4/qUWlN6nHLfkSNVNZyAp9uP4Me B6vYECNkf4F5gHK9hzpwqgG0qHeTsYTI8x9AXBO77SxTLi9H4H9pGM860tEo8w== 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 4TrDXJ181Tzh8h for ; Thu, 7 Mar 2024 16:00:00 +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 427G00Ea052229 for ; Thu, 7 Mar 2024 16:00:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 427G00Ep051773 for fs@FreeBSD.org; Thu, 7 Mar 2024 16:00:00 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: Thu, 07 Mar 2024 15:59:57 +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 #79 from Seigo Tanimura --- (In reply to mike from comment #76) Until my fix gets merged to the official source, you can keep the fix as a = git branch in your local repository and build the kernel out of it. The example steps to keeping the fix along with the official source: - Local fix branch releng/14.0-topic-openzfs-arc_prune-regulation-fix-local - Official FreeBSD branch releng/14.0 - Remote name of my fix repository a130ft A) Clone the git repository and create the fix branch. Take these steps to set up the git repository. Perform them only once. 1. Clone the FreeBSD source repository. The following steps clone the FreeBSD source repository into ~/freebsd-zfs-fix-localtracking.freebsd-src. gitrepo@silver:~ % mkdir ~/freebsd-zfs-fix-localtracking gitrepo@silver:~ % pushd ~/freebsd-zfs-fix-localtracking ~/freebsd-zfs-fix-localtracking ~ gitrepo@silver:~/freebsd-zfs-fix-localtracking % git clone https://github.com/freebsd/freebsd-src.git Cloning into 'freebsd-src'... (snip) Updating files: 100% (99431/99431), done. gitrepo@silver:~/freebsd-zfs-fix-localtracking % cd freebsd-src gitrepo@silver:~/freebsd-zfs-fix-localtracking/freebsd-src %=20 2. Add the remote repository of my fix and create the local fix branch. The following steps add my fix repository as a remote repository and make t= he local fix branch. Also, the local branch tracking the official FreeBSD bra= nch is created to make the tracking easy. gitrepo@silver:~/freebsd-zfs-fix-localtracking/freebsd-src % git remote add a130ft https://github.com/altimeter-130ft/freebsd-freebsd-src.git gitrepo@silver:~/freebsd-zfs-fix-localtracking/freebsd-src % git fetch a130= ft (snip) >From https://github.com/altimeter-130ft/freebsd-freebsd-src (snip) * [new branch]=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 releng/14.0-topic-openzfs-arc_prune-regulation-fix = -> a130ft/releng/14.0-topic-openzfs-arc_prune-regulation-fix (snip) gitrepo@silver:~/freebsd-zfs-fix-localtracking/freebsd-src % git branch releng/14.0 origin/releng/14.0 branch 'releng/14.0' set up to track 'origin/releng/14.0'. gitrepo@silver:~/freebsd-zfs-fix-localtracking/freebsd-src % git branch releng/14.0-topic-openzfs-arc_prune-regulation-fix-local a130ft/releng/14.0-topic-openzfs-arc_prune-regulation-fix branch 'releng/14.0-topic-openzfs-arc_prune-regulation-fix-local' set up to track 'a130ft/releng/14.0-topic-openzfs-arc_prune-regulation-fix'. gitrepo@silver:~/freebsd-zfs-fix-localtracking/freebsd-src %=20 B) Maintain the fix branch. Perform these steps to update your local fix branch to the official FreeBSD branch after pulling it from the upstream. 3. Rebase the fix branch onto the official FreeBSD branch you want to track. gitrepo@silver:~/freebsd-zfs-fix-localtracking/freebsd-src % git pull releng/14.0 (snip) gitrepo@silver:~/freebsd-zfs-fix-localtracking/freebsd-src % git switch releng/14.0-topic-openzfs-arc_prune-regulation-fix-local Updating files: 100% (13175/13175), done. Switched to branch 'releng/14.0-topic-openzfs-arc_prune-regulation-fix-loca= l' Your branch is up to date with 'a130ft/releng/14.0-topic-openzfs-arc_prune-regulation-fix'. gitrepo@silver:~/freebsd-zfs-fix-localtracking/freebsd-src % git log (Count and check the fix commits.) gitrepo@silver:~/freebsd-zfs-fix-localtracking/freebsd-src % git rebase -i --onto releng/14.0 releng/14.0-topic-openzfs-arc_prune-regulation-fix-local= ~3 releng/14.0-topic-openzfs-arc_prune-regulation-fix-local (Check the rebased commits.) (Resolve the conflicts as required.) gitrepo@silver:~/freebsd-zfs-fix-localtracking/freebsd-src % --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Mar 7 16:02:23 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 4TrDb364pDz5DH93 for ; Thu, 7 Mar 2024 16:02:23 +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 4TrDb354vzz4BNf for ; Thu, 7 Mar 2024 16:02:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709827343; a=rsa-sha256; cv=none; b=vvL4K8rM57Q3Vws+/9FCm3rYuUUiwSG9+N2QHblCpkP10dyjqi9BnYH7wReRRgFfURkPfV dTGcbCqHV36C1EkN8uXsL0H+OfyJ26LDkLTUioR0pYdVhlAH9fNeEAj++X222nBSV0md0i HQAJ7vM1Ru5eX7+GaXla2OFHH9y6GpNzR912xKYK0Tzibgo4FnbsfLbZNgStiYOhK2FJ5F KB/KxKhmOJMwYpW68fLA2uXP3LZf3+LhZXjiYOPxFgtpwhOA2X05pIAkplC6tZpqW6bJvL bRH6CRtepOYvG3/WEUx1eXxbEXsbWkyCmnwUJinOX0Da2pLZdXEDzFO32r5t+w== 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=1709827343; 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=x6RzZuwN1k3B7b61kaYHfzhzhKR/lCPfHdCCiyved64=; b=jbhrUcwhO4V2IX5oyKVMql2OfKWpcYT6Ud0jnne8qGSBEYXofCNtlJygSRbkwUS9GHZ+kt LwOlKmc3fx0lCwUC55Hztp8QJACWEj3VGkyIua5TT5PCkF62xnS4g5kp1x6anv0lDfEwxz 4QyJ9D6JSOIpwtq7ySW/8kRT3py9NXBcLgnzyY6+0ggw5JPkd+0jXAS54w5WFqIUPJpwtV Y699cOPmfFrHrvDTOdDTKeZ2u0CatuPnTO72XOMuOm2bSXOo/AxjRFV05ti1DHK9z1xCRh R790DduWouHZXfq1oyCOrm4Zrh2R6pqPch8n8okeXfvSiZbkJN+0lPFU6nZCZQ== 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 4TrDb34jNHzhP8 for ; Thu, 7 Mar 2024 16:02:23 +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 427G2NAa075394 for ; Thu, 7 Mar 2024 16:02:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 427G2N4g075393 for fs@FreeBSD.org; Thu, 7 Mar 2024 16:02:23 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: Thu, 07 Mar 2024 16:02:23 +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: mike@sentex.net 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 #80 from mike@sentex.net --- (In reply to Seigo Tanimura from comment #79) Thank you for the detailed steps! --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Mar 7 18:54:24 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 4TrJPX3bkCz5Dc4H for ; Thu, 7 Mar 2024 18:54:24 +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 4TrJPX2Y8Yz4WT5 for ; Thu, 7 Mar 2024 18:54:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709837664; a=rsa-sha256; cv=none; b=scPnlXnjhe6m9yAmtubFAOZw+CGaSxEHFw1tW3HKh0Gi6uMlomXr8vFJHpfYXZp/sHLzYl 0xc2faY1huxkNLPU7Qzb3p3IGZiw6DCVlMtna6V0JcR4Yj6fUIlyQLadH857QaxX2xiIGQ +P0Eoftp/jNdhoEUktHyNUm+bsS/iQsaXIWhO50e6u7Qu1mXSd2T5Aw5Bn0ST52YRtzmEu Ex4HaOWABSZx82azIUQP+G6kxmjB3Qu+LlRHIYhwJIu0ipcWJyEygXYtI7QS3cA9AP50T+ w6n3JAMqacqxf2vkDUmUuFQiFHpOW3mAwge6qv3pBMVzZ/sS1sqfTDZ5ZFJmUw== 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=1709837664; 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=DYy37x1Q+qEHRQCJOwqVMxDoADYQ5BGyVDQvWTRb3tE=; b=u92ApCWGFtEjRMUIBeguzqgc32erUaEplF5avd9wLbNyUnke6yLRxPbTys6f9ZJVpLZESj +RJZUz8lkwV1wfziWFPmOHWMbzhC2eMa0h50vZv8AbnLOPtnBa0JllzbfEEh8SLU/3KKKr tdq6tVR8+J1bHmtuot96LAAQLxsWS+Ab09QqtW3+sTK8mEp13pu1Nj7ToFb4bt53TElB/D RLW1c9pavcsCZSxqqDhrrStpPR8gsp/hWNgVpxSU1SVb1fBuJmmjvJLGmIdu13JPT2+XU6 9XL0lDnWRIWwNOcihKXLhiPrVdt6pyjS2Fs7ebUzKXdJ9wp0/kQrEU2GW8rZZw== 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 4TrJPX26DRzmgb for ; Thu, 7 Mar 2024 18:54:24 +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 427IsOuS053621 for ; Thu, 7 Mar 2024 18:54:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 427IsOmo053619 for fs@FreeBSD.org; Thu, 7 Mar 2024 18:54:24 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: Thu, 07 Mar 2024 18:54:24 +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 #81 from Anton Saietskii --- (In reply to Anton Saietskii from comment #73) After applying patches onto releng/13.3 (without any sysctl tuning) works l= ike a charm so far! I can't even see neither arc_prune nor vnlru in top now, on= ly a bit a pagedaemon (which eventually may eat up to 100%, but not for long and without stalling system), snip follows: last pid: 77896; load averages: 2.34, 4.42, 4.76; battery: 100%=20=20= =20=20=20=20=20=20=20=20=20=20 up 0+02:36:12 19:29:16 1089 threads: 10 running, 1049 sleeping, 30 waiting CPU 0: 4.7% user, 0.0% nice, 14.1% system, 0.0% interrupt, 81.2% idle CPU 1: 6.3% user, 0.0% nice, 20.9% system, 0.0% interrupt, 72.8% idle CPU 2: 19.9% user, 0.0% nice, 17.3% system, 0.0% interrupt, 62.8% idle CPU 3: 12.8% user, 0.0% nice, 9.7% system, 0.0% interrupt, 77.4% idle CPU 4: 23.6% user, 0.0% nice, 14.7% system, 0.0% interrupt, 61.8% idle CPU 5: 18.8% user, 0.0% nice, 11.5% system, 0.0% interrupt, 69.6% idle CPU 6: 13.1% user, 0.0% nice, 12.6% system, 1.0% interrupt, 73.3% idle CPU 7: 10.6% user, 0.0% nice, 18.0% system, 0.5% interrupt, 70.9% idle Mem: 101M Active, 998M Inact, 1600M Laundry, 58G Wired, 524K Buf, 1651M Free ARC: 55G Total, 29G MFU, 25G MRU, 83M Anon, 225M Header, 617M Other 52G Compressed, 53G Uncompressed, 1.02:1 Ratio Swap: 8192M Total, 8192M Free PID JID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 77368 5 pbuild 100 0 106M 73M CPU6 6 0:25 99.87% /usr/bin/tar -xf /portdistfiles//firefox-123.0.1.source.tar.xz --no-same-ow= ner --no-same-permissions (bs 472 0 root 52 -20 375M 205M vmidle 2 87:38 59.19% bh= yve: wifibox (bhyve){vcpu 0} 1677 0 transmissi 52 0 488M 286M kqread 1 67:36 51.56% /usr/local/bin/transmission-daemon -g /usr/local/etc/transmission/ -e /var/log/transmission.log -x /var/ 472 0 root 20 -20 375M 205M uwait 5 7:44 5.01% bh= yve: wifibox (bhyve){e82545-5:0 tx} 7 0 root -16 - 0B 48K psleep 6 2:16 4.77% [pagedaemon{dom0}] 472 0 root 20 -20 375M 205M kqread 4 6:48 4.15% bh= yve: wifibox (bhyve){mevent} 12 0 root -88 - 0B 480K WAIT 6 1:40 0.68% [intr{irq128: ahci0}] 0 0 root -16 - 0B 11M - 4 0:02 0.54% [kernel{z_rd_int_1_2}] 0 0 root -16 - 0B 11M - 7 0:15 0.47% [kernel{z_rd_int_0_1}] 69 0 root 20 - 0B 16K geli:w 7 0:32 0.40% [g_eli[7] diskid/DIS] And a shorter snip during actual Fx build: Mem: 5844M Active, 1941M Inact, 2457M Laundry, 50G Wired, 524K Buf, 1666M F= ree ARC: 47G Total, 27G MFU, 19G MRU, 67M Anon, 192M Header, 581M Other 44G Compressed, 45G Uncompressed, 1.02:1 Ratio Swap: 8192M Total, 62M Used, 8130M Free PID JID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 10614 5 pbuild 103 0 3632M 2803M CPU3 3 0:28 99.94% /usr/local/bin/rustc --crate-name style --edition=3D2018 servo/components/style/lib.rs --error-format=3Djson 472 0 root 52 -20 375M 205M vmidle 5 98:39 54.51% bh= yve: wifibox (bhyve){vcpu 0} 1677 0 transmissi 48 0 488M 283M kqread 2 74:52 30.67% /usr/local/bin/transmission-daemon -g /usr/local/etc/transmission/ -e /var/log/transmission.log -x /var/ 472 0 root 20 -20 375M 205M RUN 0 8:42 5.37% bh= yve: wifibox (bhyve){e82545-5:0 tx} 472 0 root 20 -20 375M 205M kqread 6 7:35 4.02% bh= yve: wifibox (bhyve){mevent} A bit of swap being used, but again: works like a charm, no stalls at all. Seigo, thanks a lot for you effort, I do greatly appreciate it! --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Mar 8 04:17:44 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 4TrXvb04Z5z5CmS9 for ; Fri, 8 Mar 2024 04:17:47 +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 4TrXvZ6BbLz4WWx for ; Fri, 8 Mar 2024 04:17:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709871466; a=rsa-sha256; cv=none; b=QWcrIziMp0XMzAF1oEqjLt16TuV0oPRZ+vkJnzpiquhMqJhDGC1zjiD5zRGuoRaDvBeA1l ymaJsw28HzxpqpwDsbqGX6l8cOu+GYXDDV9junvKQ0Py0CJ+2jONE2ZU3GSW/zPEuZbduo Sia2hQg2plxfPoQxMgJo7muHJ1a+6/1oMqgtAEibKKhQQk1VpswlzsInKne5cfzv8sbiLw D2DKNAI9IX3+jsLCJkD5uYtC2MGbunbYpFswWgMW1m8II/B6/3C0T6ZBjBpASfEaHRmE3D EiQ6qMM2i/uGi3uzde6g+j29shcP1LvnllxBVrnqqtb1PS8FWGj9c3JGbqM/Zw== 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=1709871466; 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=VL67tAbLJ8eicwxc8tsMmC5N/sX5lh/k9U1QuTdMkG0=; b=sL5xCYcqygYtZFQjh5tMzECY02UM1lUjv0iYTpqo0UI+us8MChFzgiWKaWrs2O7hnLMeaF 0QnACHmJr9BcvEhEP2cK9CEZcw4hajc2c7iPfkekeK1AriAnXSF50qsUkvQ1Ims9ZyAqtt nweSokHXAHgjhiH/9veR4nedHPep1tKsNPNM38fKGb31lUiE8QQcm/897A3hZ2xkiLOjU/ +KDCdP/Vwwkrh+iL1+dAF2x6u/ZOQxeeNx/zoLAWp8JP/Vvqdu0atlOacTuxMC+OP4nG2/ U8ab43U82LcMwKu2ttrE/pLm14xAifG1yq/l9KQtpaHmM0XDb0QXIPTxyEoXwg== 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 4TrXvZ5pY4z12hr for ; Fri, 8 Mar 2024 04:17: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 4284HkIh051108 for ; Fri, 8 Mar 2024 04:17:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4284HkPG051107 for fs@FreeBSD.org; Fri, 8 Mar 2024 04:17: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: Fri, 08 Mar 2024 04:17:44 +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 #82 from Seigo Tanimura --- (In reply to Seigo Tanimura from comment #79) > B) Maintain the fix branch. > 3. Rebase the fix branch onto the official FreeBSD branch you want to tra= ck. > gitrepo@silver:~/freebsd-zfs-fix-localtracking/freebsd-src % git pull rel= eng/14.0 This should be "git pull origin releng/14.0". As this repogitory has multiple remote upstreams, it is better to specify b= oth the remote and branch explicitely. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Mar 8 17:56:25 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 4Trv4C4Ss2z5DXxp for ; Fri, 8 Mar 2024 17:56:27 +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 4Trv4C3BvXz4vSK for ; Fri, 8 Mar 2024 17:56:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709920587; a=rsa-sha256; cv=none; b=wrpCTNiFH0wEDd0S4uthuYPcLnElAXHKQ1pp1MsCI7PbAcLq2IA0Iv97xATIPg0mNgb2nJ l1g6Yd51/id7kKuofnAyVSiDTA1Od5/DfnNyJlf0bVzVe9ZSpAbjZpfBuEpLQZvBjV7bLp dCwViEWjiSWzYjjYa3IYVtJntGHRSQqa7NyFn/CH5bb3Vre8yQuUOhs77zN2DGCuI7Nryc fXNoz+rcTYj5UWIit6Vw9MUczdFSf1AoqiXQqindXO8frfydVTtpNBrLRuuqzqoQmR2MSz XBpnxdNfnEcRQVfWpuQZESoJyp2t47c8mCSmxECTzEb2lyKn2xSxqknF/h2tYw== 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=1709920587; 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=HAaaDBlLog8B5dulqTUds4+Zmuk8ksOx6/Qd8dNkWxI=; b=yIHYie6ZUn4QK7bAdP5XNy/MXgCv8seUPu+ngfUwoiiJK5oQ1Gq0TZ1O73vIbHbWKZV5Xo xpmx5aLzrQWSuOhQKyhSqs/Q+y/ldnPkVMVMPbYiiEP1T1U66jrWxLlo6j12TcvK3HNPVl KoMaMta1FXXJ7ShO2yxoxSMTEJTQNjnYVRvCHYZBsQB1XwL/3MQsDcUaAaOX1ry18AqCaP qMJMR44QqxRZ2CT6j+1O8aeu/G7vRO7SDrEODvgwtxAjK2DyVNvLMKSX4CMswq0dKedIrd UNS8PHmTnikYk4CQQm3YJfImNFhgSm8lwvIRWbprrJsv08Grb9mPletsHeyz+Q== 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 4Trv4C2qGHzSbM for ; Fri, 8 Mar 2024 17:56:27 +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 428HuRbO040062 for ; Fri, 8 Mar 2024 17:56:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 428HuR0R040061 for fs@FreeBSD.org; Fri, 8 Mar 2024 17:56:27 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, 08 Mar 2024 17:56:25 +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 #83 from Seigo Tanimura --- (In reply to Seigo Tanimura from comment #70) Again, thanks to everyone who has joined testing and reviewing my fix! * Fix Status The nullfs fix has been committed to main by 7 Mar 2024. (c849eb8f19) Please set sysctl OID vfs.nullfs.cache_nodes to false (0) to enable the fix. * GitHub Sources All branches have been rebased by 08 Mar 2024, mainly to catch up to 13.3-RELEASE. The nullfs fix has been removed from the main fix branch. 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 | 32c7350beb | topic-openzfs-arc_prune-regulation-counters |=20 ------------+---------------------------------------------------------+----= ------------- stable/14 | stable/14-topic-openzfs-arc_prune-regulation-fix | 275aee513b | stable/14-topic-openzfs-arc_prune-regulation-counters |=20 ------------+---------------------------------------------------------+----= ------------- releng/14.0 | releng/14.0-topic-openzfs-arc_prune-regulation-fix | adfda3c395 | releng/14.0-topic-openzfs-arc_prune-regulation-counters |=20 ------------+---------------------------------------------------------+----= ------------- stable/13 | stable/13-topic-openzfs-arc_prune-regulation-fix | 8b84d2da9a | stable/13-topic-openzfs-arc_prune-regulation-counters |=20 ------------+---------------------------------------------------------+----= ------------- releng/13.3 | releng/13.3-topic-openzfs-arc_prune-regulation-fix | 80d2b634dd | releng/13.3-topic-openzfs-arc_prune-regulation-counters |=20 ------------+---------------------------------------------------------+----= ------------- releng/13.2 | releng/13.2-topic-openzfs-arc_prune-regulation-fix | a839681443 | 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=3D=3D main | N/A | b4808d64d6 | 8c966c0eab | (c849eb8f19) ------------+--------------------------+----------------+------------+-----= --------- stable/14 | N/A | af86ddef88 | cf8738a6f3 | 1f89f33465 ------------+--------------------------+----------------+------------+-----= --------- releng/14.0 | N/A | 4a8bea1f75 | c9d9803b73 | cd5243b6df ------------+--------------------------+----------------+------------+-----= --------- stable/13 | 7f19707bb4 | 968ce986e0 | 3787ca314b | 762a970264 ------------+--------------------------+----------------+------------+-----= --------- releng/13.3 | a33aedb344 | ff1452a099 | 092fcd8c9f | f4e31b6a5e ------------+--------------------------+----------------+------------+-----= --------- releng/13.2 | bb006c3aef | e9624c35e7 | f25524526d | 5ae2d6d83b | 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 | c8b0a042c4 ------------+------------------- stable/14 | cfc4bfdf5f ------------+------------------- releng/14.0 | b481bcb399 ------------+------------------- stable/13 | f312688408 ------------+------------------- releng/13.3 | d4fa366558 ------------+------------------- releng/13.2 | ef8a156c28 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Mar 8 18:39:46 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 4Trw2D22kbz5DcWn for ; Fri, 8 Mar 2024 18:39:48 +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 4Trw2D10gkz504M for ; Fri, 8 Mar 2024 18:39:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709923188; a=rsa-sha256; cv=none; b=Yq9ptlUjEWkm/5zIKH/m5t48St6FFe/XV76LGg2xAtHjX0ut7rqcoEu/EO3UqeMY54FAxD Fx7g2zfUdwFxscz1FevDixK1ivjgrBiKeuQLe+z3RjEl8/iB1xnfYjYwR7RjTgOs4RlhTo ISVXMhUWnDHal19+qpNxfRUBQH96ovVrSaaMhkAQIM/W1gT+J7eXtrltmFzYm6gK6SbPeL uJufCU12SeDZAoq4aVDXV+n6MuimItDN5kbuU4t+f7IpbRuws9AtZS7Eo9/W1UqU4Qq8mI +tCB/xsAipfoAV17zERd7COvjsVlGbUR638Fcn584bPhyLBc7C4phYeEK4wedQ== 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=1709923188; 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=bpO+vdaAz4ZhatFqHCao5ChuvhrTiU1xRI3ECDGMceA=; b=RgysSnWz8I5AHWgl+f6cczIdb1q2PLBY/RUk91dKWbA8IymPAoJfpOYgi54TU6tLIqd3iN 29IJzd2ezAd0xFENio1wBIjGgCQl/51+/mapKpC/rTrfBuXN/YHPNnjNiOapq7ezE8Qmrn +xOcL3BcSXsj6aktAgC3cDZjhgFjEmHL6XKRHFzfroE9wJJ9vcLOm2rS4twMsf81V742ch U6GBMEgoexWk4JoCA6gFthetwralqKt3uuqh6M6oj49pmUQQ6gEYhs1Ql64im1NDxl7L1I 2GMsp9TJ+i0mTBC+2W4zgXIGmWHcEze+CrG3iU0Y95OMVWBVPb9LFt4jkPCtog== 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 4Trw2D0b74zV7R for ; Fri, 8 Mar 2024 18:39:48 +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 428IdlsZ059887 for ; Fri, 8 Mar 2024 18:39:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 428IdlB9059886 for fs@FreeBSD.org; Fri, 8 Mar 2024 18:39:47 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, 08 Mar 2024 18:39: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: karl@denninger.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 karl@denninger.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |karl@denninger.net --- Comment #84 from karl@denninger.net --- (In reply to Seigo Tanimura from comment #83) Just to be clear, this is NOT yet merged into 13/STABLE itself (or what wil= l be 13.3-RELEASE) and needs to be done as a custom kernel? I checked the commit logs on a current -STABLE pull as of right now and do = not see those commit strings or anything clearly denoting this problem. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Mar 8 18:42:56 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 4Trw5r5C4xz5DcPg for ; Fri, 8 Mar 2024 18:42:56 +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 4Trw5r48Ddz50Yh for ; Fri, 8 Mar 2024 18:42:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709923376; a=rsa-sha256; cv=none; b=a88boGmrfA6R9JkRX2aRnZr83oUoWflr1vVZY9Oe7HeZedwpAdiBi0lWbqKpFn5K3pF10l D8kI/6BwH9OIC851GJOcwH9UQ3rYku4Cy553kz9JmxbSqvzGOQMXia6wG5aINKmHM7yhb3 BxtCu7Z0LMC2CFK2QzNXcpDhZfHb/0DASq89wpKIVzAgQC+1DjVONkSH8SpoiQ6EXGRAiA iGAI1WQUvEgt6FBq8EMGngLl2v6JfKfKOn3L619ryRfb1gWoySTRyqVEMeakRzSZlCkzOz Bg+VejjcN17fEdIKa8C4HMSIv9WZkYNrrBUH5JUrmL+wTzEMKp2bcPKYuj6+sQ== 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=1709923376; 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=l3eydzeF6ogB6b3+nZ95k3sRQH02MZrKiN+efD2gb5E=; b=BFeKEPad9rWBTuVlRixRuqZ/K57IMBPG4Xf1RA4Dm9H77YgzlLb6hxHcq9i9XZ1HuQiWZZ Knuq8eaDWS6m1oh6BG1wmUnkytjb84R96oR9qZncM9z1c0Az0mh2VZ3J0kMYd5dz6ncozP qC3F6/6DtDQIDbfQsAn61dIpIonSmt/s/t0a91Whuy3yRCy91c/bD3/DNfi1UHZYY+x2wz aGKuHME+TEAb9d1QlrkNF+ZlfB3EZ7aLU6z44XvWplvhVpzqs4IpsJos+AuRVV/DguOB8S MMcIqZulnaJsx1SYUS8ftPXpbd5b7ZOm11lz2g7RkEy+wgx9w+T2HfPSF5ml0A== 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 4Trw5r3jw0zVfj for ; Fri, 8 Mar 2024 18:42:56 +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 428Igueh087617 for ; Fri, 8 Mar 2024 18:42:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 428IguaB087614 for fs@FreeBSD.org; Fri, 8 Mar 2024 18:42:56 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, 08 Mar 2024 18:42:56 +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 #85 from Anton Saietskii --- (In reply to karl from comment #84) Karl, nice to meet you again =E2=80=94 I remember your investigation of som= ewhat related issue ~10 years ago. :-) Yes, patches are on author's GitHub currently. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Mar 8 18:44:39 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 4Trw7r4fjRz5Dctd for ; Fri, 8 Mar 2024 18:44:40 +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 4Trw7r1hD7z518w for ; Fri, 8 Mar 2024 18:44:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709923480; a=rsa-sha256; cv=none; b=Rt3W+Nvfa+Fd5RDV1MJSC69JHD3ce0/FSmaq/OFuhQrucCIWtLaA70Pr+KS7xL5mdq1m4/ wcozft4OxJQ0RRa7lqK3UBnNcXWMI2K6VAL7LgBCSTOhyrdzTA52T4gNooXL2Ymc+3GvlD A4MpPYUKxhM5Gthvgk1cjmM3yrJB+zL+iEsyDCUGn95TOLo8gyjXuUkmm0ruI7V569EfbO PvtwoNVxfz1wBIDc408inTi8AzmbAunqFqqTKbf/nvTfZllQT/SLy1yavFcpxz+aiakkst Ho7NB5Oy72qfY8YnodgxSgAUufcFzLTqY8ZktfdNYOywjbEna0OREZzA4cE8Ag== 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=1709923480; 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=71bEgXJtfxGTZVp6FZKQUuXpkKqwrP2iqh+KhubazVk=; b=wTaaAIHsXfYnvytglUpZFzE4IKQm7PpHzK2b0KQm2oZHRT8xAeucCHi50RgZ+eOpmiC/lQ 4AbufycOFWW5T+TUcJ4db2B3Qkm4n6uW3BmpWBjbTD+0MkEJpt/CxUGhFq6CVE5HpuCrYf +0XBtZaJ1M9Sa/G4apEzAVATmnIshGIA0Hf5CH/1KjF/KOHlI3nQ/MuCldV8+KFe3oE/PO zy6J1Bc/q4A/xJcfJSJHWND0f9rEqvUhs9wVCh5z0H80lP9OTG1paNiOyozeDj7mGuJYuU /1JcCaDL8T/uf+PDMYJkEAd7lwqbcBQvK86/4lPCa7CQlrOHQLZ6NQeOGEZ98Q== 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 4Trw7r1HyFzVWG for ; Fri, 8 Mar 2024 18:44:40 +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 428Iier4093458 for ; Fri, 8 Mar 2024 18:44:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 428Iiesw093457 for fs@FreeBSD.org; Fri, 8 Mar 2024 18:44:40 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, 08 Mar 2024 18:44:39 +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: karl@denninger.net 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 #86 from karl@denninger.net --- (In reply to Anton Saietskii from comment #85) Uh, yep..... which was never merged and ultimately became OBE :-) This one hasn't bit me..... yet. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Mar 8 21:56:58 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 4Ts0Pk6k7Tz5Dv6Z for ; Fri, 8 Mar 2024 21:56:58 +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 4Ts0Pk3vLGz45XQ for ; Fri, 8 Mar 2024 21:56:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709935018; a=rsa-sha256; cv=none; b=AjQ7pQu4572+IYvJek1kvxdp3wPrXFiAf90V6f6FJBnffCiDl8GZs265rbTeY61ERx5Wfw /Iv8PqQXS2OsbwxOzsllvBbaFR3R8ZC4b2xXJg1sXoJhs/cJ5ID4lTQ9h+r5x2Ln0wdJkB fRda11mH5xuVwTwHiDguuCSH7TjuFNxrzB6Ei4SBx1k+Vc4hxSePg0z6BxS1zI1vQ9tV6Y vSCyO906tkqTXeW7IjUnGJ0e51qXQb4UsvWsO67j2268ZPyWyLIA5gmR2HL1PWkbmEVap/ rr1wQkUEjq2ukk6lnV9pHtsDmReT5DeuQMSA65z6EX+rAP9p6KuI5WKliIMqaQ== 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=1709935018; 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=g5VGmNdWyuVZfKWYSK12id1yy4R2T7ImOY0orYYWDbc=; b=r96jJrrbikcFSwEhE70aKsggo2PanVLEx978+Fog28DXylhFbuhDLnlyBFoGGIx5z8gU0I WNIYLjFWFd2vJqA/SIAftzovNIluNUfdIvedSnRccG6rkvQJPuCsrJxFfGmTK+WgeJ9alf VbsElJUZRCXu2I9IQOYVlIEWI2u6Psm0WLGrpE2F4nSn+fHTu+maMQBHR8v1KQFmgrqkFT azrTlDdWrLAiNz8BoV6J/zzuGVtf/xotb4qZ3+jl/GLu/r3EF+sYYE5fsjZtLDtOpkB7nt H7mCjvjfI7jM9ac9MkS3F8Pnwb0s2OysLMi1Y8HrdOxw9KqmkK3OJKwAXUe90w== 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 4Ts0Pk3NmGzbdw for ; Fri, 8 Mar 2024 21:56:58 +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 428Luw8Q032658 for ; Fri, 8 Mar 2024 21:56:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 428Luw3d032657 for fs@FreeBSD.org; Fri, 8 Mar 2024 21:56:58 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 277389] Reproduceable low memory freeze on 14.0-RELEASE-p5 Date: Fri, 08 Mar 2024 21:56:58 +0000 X-Bugzilla-Reason: CC 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 Only Me X-Bugzilla-Who: vvd@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D277389 Vladimir Druzenko changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fs@FreeBSD.org --- Comment #7 from Vladimir Druzenko --- I don't have 14.0 yet. Added fs@ in CC. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Fri Mar 8 23:04:37 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 4Ts1vn5zPtz5CGyL for ; Fri, 8 Mar 2024 23:04:37 +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 4Ts1vn4vbhz4FqD for ; Fri, 8 Mar 2024 23:04:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709939077; a=rsa-sha256; cv=none; b=YrAxWNBG+W+/naibtHYrda6HfKDhl1kKD3Ar4lUvggy6BKXtDGe15kSYXjQYI9eF0y3yj1 ghPfpKk0PFrc75ZUPnIQejrQaVyBpsQs6IuqSh5SuEvS0CU0G0KGoPWyx3A9SBGFKcX+gu 1+3scTRNfo8Rbsf5KYQRW0TnZB3nlCpENSRw5EMuCh8aq2BWSEwvMqVWkDKkpy1e4XbOyv rqbW3kxrZPWYKevGTYr9GJt7cWXOGgxPNz4DCkcGJjKuIpor0OlwONeSM4Q32dKfPoUlCM coVinD1u69z189DMW11/8OpKwHXarB38C3mfVq2bwPrK9/QjqVi0WzwPaF3I4g== 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=1709939077; 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=Qs73wnymS1Q9pppbmBZWy7BRcAIRdB7cjy8+KLuqhDE=; b=uD/YhaIrwGuyOV19w4zaq/jLrI8jPcA+St7UuJZKdq0pheoNq8T0S64i7NMm2iT0jiIFa8 c973DiWQfB3i21erIossuwtAe38nXYec8dybK+WCBfONZvW652id6cdlVklkUE+7dv9IpY j73Z0k4DlcPJ2O7Bag3e7O/79JG7WFX3inbWZb8wL9IpRU2ENmYjIdlKVncDm6Z0S5A2pY dqdSjPP2uMAz6nfUkJikY8uoRdU37WDxEoWSJN+DDLdo4b3SY4G95Z3c8fZsfT25RwkYPu w6aCSoAPw2Txv8dXU3qF08gTEWmaIM76dT+F1GAzoxBF4YaU+sDpRjKLcPgsnw== 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 4Ts1vn4PKgzdKh for ; Fri, 8 Mar 2024 23:04:37 +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 428N4b2M086119 for ; Fri, 8 Mar 2024 23:04:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 428N4bGU086117 for fs@FreeBSD.org; Fri, 8 Mar 2024 23:04:37 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 264450] ufs: Partition recognized on 12.3 not recognized on CURRENT (2573e6ced996): Cannot find file system superblock .. Invalid fstype: Invalid argument Date: Fri, 08 Mar 2024 23:04:37 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: slb@sonnet.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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=3D264450 --- Comment #30 from slb@sonnet.com --- (In reply to commit-hook from comment #29) I haven't built/tested on stable/13, but it looks like a deletion in ffs_su= br.c might have been missed, possibly due to the test macro changing from CHK->F= CHK between the major releases. This would be about line 395: CHK(fs->fs_old_cpg, !=3D, 1, %jd); --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From nobody Fri Mar 8 23:26:33 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 4Ts2P55Jvvz5CJcR for ; Fri, 8 Mar 2024 23:26:33 +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 4Ts2P54HVKz4HSl for ; Fri, 8 Mar 2024 23:26:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709940393; a=rsa-sha256; cv=none; b=AMzjXX1pUQdr3tK33YQ1IPYSXAv3NNu4hlfmdgYNUHDqWsXYYOgFEs0LEP4qwq7eAAvvkk DmpEoNZEfq4za+ovXhYw8DBU/kNXpTLwUSDfBu1mjkAldFDGNfuS5d2y+UqF4fQDlAxbQT NUQs+Ms8EzMASQdhoWtrskdaCCU9jIafndaZ/pYdWTqZhcMXOQHwkn5PT9wD/BskWew0M2 +yTdhTfiR8UOE+a+JPHuYM6oSNfO+9cCvJAeDbgRgRFGn0RHNrys7bRe5FSZdAZ1Q+HnT0 fnI564JoxQh4AlNTGArdQyjsc2xlDF9oCGkxwgPE2Wr7AURPlCvXb+WFWkX4Bw== 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=1709940393; 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=39s6k89IxVM+Ev14P1fgshU89jp6kXRfJcAVCUbbGZM=; b=omnYxS/NGx/Ibu69i79mTDMkh4q8SgFRhj7Bc4P7vtxLoSFMC2xh77CPQwwNPprQaJw7sm ldkY05ErWQ0bB1mODRMeL1qzXwbqASsvval6yL30S/79JlTu1fUwE1hr8LYgL0uMUMpwF+ GHmYNg/ixqdlkwdu40ToVezQDEUx1kKA/M1cI1XxJdjme2o0tH3RFCWoG8E9EKb2PslltS +gPcv3n8JvAebY0Q3nWdNJLFfHCvaYg6vWKcJxls5hicDo7HOVkICRNGrZoeOgYFdtV8i0 /WXvJjEXQ8Sr5fYKKu9M1hp64luZ2oEMLguSXmyGfxJ0AAKkpswuImv7AnM43w== 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 4Ts2P53n5NzdX0 for ; Fri, 8 Mar 2024 23:26:33 +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 428NQXXd095210 for ; Fri, 8 Mar 2024 23:26:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 428NQXTQ095209 for fs@FreeBSD.org; Fri, 8 Mar 2024 23:26:33 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 264450] ufs: Partition recognized on 12.3 not recognized on CURRENT (2573e6ced996): Cannot find file system superblock .. Invalid fstype: Invalid argument Date: Fri, 08 Mar 2024 23:26:33 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mckusick@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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=3D264450 --- Comment #31 from Kirk McKusick --- (In reply to slb from comment #30) That fifth deletion was in code that was added in 14 and did exist in 13 and earlier. So I think that the commit was correct. But please do check and le= t me know. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From nobody Sat Mar 9 00:03:44 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 4Ts3D0408Wz5CMZ9 for ; Sat, 9 Mar 2024 00:03:44 +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 4Ts3D00kq7z4MC5 for ; Sat, 9 Mar 2024 00:03:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709942624; a=rsa-sha256; cv=none; b=dzQfITjE7RsFkB9+imDG56BUHNa3aTp6GzipYBOV9lwqMvctMn2cIn+tChItYi0cFXLN/v 2FnyhxiCUw+lsKsYW4pxP+uQq9VAw5RZGWCPKjWRR8KiCb64ph3xomxUmIvG1siZ8IHarD mJXxazPppyuj+RDWxWt2SjhFfz3lNMPh3xZ38r9mbNIG7+qyBXB1I4uhQypMtyDNXSKkjG vz5a67NHSKIF/mplqnc6Zo3HqW4IheejkU57w/safYS58XjQTw45ml7Jd62ISax5/Arklo RD+dhk7sBzuwPYGaeXSFp0zmdZJHio9FBt130d4cgLgYawYCpqn2nsx0lGBVLQ== 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=1709942624; 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=28bZj+5Sd2Gf8LZ9ZWrTkMKzQUpruqjLfcJRpXdUdNo=; b=XWsLh1FIO89i2hrSk+8sTj98WAwsFMhMUDmpjYsL8Rg/cNMIVP692kYAO3PFLdvMQW2N76 0GCz3N+R5aTfIhzWKvO8r8J/OILcwD3WxRS+E8DqlJ+ar7K5QqoEFbNmyPzIzTpMJMykCw ZkvKUFw7fPhXF2vrmJhrQkW7LkABWiYaSTBHqXWSC9tuDAgHEkRXsBbciCx3pWLvzr814a 1DSqKgkqewAE5IC9FZeG+zUQyMIgtFEPBFre0V+tNo/6hEQ8xkMn8A8NX/y2tIDisJ5Gdl uqv+ErCF5GDitk01nyMRL4ccVKROHJlAKz9vWPgXEA3Oi0EhXZORs65TYtW9Hg== 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 4Ts3D00Ftgzg4t for ; Sat, 9 Mar 2024 00:03:44 +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 42903hKX088196 for ; Sat, 9 Mar 2024 00:03:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42903hZf088191 for fs@FreeBSD.org; Sat, 9 Mar 2024 00:03:43 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 277389] Reproduceable low memory freeze on 14.0-RELEASE-p5 Date: Sat, 09 Mar 2024 00:03:44 +0000 X-Bugzilla-Reason: CC 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 Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D277389 Mark Millard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marklmi26-fbsd@yahoo.com --- Comment #8 from Mark Millard --- I tried the basic test in the type of context that I happen to have access to, for example: main [so: 15]. It is a rather simple zfs context, really used for bectl, not other typical zfs reasons. It did not show the problem. Still, for comparison and contrast, I report some context details, first the iozone output: # iozone -i 0,1 -l 512 -r 4k -s 1g Iozone: Performance Test of File I/O Version $Revision: 3.506 $ Compiled for 64 bit mode. Build: freebsd=20 Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Colli= ns Al Slater, Scott Rhine, Mike Wisner, Ken Goss Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR, Randy Dunlap, Mark Montague, Dan Million, Gavin Brebne= r, Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone, Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root, Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer, Vangel Bojaxhi, Ben England, Vikentsi Lapa, Alexey Skidanov, Sudhir Kumar. Run began: Fri Mar 8 23:04:51 2024 Record Size 4 kB File size set to 1048576 kB Command line used: iozone -i 0,1 -l 512 -r 4k -s 1g Output is in kBytes/sec Time Resolution =3D 0.000001 seconds. Processor cache size set to 1024 kBytes. Processor cache line size set to 32 bytes. File stride size set to 17 * record size. Min process =3D 512=20 Max process =3D 512=20 Throughput test with 512 processes Each process writes a 1048576 kByte file in 4 kByte records Children see throughput for 512 initial writers =3D 2155051= .28 kB/sec Parent sees throughput for 512 initial writers =3D 1450918.13 kB/s= ec Min throughput per process =3D 4138.72 kB/s= ec=20 Max throughput per process =3D 6173.17 kB/s= ec Avg throughput per process =3D 4209.08 kB/s= ec Min xfer =3D 702788.00 kB Children see throughput for 512 rewriters =3D 1160623.87 kB/s= ec Parent sees throughput for 512 rewriters =3D 1152920.83 kB/s= ec Min throughput per process =3D 2260.53 kB/s= ec=20 Max throughput per process =3D 2282.09 kB/s= ec Avg throughput per process =3D 2266.84 kB/s= ec Min xfer =3D 1039540.00 kB iozone test complete. # zpool status pool: zoptb state: ONLINE scan: scrub repaired 0B in 00:01:45 with 0 errors on Sun Jun 19 06:50:48 = 2022 config: NAME STATE READ WRITE CKSUM zoptb ONLINE 0 0 0 gpt/OptBzfs ONLINE 0 0 0 errors: No known data errors I'll note that I use: vfs.zfs.per_txg_dirty_frees_percent=3D5 in /etc/sysctl.conf on the ZFS FreeBSD systems that I've access to. A different system had an issue that I reported and the person that had increased the default for this recommended I set it back to this now-old default. That worked and I set the same on all such systems. I've no evidence of it being relevant here but report the contextual oddity anyway. I used: # zfs list -ospace,compression,mountpoint NAME AVAIL USED USEDSNAP USEDDS= =20 USEDREFRESERV USEDCHILD COMPRESS MOUNTPOINT . . . zoptb/poudriere/data/wrkdirs 652G 360K 0B 360K= =20=20=20=20 0B 0B off /usr/local/poudriere/data/wrkdirs . . . for the compression-off storage for the iozone activity. The system has 192 GiBytes of RAM, 32 hardware threads (16 cores). # gpart show -p . . . =3D> 40 2930277088 nda2 GPT (1.4T) 40 532480 nda2p1 efi (260M) 532520 2008 - free - (1.0M) 534528 1073741824 nda2p2 freebsd-swap (512G) 1074276352 1845493760 nda2p3 freebsd-zfs (880G) 2919770112 10507016 - free - (5.0G) . . . # swapinfo Device 1K-blocks Used Avail Capacity /dev/gpt/OptBswp364 536870912 0 536870912 0% NOTE: There is no evidence that the swap space was ever used to store anything during the test. # uname -apKU FreeBSD 7950X3D-ZFS 15.0-CURRENT FreeBSD 15.0-CURRENT #137 main-n268520-5e248c23d995-dirty: Sat Feb 24 15:46:10 PST 2024=20=20=20=20 root@7950X3D-ZFS:/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.= amd64/sys/GENERIC-NODBG amd64 amd64 1500014 1500014 The build is a personal build, not an official FreeBSD build. (I'd be surprised if the distinctions would somehow make a difference for the type of test.) Maybe having the mirror involved is important? --Or some other difference with my context? Amount of RAM? . . .? --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Mar 9 09:06:00 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 4TsHFk01kqz5DDpS for ; Sat, 9 Mar 2024 09:06:02 +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 4TsHFh6V1yz4GGd for ; Sat, 9 Mar 2024 09:06:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709975160; a=rsa-sha256; cv=none; b=k6AJhX/iahUDH7etw51VWD11AjrCh8GUV9IC6IcUVkXrIr3BFg+XC72jnOASDtkKpgp319 /yLSO7Gju/TJBiFNieUkCG+bcgmbOJaWYN6zkIeSlddNpiqeCkMOafVp/MripSYnKWqRdo Nbra4jBIwtSwzAc/gbxqawWFrFYEjCt5oDpHkomiFxenjFP6bDZk+NUePJHPhSIuHDjtxO zuTwqrbWmZ3HrunE09Pk/yKdFMa74Acl/XBPRPbyorHc0qT8z4lHvxuEHlsRpZFdGeCOqV FNRLWR0zcngm6X0QgloE8zbXG+L9paCAL3dflvrkelpmIwGJApdm09keGtcZqQ== 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=1709975160; 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=blK5vyQ7v9X0JMyrRIMncnOXbEpo2ERVMInH+M1g9Ps=; b=jund+QV3Lgyr7rv6jNQjeZ6JoIZJDNLjPYakP7kk2VBem8gV+dPW6do2wwLa1wbmzDY7Qh Q3cxPurOPmQ57pJnqnBE2kAQz7idEvuiMbiCYT2WCWbCSBC1J/cLiBGAdFC9omcn3MzqY7 8Y4ZYK6b/TfXMBtE5hGWeDqGB0tF6rZZKoLRJDyg4I3B4KO0ea1iHlnmu3AisPfcOsRCi1 EYiKGKgPAzvH4pDXwjsqPdX4nPUmBCsXWSzX+cj8IaNB/jV1cj9GDhztflCDzbeYyIgQid Xql3QrQ9w5J9tJK1aJ4WGv6ukDf3APPIPfP17KLfVaYPGbezz3TFvFDFypxpAw== 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 4TsHFh65pmzwMv for ; Sat, 9 Mar 2024 09:06:00 +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 429960MG035550 for ; Sat, 9 Mar 2024 09:06:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 429960d2035549 for fs@FreeBSD.org; Sat, 9 Mar 2024 09:06:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 277414] FAT SecPerClust=128 can cause crash Date: Sat, 09 Mar 2024 09:06:00 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New 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=3D277414 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Df7d51eb77e848a6f7823d98349ebabb6e= fce4e52 commit f7d51eb77e848a6f7823d98349ebabb6efce4e52 Author: Konstantin Belousov AuthorDate: 2024-03-02 04:58:57 +0000 Commit: Konstantin Belousov CommitDate: 2024-03-09 09:05:03 +0000 getblkx(9): be more tolerant but also strict with the buffer size checks PR: 277414 (cherry picked from commit 7e4ac11b6076e6a9bf7341ddeae22784284ed733) sys/kern/vfs_bio.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Mar 9 09:07:02 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 4TsHGt5kQ7z5DDk9 for ; Sat, 9 Mar 2024 09:07:02 +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 4TsHGt4h0nz4Gr1 for ; Sat, 9 Mar 2024 09:07:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709975222; a=rsa-sha256; cv=none; b=WC+mYu50FxlMesmtqcpHv8yT82HFQe2kTEBzfus3Ie6SAP9rvJ+14dlPxkse7lDoXw5cnA QkzpL2j68eiVjJpLohuPSBvxqm4bcThkuWa71GLmfSJJbieLZYqmja6y2jt4wOth+g5Hef 6umFR2pje2ov1WxNOufpg4C/KbPjhRBKwjD2OlWoNUhKu6jXn0GM+4LaCQP0EzmbvjU2kT PuHCrwBTUUvGuCycwiNff410T4Up6m+qaLmGE0JVHJcj5AC78pjdHPcnKCr/t6G5MwwO+k 1a+58If3gK4Knm9cERU+856Piyub68Ix2XWEJ0jdNQkAQ8TObHOLZ1XDuYLPmQ== 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=1709975222; 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=2w7HT/bIfPaPjxZ6fPlzEVD56EFJwb/b9NOU0Yftw+w=; b=muu9zAP9ss6hRT4gjRQkHyOzaZ7xmQFmeU3eaCLY09IVK+BxMOtRDNciV/MmwGXrHjFxtp vpRYJ4liZVzp/yS6rXZKZFLGF0gzEpBjqRug0VhSeE1V0hthM+9IsoGKZUnyvsXy9bHz0U X83whIuUwPcT1lNMBWK+SAzJWLhc+C82RxuTjT4nc87KxsKsW5ASnrN10YOsNXueqKXO2j EtXiKm+ddKIVD/FStD+R/N7lGDu50dhcga4maJ04Fv3pOeSuLWkhP539X+tI8TicAm10Fu TeCpWnIx0rj8248F+u2JB2chEjrcn3p56KWDYkVnXtihlLJ11Ks4sHBUtkFIgw== 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 4TsHGt4Dk3zwfT for ; Sat, 9 Mar 2024 09:07:02 +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 429972Gc039102 for ; Sat, 9 Mar 2024 09:07:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 429972YJ039101 for fs@FreeBSD.org; Sat, 9 Mar 2024 09:07:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 277414] FAT SecPerClust=128 can cause crash Date: Sat, 09 Mar 2024 09:07:02 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New 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=3D277414 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D1c1fde7540d813703d775e013a9501452= 24f182e commit 1c1fde7540d813703d775e013a950145224f182e Author: Konstantin Belousov AuthorDate: 2024-03-02 04:58:57 +0000 Commit: Konstantin Belousov CommitDate: 2024-03-08 18:48:02 +0000 getblkx(9): be more tolerant but also strict with the buffer size checks PR: 277414 (cherry picked from commit 7e4ac11b6076e6a9bf7341ddeae22784284ed733) sys/kern/vfs_bio.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Mar 10 21:00:01 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 4TtC364q5fz5Crp3 for ; Sun, 10 Mar 2024 21:00:02 +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 4TtC360YFkz4Sdq for ; Sun, 10 Mar 2024 21:00:02 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710104402; a=rsa-sha256; cv=none; b=c9mWEm1S2u3h68wAmoikIxxVuE64e6IyWuvVxpaLja0gtDgj3Q2z1uTc8iC/RtCDU0Pjol QO4l6ZAEp/+h/B7PouQQ38CQ+3G5PQGx8lFrvyKNowdUa2Tt6D2tY5OIGJcNCcW8Uy9I2J 8p/c2YmtP7EXDeYHcbaHjgP6rGZgcuV0vGIZ9KJf7BH5LyhRIQ0ny6gUqSjPF4MV3nUkeZ UyIjpMtP3eBilc25SdiU1GiThVMNN6bZPKwSQYmxlfyA6IxmwPEtJz8na8JkAuVCwEw4Yv Xyfo3mTikN4FTKfJMiTKlIWiSwiaLNqF1nAesN6HiUniA2gOVsD19jVJZq0evQ== 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=1710104402; 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; bh=ci7GaDoY2gqmghESNIvERHHGoUAfblPnfbCtAUTOJX8=; b=ngOyeItgZhL85TCaGkW2ra0aUGebEZVU8B7OBGLV1vAUjNl9KBCd5iHxF+6L/XExlRcKs4 FKjn2qiDMmZAthb6E7BJRl0hZ05AzPNLz5avG5QP2xLS5kmN3llFPoPBAomsmhYJid0+Cv +d4N13T5RCnH5HpHIbAvNdDbVYwCeG4SmHjn8wuSGbwSYChRef7KDZdbdzA4721+GkYiLW OxRVeQo/sdcT4yiWhhU9uEkIypwFTp4wZWCaQXB/LymaDFCufFtbR5tGvJ0N+90WjfdYgf oXHqsfDY/5xuFbuCCIC9+UyhTWRyvx79VajKb7HWqeVdwVU78Ix3WrrcIFrhaw== 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 4TtC36038Tz11ky for ; Sun, 10 Mar 2024 21:00:02 +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 42AL01jj093207 for ; Sun, 10 Mar 2024 21:00:01 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42AL01lv093200 for fs@FreeBSD.org; Sun, 10 Mar 2024 21:00:01 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202403102100.42AL01lv093200@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: fs@FreeBSD.org Subject: Problem reports for fs@FreeBSD.org that need special attention Date: Sun, 10 Mar 2024 21:00:01 +0000 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 Content-Type: multipart/alternative; boundary="17101044010.C1bb37.92531" Content-Transfer-Encoding: 7bit --17101044010.C1bb37.92531 Date: Sun, 10 Mar 2024 21:00:01 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 264139 | ata: NCQ_DSM_TRIM trim method for Seagate IronWol Open | 231794 | zfs: Panic due to ARC related KVA memory exhausti Open | 251035 | ZFS: Allow 64 bit ZFS to support 32 bit ioctls (W Open | 266409 | 13.1-RELEASE amd64 crashes in: sa_handle_destroy Open | 268162 | zfskeys_enable: each successful load of a key is Open | 269503 | docs.freebsd.org: default vfs.zfs.arc.meta_limit Open | 271384 | zfs_load is not suitably documented Open | 226130 | ZFS: solaris assert: zrl->zr_refcount == 0 (0x1 = 8 problems total for which you should take action. --17101044010.C1bb37.92531 Date: Sun, 10 Mar 2024 21:00:01 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
In Progress |    264139 | ata: NCQ_DSM_TRIM trim method for Seagate IronWol
Open        |    231794 | zfs: Panic due to ARC related KVA memory exhausti
Open        |    251035 | ZFS: Allow 64 bit ZFS to support 32 bit ioctls (W
Open        |    266409 | 13.1-RELEASE amd64 crashes in: sa_handle_destroy 
Open        |    268162 | zfskeys_enable: each successful load of a key is 
Open        |    269503 | docs.freebsd.org: default vfs.zfs.arc.meta_limit
Open        |    271384 | zfs_load is not suitably documented
Open        |    226130 | ZFS: solaris assert: zrl->zr_refcount == 0 (0x1 =

8 problems total for which you should take action.
--17101044010.C1bb37.92531--