From owner-freebsd-ports@freebsd.org Tue Apr 12 10:37:25 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2836B0C3D7 for ; Tue, 12 Apr 2016 10:37:25 +0000 (UTC) (envelope-from sascha=freebsd-ports=freebsd.org=tnabszsg@root-login.org) Received: from mx01.daemonground.de (mx01.daemonground.de [IPv6:2a01:4f8:210:43e9:b5db:35d8:3e1:c3ee]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE2C61191 for ; Tue, 12 Apr 2016 10:37:25 +0000 (UTC) (envelope-from sascha=freebsd-ports=freebsd.org=tnabszsg@root-login.org) Received: from [2a01:4f8:210:43e9:9e16:36c0:7509:536] (helo=admin.daemonground.de) by mx01.daemonground.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-SHA256:256) (Exim) (envelope-from ) id 1apvhB-000Ipy-Db; Tue, 12 Apr 2016 12:37:21 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Tue, 12 Apr 2016 12:37:19 +0200 From: Sascha Holzleiter To: Baptiste Daroussin Cc: freebsd-ports@freebsd.org Subject: Re: pkg-1.7.0 is an order of magnitude slower than pkg-1.6.4 In-Reply-To: <20160407064336.GR49864@ivaldir.etoilebsd.net> References: <6DD156C6-C3E1-43BC-8EC5-1ACB16EBFC3E@ellael.org> <20160402124845.GM1128@ivaldir.etoilebsd.net> <05DDCF70-8865-4F1F-A264-3000B8EF5244@ellael.org> <20160407064336.GR49864@ivaldir.etoilebsd.net> Message-ID: X-Sender: sascha@root-login.org User-Agent: Roundcube Webmail/1.2-beta X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2016 10:37:26 -0000 On 2016-04-07 08:43, Baptiste Daroussin wrote: > On Sat, Apr 02, 2016 at 02:59:06PM +0200, Michael Grimm wrote: >> Baptiste Daroussin 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.