pkg-1.7.0 is an order of magnitude slower than pkg-1.6.4

Baptiste Daroussin bapt at FreeBSD.org
Thu Apr 7 06:43:41 UTC 2016


On Sat, Apr 02, 2016 at 02:59:06PM +0200, Michael Grimm wrote:
> Baptiste Daroussin <bapt at FreeBSD.org> wrote:
> > 
> > On Sat, Apr 02, 2016 at 02:42:06PM +0200, Michael Grimm wrote:
> 
> >> 26 seconds for 74 ports within a jail and pkg-1.6.4:
> […]
> >> 309 seconds for the very same 74 ports within the very same jail and pkg-1.7.0:
> […]
> >> Is this an expected slow-down? /usr/ports/UPGRADE and https://svnweb.freebsd.org/ports/head/ports-mgmt/pkg/?view=log are not indicating that behavior.
> >> But I might have missed something.
> >> 
> >> Any feedback is highly appriciated, thanks, and regards,
> > 
> > pkg 1.7 is IO intensive that may explain.
> 
> Ok, understood.
> 
> JFTR: perl (24s), python27 (44s), and ruby (125s) take the longest time to reinstall.
> 
> > I plan to readd some improvements on this side before 1.8
> 
> Good to know, thanks for your feedback.

Just to follow up on the performance issue, there is a regression that happened
on FreeBSD 10.3-RELEASE (also HEAD) that causes pkg extraction process to be 10
times slower as it should. r297626 fixes it in head. We are working on bringing
that into the 10 branch:
https://svnweb.freebsd.org/base?view=revision&revision=297626

Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20160407/e5ee7074/attachment.sig>


More information about the freebsd-ports mailing list