Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2006 14:47:57 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        David Gilbert <dgilbert@dclg.ca>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: gstat going negative?
Message-ID:  <20060530184757.GA28326@xor.obsecurity.org>
In-Reply-To: <17532.24323.851927.992309@canoe.dclg.ca>
References:  <17532.24323.851927.992309@canoe.dclg.ca>

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

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

On Tue, May 30, 2006 at 11:04:35AM -0400, David Gilbert wrote:
> I've large array that winds up providing 1TB of disk (according to df
> -h :) to a bunch of nfs users.  On the array machine, I'm using
> gmirror and gconcat to build the array and right now I'm running dump
> on the array.
>=20
> I've got a gstat running and one curious thing is that gstat keeps
> reporting 2^32-1 as the value for l(Q) (obviously, spelt out in
> numbers) ... as if l(Q) is actually coming back as -1.
>=20
> Odd?

SMP race, you can increase the value of kern.geom.collectstats to make
the stats collection atomic at the expense of some (probably
negligible) performance.

Kris

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

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

iD8DBQFEfJNcWry0BWjoQKURAlQIAKCgY3nKEZI3ohA9DZ1v90fCoijNEwCgkjkJ
tRNNVJTWh0S82VA/YPed98w=
=V9xQ
-----END PGP SIGNATURE-----

--FL5UXtIhxfXey3p5--



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