ZFS Hangs

Peter Schuller peter.schuller at infidyne.com
Sun Nov 4 01:03:27 PST 2007


> 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.

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

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

-- 
/ Peter Schuller

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20071104/18375904/attachment.pgp


More information about the freebsd-current mailing list