Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp960548rdb; Sat, 6 Jan 2024 18:56:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IGDIpHOJNAozRwU3D2dtfzxPzsccSh0SRZL5ni243hVDz1MaxEcAIXb2zeLRAOn8YyJmYFc X-Received: by 2002:a05:6871:650d:b0:205:da63:2626 with SMTP id rl13-20020a056871650d00b00205da632626mr2490022oab.1.1704596211193; Sat, 06 Jan 2024 18:56:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704596211; cv=none; d=google.com; s=arc-20160816; b=Xo5JsyTQCvi5gLHGe/WmLkXPmTW7Z9MnmB4JrnyGh/4mP/ZL/vjXCimyJX+czhn7mM oNwncEjd5ZVtu9h9HeNNO/yqMHRxzrFhjGgvYvt2VF/IANQ3fezPZYf2EjMocjcmlWl/ Nb59lppcnzH3CTmmUE0lq8aMofeSBF0do934VcUA+1p4YW3XNFUSxPPIY3Yiuc3Nnt/t IQgYD95VUX6CFXocqWwI6/3XJQL0Jtt6lRvgYU0kG0N2TR+qrqRqKYwPGxryur9uBJmz aY5Uec8z7yVeLNpgMkySs07MGAuP0pWD/crbpLppyr0a/kPRHiCDXZa/L1TsJuPYYySR WMBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :auto-submitted:content-transfer-encoding:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=PGpAX1f0L3E0IL2E/kcWQ6DUb1BMH2OsVRfmlKstuB8=; fh=lfmAJNlsrgVlLfgmf+xa0zOkAKc6VKVRczifYgkRnAY=; b=U+P6VUjhtFCuz0pC0D+EJl9bxoqlI5XXL0Z657BtlLZNCBYuH7YkKejF9/sNgpjrQ8 GAsB9iupPjA/ddksACCSnax8yxgRO7Wbm5exukCknAy1F8GmydljRN2HJ59zeiLEbp4D wrOszY7cDLkaLLY707qIEUn2cGYGIR6VIXuUk2g1pt6CmwBcr+HmWxuVWgCl+/DWvmzl F1hedY+SGnuHs61jo1y1fDcRUA8JhUCtzg9PcvERX7GeHm509zkMJjDLn7y4gAADxKni Ig+xa4NhN35BBrQ/+bH1MFDpjgh96IRiZKkU5JTMU+tnfBNvT8k3OnRlffb8shC4qc3f SQcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Kq1pzqKq; spf=pass (google.com: domain of linux-ext4+bounces-735-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-ext4+bounces-735-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id x19-20020a63f713000000b005cdf80f8417si3837761pgh.871.2024.01.06.18.56.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jan 2024 18:56:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4+bounces-735-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Kq1pzqKq; spf=pass (google.com: domain of linux-ext4+bounces-735-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-ext4+bounces-735-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C7A9B282E46 for ; Sun, 7 Jan 2024 02:56:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3B2D910A13; Sun, 7 Jan 2024 02:56:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Kq1pzqKq" X-Original-To: linux-ext4@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BCB2D10A0A for ; Sun, 7 Jan 2024 02:56:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 2DB8DC433CB for ; Sun, 7 Jan 2024 02:56:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704596205; bh=gVVilXsV9SfGYY1H3+UV8tSjntCSzmWLC9yfG3kw5s8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Kq1pzqKqn1ZGrcEf57xRKqiMRnAs3a/1L/3QVAxk5arymz2JxJyRuy0a0mZKOmGyO BZOt5snvdQWt8gpewmLb7zLOkuUBFm039uiinJLWbCMPIu498U6M/71viPOeS6Ylnr 49SHL9YIpj34varNj+lecKyDebkkpIdExAIWXiDuMFbEX4oAtiF+/J8BHZSKtr9cWM 66VrUjM+t6G1PfbgQvUj24T6CKsRUwbOGFbNO/H8dh0QjmL/5eChwnLuQyTFcNPhIb ONGMpj9nEan0vXftW0sguz5DDBHiPkMdwtXwxpA9tANH1j7TA4maROPuQ5oyIXu/xO WncXNXTCz8wWQ== Received: by aws-us-west-2-korg-bugzilla-1.web.codeaurora.org (Postfix, from userid 48) id 195B8C53BD4; Sun, 7 Jan 2024 02:56:45 +0000 (UTC) From: bugzilla-daemon@kernel.org To: linux-ext4@vger.kernel.org Subject: [Bug 217965] ext4(?) regression since 6.5.0 on sata hdd Date: Sun, 07 Jan 2024 02:56:44 +0000 X-Bugzilla-Reason: None X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: AssignedTo fs_ext4@kernel-bugs.osdl.org X-Bugzilla-Product: File System X-Bugzilla-Component: ext4 X-Bugzilla-Version: 2.5 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: matthew4196@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: fs_ext4@kernel-bugs.osdl.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://bugzilla.kernel.org/ Auto-Submitted: auto-generated Precedence: bulk X-Mailing-List: linux-ext4@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 https://bugzilla.kernel.org/show_bug.cgi?id=3D217965 --- Comment #65 from Matthew Stapleton (matthew4196@gmail.com) --- I'm not sure if this will be worth looking into, but with the cpu usage problem, I've done some more testing and "perf report --stdio -i perf.data"= is showing around 2 to 3 times as much cpu time since the commit that added the CR_BEST_AVAIL_LEN feature: 7e170922f06bf . With /sys/fs/ext4//mb_best_avail_max_trim_order set to 0 it goes a bit lowe= r, but is still at least 2 times cpu. With perf record -ag sleep 25 which is = the time it takes the extract to run, it's goes from about 2% to 5% so fairly small, but when measuring with 5 second intervals this can go from around 5= % to 15%. This cpu usage is concentrated in ext4_get_group_desc and ext4_get_group_info and within these functions, perf is picking up more cpu time in __rcu_read_lock and __rcu_read_unlock. --=20 You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.=