From owner-freebsd-ports@freebsd.org Mon Apr 4 10:47:32 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 38028B02F53 for ; Mon, 4 Apr 2016 10:47:32 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (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 82B731712; Mon, 4 Apr 2016 10:47:31 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id DF06528417; Mon, 4 Apr 2016 12:47:22 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 90CD728429; Mon, 4 Apr 2016 12:47:21 +0200 (CEST) Message-ID: <57024639.30903@quip.cz> Date: Mon, 04 Apr 2016 12:47:21 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 MIME-Version: 1.0 To: Baptiste Daroussin , Michael Grimm CC: freebsd-ports@freebsd.org Subject: Re: pkg-1.7.0 is an order of magnitude slower than pkg-1.6.4 References: <6DD156C6-C3E1-43BC-8EC5-1ACB16EBFC3E@ellael.org> <20160402124845.GM1128@ivaldir.etoilebsd.net> <05DDCF70-8865-4F1F-A264-3000B8EF5244@ellael.org> <20160402130047.GN1128@ivaldir.etoilebsd.net> In-Reply-To: <20160402130047.GN1128@ivaldir.etoilebsd.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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: Mon, 04 Apr 2016 10:47:32 -0000 Baptiste Daroussin wrote on 04/02/2016 15:00: > 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. >> > Thank you very very much for yours! very much appreciated, it helps improving > things! I already upgraded to 1.7.1. Is it possible to downgrade it back to 1.6.4 or are there some incompatible changes in database? (I can build 1.6.4 by downgrading the port in my poudriere) And I have one question about this info from commit message: ------------------ - if the all process operation would have an inpact of less than 1MB on the FS then the action is proceed with out asking the user to acknowledge it ------------------ Does it means that pkg upgrade, pkg autoremove etc. will proceed without asking Y/N? Is this behavior configurable and can it be reverted? Thank you Miroslav Lachman