From owner-svn-src-releng@freebsd.org Thu Dec 17 09:00:11 2020 Return-Path: Delivered-To: svn-src-releng@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 9D62C4B118A; Thu, 17 Dec 2020 09:00:11 +0000 (UTC) (envelope-from se@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 4CxQtg3ltbz56TK; Thu, 17 Dec 2020 09:00:11 +0000 (UTC) (envelope-from se@freebsd.org) Received: from Stefans-MacBook-Pro-449.fritz.box (p200300cd5f184100b550dc137db23bdf.dip0.t-ipconnect.de [IPv6:2003:cd:5f18:4100:b550:dc13:7db2:3bdf]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id A3BFF21D00; Thu, 17 Dec 2020 09:00:10 +0000 (UTC) (envelope-from se@freebsd.org) To: Alan Somers , Allan Jude Cc: src-committers , svn-src-all , svn-src-releng@freebsd.org, Martin Matuska References: <202009192046.08JKkuBn080241@repo.freebsd.org> From: Stefan Esser Subject: Re: svn commit: r365917 - in releng/12.2: cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/cmd/zpool sys/cddl/compat/opensolaris/kern sys/cddl/compat/opensolaris/sys sys/cddl/contrib/opensolar... Message-ID: Date: Thu, 17 Dec 2020 10:00:06 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zYqNcUXDyA35iXSOG6OoT3xxvBfhPLMG5" X-BeenThere: svn-src-releng@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the release engineering / security commits to the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2020 09:00:11 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --zYqNcUXDyA35iXSOG6OoT3xxvBfhPLMG5 Content-Type: multipart/mixed; boundary="q8JIM182Z3jcfg2mi7cRZVErtB1d0EnBI"; protected-headers="v1" From: Stefan Esser To: Alan Somers , Allan Jude Cc: src-committers , svn-src-all , svn-src-releng@freebsd.org, Martin Matuska Message-ID: Subject: Re: svn commit: r365917 - in releng/12.2: cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/cmd/zpool sys/cddl/compat/opensolaris/kern sys/cddl/compat/opensolaris/sys sys/cddl/contrib/opensolar... References: <202009192046.08JKkuBn080241@repo.freebsd.org> In-Reply-To: --q8JIM182Z3jcfg2mi7cRZVErtB1d0EnBI Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable Am 16.12.20 um 21:30 schrieb Alan Somers: > On Sat, Sep 19, 2020 at 2:47 PM Allan Jude > wrote: >=20 > Author: allanjude > Date: Sat Sep 19 20:46:56 2020 > New Revision: 365917 > URL: https://svnweb.freebsd.org/changeset/base/365917 > >=20 > Log: > =C2=A0 MFS r365689,r365808,r365860 >=20 > =C2=A0 MFOpenZFS: Introduce read/write kstats per dataset >=20 > =C2=A0 The following patch introduces a few statistics on reads an= d writes > =C2=A0 grouped by dataset. These statistics are implemented as kst= ats > =C2=A0 (backed by aggregate sums for performance) and can be retri= eved by > =C2=A0 using the dataset objset ID number. The motivation for this= change is > =C2=A0 to provide some preliminary analytics on dataset usage/perf= ormance. >=20 > =C2=A0 Reviewed-by: Richard Elling > =C2=A0 Reviewed-by: Brian Behlendorf > > =C2=A0 Reviewed by: Matthew Ahrens > > =C2=A0 Signed-off-by: Serapheim Dimitropoulos > >=20 > =C2=A0 openzfs/zfs@a448a2557ec4938ed6944c7766fe0b8e6e5f6456 >=20 > =C2=A0 Also contains parts of: > =C2=A0 MFOpenZFS: Connect dataset_kstats for FreeBSD >=20 > =C2=A0 Example output: > =C2=A0 kstat.zfs.mypool.dataset.objset-0x10b.nread: 150528 > =C2=A0 kstat.zfs.mypool.dataset.objset-0x10b.reads: 48 > =C2=A0 kstat.zfs.mypool.dataset.objset-0x10b.nwritten: 134217728 > =C2=A0 kstat.zfs.mypool.dataset.objset-0x10b.writes: 1024 > =C2=A0 kstat.zfs.mypool.dataset.objset-0x10b.dataset_name: > mypool/datasetname >=20 > =C2=A0 Reviewed-by: Ryan Moeller > =C2=A0 Reviewed by: Sean Eric Fagan > > =C2=A0 Reviewed-by: Serapheim Dimitropoulos > > =C2=A0 Reviewed-by: Brian Behlendorf > > =C2=A0 Signed-off-by: Allan Jude > >=20 > =C2=A0 openzfs/zfs@4547fc4e071ceb1818b3a46c3035b923e06e5390 >=20 > =C2=A0 Approved by:=C2=A0 re (gjb) > =C2=A0 Relnotes:=C2=A0 =C2=A0 =C2=A0yes > =C2=A0 Sponsored by: Klara Inc. >=20 >=20 > This sounds quite useful!=C2=A0 I've often wished that I could see=20 > per-dataset traffic statistics.=C2=A0 Are there any user-friendly front= ends=20 > to this?=C2=A0 Like zfs-stats, or an updated zpool iostat? I have updated zfs-stats for OpenZFS a few months ago and I'd be willing to add printing these new values to the port. The maintainer of the upstream version had little interest to accept my patches into his repository (after sending several request) and thus I have added a large patch to the port. If further changes are applied, I might fork the upstream repository and base the zfs-stats port on that fork (but I did not want to grab it without the current maintainer agreeing ...) Regards, STefan --q8JIM182Z3jcfg2mi7cRZVErtB1d0EnBI-- --zYqNcUXDyA35iXSOG6OoT3xxvBfhPLMG5 Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAl/bHhYFAwAAAAAACgkQR+u171r99UQD +wgAhJwNnTA8JGBERdk5qU4cgGq0FUn+o2utm5kAbL/23SzkhJi00pCl+qirWzaxIpmEOZwUm9Xz cG/s/UvFYTJ9hboWWPBLf7df0I3ExNeyYIpqXKVfNfdDwNbBlXtz8VJFXRibkzLfI5Ax6+hk97Ll MoI3uLvZ2sLTUeOnb9/rByKXEbuoSCcm0kMc5HqPbyGQyBMfBsGvH3MjDnSLvGeT+45fJbG9Kezj RyBC8aKmrx8P4LHrFK1F5Idh7jKw86iZ5XFjWnmu3CyvVfGDWDboPQP6sIEHvFrVDcr0mGMCWf+k yFqHR8kPaNrX8SBcv4IqbFC2OR5eyOLck3GqDFfKAg== =NecG -----END PGP SIGNATURE----- --zYqNcUXDyA35iXSOG6OoT3xxvBfhPLMG5--