From owner-freebsd-ports@freebsd.org Thu Apr 7 06:43:40 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 E9A23B07838 for ; Thu, 7 Apr 2016 06:43:40 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7F36414A8 for ; Thu, 7 Apr 2016 06:43:40 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by mail-wm0-x22f.google.com with SMTP id 191so80406258wmq.0 for ; Wed, 06 Apr 2016 23:43:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Qn5WuPh0GKWLrb8OqDC37GATXV46uGaBbElsKwugSJI=; b=s2c0PJrADSlpi5uSgLcZbJNDEnsN8pm8PU29l32EV4iUOmlGUF9GfxBPLyBp7k0icd zFhdO93bBq/1Btw19/TKjgcwVwk8YHjgeJr+rJjg2FJPm8tAlp+xVGFZ2bvxz6ZtTUsW VTlcTUt2C389Yzj5jQCNnHWoQKiqf7t0JGVDvwmNzJ8nLNDx9AyLEixypc7oOl3ITRAV PfKBWe05SSDP+2r5wqcg28Ihv5BK2UXyhqxmR5ajArXkvjAO+BPHBM38bMOhptI3GmMy Uif0e5cyfimtFZLNk6SJVnNEM3Y3RAUO5wq7v8aKlsrMW39mG60CdRPGCVFatUgjtYk6 xNvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=Qn5WuPh0GKWLrb8OqDC37GATXV46uGaBbElsKwugSJI=; b=mUncb/0HW4KVaDgrCPVM86aNycftIO8SABZw5vpvY8aR6fPNxS8xSpmgpsp9HwAmVJ ZJDgaEEBnDNqGTSW3ZT2wz7N8Db/Gy/ton8dHI1qVEnJJvUQ+cDk6SqZkGDtM28gX8ul +Fyotd6kdgC7V9UWFOufMkIwZkfPtYqLHSmymnQjC8uCnoKyVrDqIVCuPIqcWiHhybUT jYrz2TcFWTa07eLnhvI+U3Do/vYfx4HlbrF4ZOsbJ9Esa6xrNkYPnuAyxLb0qDvTPUfF 9Gf5WZJ2KPRRuRj8gNKiM/c41+byAHsK2V4/5QwBFajVA5vhF6/jB5ZH4Qp+OMQSreLN rc0A== X-Gm-Message-State: AD7BkJKpuFqEn5lDc/IDvvVAGdKbfkcN4jCdS0xHQ3RdjMGEMtxeh25+b/QGXAyGokhw+g== X-Received: by 10.28.142.213 with SMTP id q204mr27411797wmd.69.1460011419167; Wed, 06 Apr 2016 23:43:39 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id t7sm6824565wjf.39.2016.04.06.23.43.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Apr 2016 23:43:37 -0700 (PDT) Sender: Baptiste Daroussin Date: Thu, 7 Apr 2016 08:43:36 +0200 From: Baptiste Daroussin To: Michael Grimm Cc: freebsd-ports@freebsd.org Subject: Re: pkg-1.7.0 is an order of magnitude slower than pkg-1.6.4 Message-ID: <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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="SWsnvgFfkTS2ATo5" Content-Disposition: inline In-Reply-To: <05DDCF70-8865-4F1F-A264-3000B8EF5244@ellael.org> User-Agent: Mutt/1.5.24 (2015-08-30) 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: Thu, 07 Apr 2016 06:43:41 -0000 --SWsnvgFfkTS2ATo5 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 02, 2016 at 02:59:06PM +0200, Michael Grimm wrote: > Baptiste Daroussin wrote: > >=20 > > On Sat, Apr 02, 2016 at 02:42:06PM +0200, Michael Grimm wrote: >=20 > >> 26 seconds for 74 ports within a jail and pkg-1.6.4: > [=E2=80=A6] > >> 309 seconds for the very same 74 ports within the very same jail and p= kg-1.7.0: > [=E2=80=A6] > >> Is this an expected slow-down? /usr/ports/UPGRADE and https://svnweb.f= reebsd.org/ports/head/ports-mgmt/pkg/?view=3Dlog are not indicating that be= havior. > >> But I might have missed something. > >>=20 > >> Any feedback is highly appriciated, thanks, and regards, > >=20 > > pkg 1.7 is IO intensive that may explain. >=20 > Ok, understood. >=20 > JFTR: perl (24s), python27 (44s), and ruby (125s) take the longest time t= o reinstall. >=20 > > I plan to readd some improvements on this side before 1.8 >=20 > Good to know, thanks for your feedback. Just to follow up on the performance issue, there is a regression that happ= ened on FreeBSD 10.3-RELEASE (also HEAD) that causes pkg extraction process to b= e 10 times slower as it should. r297626 fixes it in head. We are working on brin= ging that into the 10 branch: https://svnweb.freebsd.org/base?view=3Drevision&revision=3D297626 Best regards, Bapt --SWsnvgFfkTS2ATo5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXBgGYAAoJEGOJi9zxtz5avmsQAIbhs+uWkmQroSJSYRxLOsX0 ivTfYd6J0GdrAAaiQT7vKaktlCSVISbYsjAyanLlIEMrD+goJB+c8zl7Zud2G3xS gr17r27nykLC8Wwo6G3pa816sKh9N97Ha16NKasiNY3Rk6V6/gW6iatoObBHSEEG iTBgwy51yaVOz1NI0IjS6rXqINxTJTlU1To/DIWEDCxjH9qT9b8Th4lw4xSGU4qD 1xXiiku7e8Ywi5dE54JJAP+8eoD1f9/RftUtk1FDXQbxpyopMPCD86dNDfoNAavY NJV9oEMvqrVXoJyms/tN0WlrBD7tJ1PJjLRwG6E6T1/rDjKVJfXpVmQhCxytyBY/ 6vbCo7lIAEnYQHbF8BBhVVzQoRX5GS1oH0W3KwCPAUyhLeroaYILosbc0P+jVAE2 tqo+iHiD0TZX6vO76m3Un2I8tmFnJzy9QLaYfi1ZIDfaE/0Eiq7ZwxA66M94IRkO 72w6q7KPtk8px7zgJGrckA2j89gsW2uN5COETAYPKtz33aElHFigmkHR2T+t9b6K Ja4Qhb7U4FW4SyKacNKbfMLmvKvjMmeJcBHT+R8cjbLTXwa5UnmmhN4VmvBIqC3J zw+1Y71cSp0dMaD10AE4z7Q1L9aCq36svcYjB5CpVb6rRF72wYdVaoLXmrKLKPuN 4AEsB6ENCFTVakDKHg8H =rV00 -----END PGP SIGNATURE----- --SWsnvgFfkTS2ATo5--