pkgdb 2.2.2 is abysmally slow

Joe Marcus Clarke marcus at FreeBSD.org
Thu Nov 23 13:36:53 PST 2006


The pkgdb that ships with portupgrade-2.2.2 is orders of magnitude
slower that that of 2.1.3.3.  On a machine with 472 ports, if I upgrade
nspr the time to run pkgdb -fF after the upgrade is about ten minutes.
Prior to upgrading to portupgrade-2.2.2, the same operation took about
three seconds.  The result is portupgrades slow down to a crawl since
pkgdb needs to be run between the build completion and the
uninstall/upgrade portion. 

If I comment out the new call to get_real_run_deps() in pkgdb, I get the
old performance back.  Could the contents of get_real_run_deps() be
cached so that this list does not have to be rebuilt for each port?

Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-------------- 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-ports/attachments/20061123/c552d93e/attachment.pgp


More information about the freebsd-ports mailing list