From owner-freebsd-current@freebsd.org Fri Sep 11 04:50:50 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3C70F3ED3C7 for ; Fri, 11 Sep 2020 04:50:50 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bnjxk0wLkz3YnT for ; Fri, 11 Sep 2020 04:50:50 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com [66.111.4.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bdragon/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id F26602091F for ; Fri, 11 Sep 2020 04:50:49 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id B67AE27C0058 for ; Fri, 11 Sep 2020 00:50:49 -0400 (EDT) Received: from imap1 ([10.202.2.51]) by compute4.internal (MEProxy); Fri, 11 Sep 2020 00:50:49 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudehkedgkeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdluddtmdenucfjughrpefofgggkfgjfhffhffvufgtgfesthhqredt reerjeenucfhrhhomhepfdeurhgrnhguohhnuceuvghrghhrvghnfdcuoegsughrrghgoh hnsefhrhgvvgeuufffrdhorhhgqeenucggtffrrghtthgvrhhnpeeileejjeevgefgieef tdefvdefgffgheffveeiffevvddvhfelleduvdevhedvheenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegsughrrghgohhnodhmvghsmhhtphgr uhhthhhpvghrshhonhgrlhhithihqddutdegvdefheekieegqddukedutdekheduqdgsug hrrghgohhnpeephfhrvggvuefuffdrohhrghesihhmrghprdgttg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 681B8C200A5; Fri, 11 Sep 2020 00:50:49 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-259-g88fbbfa-fm-20200903.003-g88fbbfa3 Mime-Version: 1.0 Message-Id: <474222f1-1e48-4453-a94e-4f1f5f4a4c39@www.fastmail.com> In-Reply-To: References: <7d54dc30-b8b1-a127-ec39-9fb759c8a55d@gmail.com> Date: Thu, 10 Sep 2020 23:50:28 -0500 From: "Brandon Bergren" To: "FreeBSD Current" Subject: Re: time sysctl kstat.zfs.misc.dbufs | wc (was: OpenZFS and L2ARC) Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 04:50:50 -0000 On Thu, Sep 10, 2020, at 11:17 PM, Graham Perrin wrote: > On 09/09/2020 07:46, Stefan Esser wrote: > > =E2=80=A6 an annoyance that I had noticed before but now have > > tracked down: > > > > $ time sysctl kstat.zfs.misc.dbufs | wc > > =C2=A0=C2=A0 55327 2047031 16333472 > > > > real=C2=A0=C2=A0=C2=A0 0m16,446s > > user=C2=A0=C2=A0=C2=A0 0m0,055s > > sys=C2=A0=C2=A0=C2=A0 0m16,397s > > > > =E2=80=A6 >=20 >=20 That's nothing: root@talos:~/devel/poudriere # /usr/bin/time sysctl kstat.zfs.misc.dbufs= | wc 603.59 real 0.03 user 603.39 sys 63677 2355981 18646506 It literally takes ten minutes on my Talos II. --=20 Brandon Bergren bdragon@FreeBSD.org