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

Baptiste Daroussin bapt at FreeBSD.org
Sat Apr 2 12:48:50 UTC 2016


On Sat, Apr 02, 2016 at 02:42:06PM +0200, Michael Grimm wrote:
> Hi —
> 
> This is 10.3-PRERELEASE (r297387).
> 
> I did upgrade ports-mgmt/pkg today and ever since, I do observe a significant slow-down when it comes to reinstalling ports from my poudriere repository:
> 
> 26 seconds for 74 ports within a jail and pkg-1.6.4:
> ----------------------------------------------------
> 	Mar 29 18:19:56 <user.notice> pkg: indexinfo reinstalled: 0.2.4 -> 0.2.4 
>> 	Mar 29 18:20:22 <user.notice> pkg: pkg reinstalled: 1.6.4_1 -> 1.6.4_1
> 
> 
> 309 seconds for the very same 74 ports within the very same jail and pkg-1.7.0:
> -------------------------------------------------------------------------------
> 	Apr 2 14:09:55 <user.notice> pkg: indexinfo reinstalled: 0.2.4 -> 0.2.4
>> 	Apr 2 14:15:04 <user.notice> pkg: pkg reinstalled: 1.7.0 -> 1.7.0
> 
> This is reproducible, this is true for all my ports in all my jails and on the host.
> 
> 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.

I plan to readd some improvements on this side before 1.8

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/20160402/05016314/attachment.sig>


More information about the freebsd-ports mailing list