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.54) id 1FKGLO-0002ee-4l for garchives@archives.gentoo.org; Fri, 17 Mar 2006 14:54:22 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5.20060308/8.13.5) with SMTP id k2HErNF4003863; Fri, 17 Mar 2006 14:53:23 GMT Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.200]) by robin.gentoo.org (8.13.5.20060308/8.13.5) with ESMTP id k2HEnQB1020859 for ; Fri, 17 Mar 2006 14:49:26 GMT Received: by wproxy.gmail.com with SMTP id 36so626777wra for ; Fri, 17 Mar 2006 06:49:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=U+SM3ZOwME75/UGperHCDiEtcN+az5edqb4p7MhWZcH/keHa0tTIMgfEQU3mUJCJ6cUUU/UYM7EUHk65ELvpbQg6tYD5hWFCquFWGAzfwIHnDQ6/4YILHZc/QT0C1+8tVsVAFwxwdPRyFeB+vFdGVvO3fHecEWSxEjaxqGQBAcg= Received: by 10.65.236.6 with SMTP id n6mr240559qbr; Fri, 17 Mar 2006 06:49:25 -0800 (PST) Received: by 10.65.84.9 with HTTP; Fri, 17 Mar 2006 06:49:25 -0800 (PST) Message-ID: <72bdee2f0603170649g2065de0buf7f780d16c919ed2@mail.gmail.com> Date: Fri, 17 Mar 2006 15:49:25 +0100 From: "Andreas Claesson" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] What on Earth is Portage doing for so long? In-Reply-To: <441AC310.7010906@veldy.net> 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 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <441ABC69.5000406@veldy.net> <441AC310.7010906@veldy.net> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k2HEnQB1020859 X-Archives-Salt: 46d1c3e1-881d-4d29-9127-30d05058702c X-Archives-Hash: 156302d4cc51d771ede0571c8b125432 On 3/17/06, Thomas T. Veldhouse wrote: > Bruno Lustosa wrote: > > Good question :) > > But one way to speed this up is to use CDB, so that instead of keeping > > cache in separate files, it's all in one, resulting in a *much* faster > > cache update. > > There are directions here: > > > > http://gentoo-wiki.com/TIP_speed_up_portage_with_cdb > > > > > Interesting ... and thanks for the tip. I am concerned about all the > warnings of breakage though. I need this on my server, which is my > production firewall at the moment. I would hate to have this fail. > A safer way is to update to a newer version of portage. In portage-2.1 the cache update code is rewritten and it is much faster then before (but maybe not as fast as CDB). The biggest reason for the slower update now compared to a year ago, is that the total number of packages in the tree have increased. The old code did not handle this very well. Since this is a server, you probably don't use kde. Excluding all kde split packages from the portage tree will speed things up a lot. Create an rsync exclude file and add RSYNC_EXCLUDE="path_to_file" to your make.conf. Look in man pages for rsync for details. /Andreas -- gentoo-user@gentoo.org mailing list