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

Sascha Holzleiter sascha at root-login.org
Tue Apr 12 10:37:26 UTC 2016


On 2016-04-07 08:43, Baptiste Daroussin wrote:
> 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

Thanks for the fix! Will this also be fixed in 10.3-RELEASE? Being 
"stuck" with
the RELEASE branch per policy and looking forward to that kind of 
performance
for the next two years is really painful.


More information about the freebsd-ports mailing list