From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1FjTrl-0008FU-4h for garchives@archives.gentoo.org; Fri, 26 May 2006 04:24:01 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.6) with SMTP id k4Q4I4iw008376; Fri, 26 May 2006 04:18:04 GMT Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by robin.gentoo.org (8.13.6/8.13.6) with ESMTP id k4Q40uxX005365 for ; Fri, 26 May 2006 04:00:56 GMT Received: by py-out-1112.google.com with SMTP id x31so7172pye for ; Thu, 25 May 2006 21:00:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=GG4F9glYwnzP/vWmSf2Y4+zBoheDUAVBzbhhqns03ZSeOqqlh55pFrnWFIx0NHQATWvrnwVpg9WRAukpSwnoF8gInOK71RoALjc7/dfYKeb4Us06MTdO236jWO3dxti36mh+HeYGpESToTdPBjzFJ5kAXLnjj825qULyGhcsQn0= Received: by 10.35.95.12 with SMTP id x12mr29668pyl; Thu, 25 May 2006 21:00:56 -0700 (PDT) Received: from ?192.168.0.2? ( [64.180.41.36]) by mx.gmail.com with ESMTP id y21sm21451pyd.2006.05.25.21.00.55; Thu, 25 May 2006 21:00:55 -0700 (PDT) Message-ID: <44767D70.6060002@gmail.com> Date: Thu, 25 May 2006 21:00:48 -0700 From: Ryan Tandy User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Now Know Why Portage Is So Slow References: <20060525193011.GA31991@halffull.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: db9511f5-5c9f-4500-942f-d32e2c56ca8f X-Archives-Hash: 416ee975dd9c41fca2bca80851aa7b1a Lord Sauron wrote: > On 5/25/06, Thomas Kirchner wrote: >> * On May 25 11:45, Lord Sauron (gentoo-user@lists.gentoo.org) wrote: >> > I've found (after much exploration) that there is a archive: >> > /portage-20060123.tar.bz2 >> Much exploration? Forgive my amazement and please don't be *too* terribly offended by the rudeness of what I'm about to type, but... you call `ls /` 'much exploration'?? > That's curious. So I can delete this tarball then? > Yes. In fact, someone should tell the Installer people that it should clean up after itself. >> > It takes about as long to start going as it does to open the archive >> > /portage-20060123.tar.bz2 - conincidence? I think not! >> >> I think so ;) > > If it's not, then I really need to ask why on earth portage takes so > long to just index and search packages that took apt-get much less > time to work with. I don't think it should be this slow. I'm not > even talking about compile-times - I know and expect those to be slow, > but just raw package searching and stuff is not that fast. > The time is how long it takes for python to 'import portage'. Unfortunately that's a limitation of the portage code - that even minor metadata searches and such can't take place without a full 'import portage'. The import is a cached process, so the metadata only has to be loaded from disk once, and is quickly used from RAM each time thereafter. If speed when searching packages is an issue, try app-portage/eix or http://gentoo-portage.com. -- gentoo-user@gentoo.org mailing list