From owner-freebsd-current@FreeBSD.ORG Sun Nov 4 09:03:27 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D232D16A469 for ; Sun, 4 Nov 2007 09:03:27 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from smtp.infidyne.com (ds9.infidyne.com [88.80.6.206]) by mx1.freebsd.org (Postfix) with ESMTP id 9093D13C4BB for ; Sun, 4 Nov 2007 09:03:26 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from c-5416e555.03-51-73746f3.cust.bredbandsbolaget.se (c-5416e555.03-51-73746f3.cust.bredbandsbolaget.se [85.229.22.84]) by smtp.infidyne.com (Postfix) with ESMTP id 10D67C98A; Sun, 4 Nov 2007 09:46:50 +0100 (CET) From: Peter Schuller To: freebsd-current@freebsd.org Date: Sun, 4 Nov 2007 09:48:17 +0100 User-Agent: KMail/1.9.7 References: <200711021208.25913.Thomas.Sparrevohn@btinternet.com> <20071103164231.GB23714@outcold.yadt.co.uk> In-Reply-To: <20071103164231.GB23714@outcold.yadt.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart12928624.AgsU4zfSXM"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200711040948.25732.peter.schuller@infidyne.com> Cc: Subject: Re: ZFS Hangs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 04 Nov 2007 09:03:27 -0000 --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 ' 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--