On my -CURRENT system with 1572 ports installed, I decided to give
pkg-devel (pkg-1.3.0.b2) a try.

Using portmaster, I observe very significant increases in the time
required to check which ports to upgrade. With pkg-devel:

# time portmaster -a
===>>> Gathering distinfo list for installed ports

===>>> Starting check of installed ports for available updates

===>>> All ports are up to date

===>>> Exiting

real    13m43.057s (= 823s)
user    0m44.465s
sys     1m20.432s

The same command with pkg-1.2.7 needs less than 20% of the real
time to run:

real    2m30.298s (= 150s)
user    0m39.246s
sys     1m11.392s

It may be too early to expect pkg-1.3 to be optimized for speed,
but I just wanted to report this regression ...

Since the CPU times are not so different, it appears that the amount
of disk I/O is much higher with pkg-devel.

It might be possible to optimize the database structure or to cache
larger parts of the package DB in RAM (size is some 100MB on my system).

Regards, STefan
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to