From nobody Mon Nov 06 19:58:32 2023 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 4SPMbr32TSz4ytvR for ; Mon, 6 Nov 2023 19:58:32 +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 4SPMbr18rnz3LJx for ; Mon, 6 Nov 2023 19:58:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699300712; 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=yf0lPpSnErpzatyexPDGrLltsli+7Gb6sf1EoSHYt28=; b=DzvHbkHXA3OgUe+vNj5Rs5Q4wU+cB3dQ6UoXYfI3vC3rHeGqk3uQNNvgkKRUoySKVrX+aT uK3c31u+TGqLiGo1xRuexAUiODo8RjUZ8LdNAJCxDrVYWrpW/1P4GOOz/06tPtBPulwRt7 INPsZr7RzmMxsxmhGjlcgVyxHSxqypkXKzZQZgakXpqQMZp3a9rkNplGdNbsi4w4VrrmE3 xocPl4qfL9glM/3tRHoKd42pxcNCfePMwSHwtdCF3/erySP7YZ+xokXuz41ekAeJZ8AXtY t2U/x3Z7t7OfhMJegw7xyxQnCosAvgwkyAC8EK4npMxkxT0TU8X4lc4fedqTJQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699300712; a=rsa-sha256; cv=none; b=xS+wWxhqZv0aPMqmu9vGPQjSX2PXunPcQ/ys7L1ZohpmWD9188NNgGCa9nJ7Dt00dvXhEa l3K88D0j4r2LwYdtvf60hofLO/nOhKoIwBSourtcA2ixZAHfl8Ep0bJCeWNvcQRCcFxHGo T+CTsKH8hUNY46rOdqVQUitKG0mzAJxAmXLf00p3IwqtYFCo+y/V9uUUNsY1Wvxd1iCYs3 qA8RLw+Gqn3vcxY/vfv1zJKMxw4POCVMxKrpTiwjDNDcdsVdCnTR/Jmmfkzs5NP3YnKd6p orXXvn2ylaEPZY+PiZsu4fGuxr/i88Nt1X6IZXFcWbKcOxeOVnBrCKwjQAip2Q== 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 4SPMbr0D01z5C0 for ; Mon, 6 Nov 2023 19:58:32 +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 3A6JwVpc064969 for ; Mon, 6 Nov 2023 19:58:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3A6JwVCM064968 for fs@FreeBSD.org; Mon, 6 Nov 2023 19:58:31 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 207022] stat() 4 to 16 times slower on FreeBSD/UFS than on Linux/Ext4 Date: Mon, 06 Nov 2023 19:58:32 +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: 10.2-RELEASE X-Bugzilla-Keywords: performance X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: emaste@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=3D207022 --- Comment #16 from Ed Maste --- (In reply to Dmitry Chagin from comment #15) In particular, > I did some benching by running 20 processes in parallel, each doing stat > on a tree of 1 million files (one tree per proc, 1000 dirs x 1000 files, > so 20 mln inodes in total). Box had 24 cores and 24G RAM. >=20 > Best times: > Linux: 7.60s user 1306.90s system 1863% cpu 1:10.55 total > FreeBSD: 3.49s user 345.12s system 1983% cpu 17.573 total > OpenBSD: 5.01s user 6463.66s system 2000% cpu 5:23.42 total > DragonflyBSD: 11.73s user 1316.76s system 1023% cpu 2:09.78 total > OmniosCE: 9.17s user 516.53s system 1550% cpu 33.905 total From https://lore.kernel.org/linux-fsdevel/20231019155958.7ek7oyljs6y44ah7@= f/ --=20 You are receiving this mail because: You are the assignee for the bug.=