Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Nov 2010 00:44:55 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Adam Vande More <amvandemore@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: top io mode
Message-ID:  <20101125224455.GU2392@deviant.kiev.zoral.com.ua>
In-Reply-To: <AANLkTin3-kut7bZyg9w3uo0Y-ocwmhKeptiPWVso=Oq6@mail.gmail.com>
References:  <AANLkTikrKevf3x4nyi6=8Yz0BW=yZzf0W_Xa3XGQXy8N@mail.gmail.com> <4CEE88D9.4070200@DataIX.net> <AANLkTincWrdhq3my_RARtB17mneT77YZubQbFCN1Swzp@mail.gmail.com> <20101125200813.GA56066@icarus.home.lan> <AANLkTinVq8f6miLjqePEBOjN3CfhZJcPf%2B8njiKwTaL3@mail.gmail.com> <20101125205733.GA56845@icarus.home.lan> <20101125210449.GA57788@icarus.home.lan> <AANLkTin3-kut7bZyg9w3uo0Y-ocwmhKeptiPWVso=Oq6@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--HZB8oDZC1yZFS5kn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Nov 25, 2010 at 04:35:53PM -0600, Adam Vande More wrote:
> On Thu, Nov 25, 2010 at 3:04 PM, Jeremy Chadwick
> <freebsd@jdc.parodius.com>wrote:
>=20
> > Bad form to follow up to my own Email of course, but some discussion
> > material:
> >
>=20
> I'm a frequent offender myself so I won't be pointing any fingers.
>=20
> "top -m io" doesn't show any I/O writes, while gstat(8) does, and to
> > numerous devices all which make up some form of ZFS pool.
> >
>=20
> Yes, it's a generic ZFS mirror.
>=20
> If you do something like "dd if=3D/dev/urandom of=3D/pool/file bs=3D64k",=
 does
> > "top -m io" show write I/O for the "dd" process?
> >
>=20
> It does not on my ZFS STABLE system with Kostick's path.  So the patch fi=
xes
> reads, but not writes. cc'ing to notify in case he has more ideas.
Can you show exact command and describe some details about setup for
the case where you still do not observe the counter in top ?
(With my patch applied).

There are two mixed things in the thread:
First, there is (was) a missed accounting for i/o to physical devices,
and the patch I posted should fix it.

Second, it is relatively well-known that ZFS does not properly accounts
i/o. Might be, the patch by Andrew fixes it, I do not know.

--HZB8oDZC1yZFS5kn
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEARECAAYFAkzu5ucACgkQC3+MBN1Mb4jLHACgv+GHlE1qRLBa4UhMeqlI0FaU
0ewAnAvVERwWC32nqlCyo6Dfy5M8NF0W
=/F2G
-----END PGP SIGNATURE-----

--HZB8oDZC1yZFS5kn--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101125224455.GU2392>