Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Nov 2007 09:48:17 +0100
From:      Peter Schuller <peter.schuller@infidyne.com>
To:        freebsd-current@freebsd.org
Subject:   Re: ZFS Hangs
Message-ID:  <200711040948.25732.peter.schuller@infidyne.com>
In-Reply-To: <20071103164231.GB23714@outcold.yadt.co.uk>
References:  <200711021208.25913.Thomas.Sparrevohn@btinternet.com> <20071103164231.GB23714@outcold.yadt.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart12928624.AgsU4zfSXM
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

> For example, pkg_delete seems to be _extremely_ slow and ^T reports that
> it is stuck waiting on zfs:(&zio->io_cv) for an unreasonable (IMO) amount
> of time.

=46WIW, I have seen pkg_install (and possibly other pkg_* tools) being extr=
emely=20
slow seemingly as a result of the active set of files it touches exceededin=
g=20
the amount cached. In particular I had this problem after converting to ZFS=
,=20
but prior to switching to amd64 and more RAM.

It would sit and churn on disk I/O forever, entirely seek bound. Tracing th=
e=20
processes showed it traversing the package database over and over (presumab=
ly=20
recursively following dependencies or some such). So the same files were=20
touched any number of times. As a result, with too little cached, runtime=20
exploded (it took hours and hours upgrading my desktop using *binary*=20
pre-built packages because the larger packages with a lot of dependencies=20
would take forever to install and delete).

=2D-=20
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller@infidyne.com>'
Key retrieval: Send an E-Mail to getpgpkey@scode.org
E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org


--nextPart12928624.AgsU4zfSXM
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQBHLYdZDNor2+l1i30RAtVFAJ9kIERRlObpc3tUggSQPezQgwRZtACgkLdY
74IJ4xB4XitSYLz7uSyiVmI=
=VG0A
-----END PGP SIGNATURE-----

--nextPart12928624.AgsU4zfSXM--



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