From owner-freebsd-fs@freebsd.org Tue Feb 27 22:01:00 2018 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2652F2D413 for ; Tue, 27 Feb 2018 22:00:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 811AB72B64 for ; Tue, 27 Feb 2018 22:00:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id CBAB01545B for ; Tue, 27 Feb 2018 22:00:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1RM0waj036122 for ; Tue, 27 Feb 2018 22:00:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1RM0wVt036121 for freebsd-fs@FreeBSD.org; Tue, 27 Feb 2018 22:00: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: freebsd-fs@FreeBSD.org Subject: [Bug 219049] ftruncate() slow on UFS+journaled softupdates Date: Tue, 27 Feb 2018 22:00: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: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: info@murrawhip.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-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 MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2018 22:01:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219049 --- Comment #8 from info@murrawhip.net --- I just tried to recreate the issue using the script in OP, but my times don= 't look as bad as Walter's. FreeBSD site.com 11.1-RELEASE-p4 FreeBSD 11.1-RELEASE-p4 #0: Tue Nov 14 06:12:40 UTC 2017=20=20=20=20 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 /dev/da0p2 on / (ufs, NFS exported, local, journaled soft-updates) 0.066318722 ftruncate(3,0x186a0) =3D 0 (0x0) 0.025288527 ftruncate(3,0x186a0) =3D 0 (0x0) 0.274295490 ftruncate(3,0x186a0) =3D 0 (0x0) 0.044457881 ftruncate(3,0x186a0) =3D 0 (0x0) 0.108361900 ftruncate(3,0x186a0) =3D 0 (0x0) 0.124630942 ftruncate(3,0x186a0) =3D 0 (0x0) 0.126537198 ftruncate(3,0x186a0) =3D 0 (0x0) 0.042581028 ftruncate(3,0x186a0) =3D 0 (0x0) 0.054237172 ftruncate(3,0x186a0) =3D 0 (0x0) 0.068103733 ftruncate(3,0x186a0) =3D 0 (0x0) 0.126835073 ftruncate(3,0x186a0) =3D 0 (0x0) gstat: L(q) ops/s r/s kBps ms/r w/s kBps ms/w d/s kBps ms/d= =20=20=20 o/s ms/o %busy Name 0 7 0 0 0.0 7 115 15.4 0 0 0.0= =20=20=20=20 0 0.0 9.9 da0 0 5 0 0 0.0 5 69 15.5 0 0 0.0= =20=20=20=20 0 0.0 6.9 da0 0 1 0 0 0.0 1 0 8.7 0 0 0.0= =20=20=20=20 0 0.0 0.9 da0 0 4 0 0 0.0 4 67 23.4 0 0 0.0= =20=20=20=20 0 0.0 7.7 da0 0 5 0 0 0.0 5 68 16.0 0 0 0.0= =20=20=20=20 0 0.0 7.1 da0 --=20 You are receiving this mail because: You are the assignee for the bug.=