From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11797 invoked from network); 2 May 2004 10:06:01 +0000 Received: from smtp.gentoo.org (128.193.0.39) by eagle.gentoo.oregonstate.edu with DES-CBC3-SHA encrypted SMTP; 2 May 2004 10:06:01 +0000 Received: from lists.gentoo.org ([128.193.0.34] helo=eagle.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.24) id 1BKDrE-0006Hj-Td for arch-gentoo-dev@lists.gentoo.org; Sun, 02 May 2004 10:06:00 +0000 Received: (qmail 20453 invoked by uid 50004); 2 May 2004 10:05:59 +0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 7643 invoked from network); 2 May 2004 10:05:59 +0000 From: Jason Stubbs To: gentoo-dev@lists.gentoo.org Date: Sun, 2 May 2004 19:04:16 +0900 User-Agent: KMail/1.6.2 References: <1083296558.8842.127.camel@woot.uberdavis.com> <20040502034034.GA26131@cerberus.oppresses.us> In-Reply-To: <20040502034034.GA26131@cerberus.oppresses.us> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200405021904.20160.jstubbs@gentoo.org> Subject: Re: [gentoo-dev] Re: 2004.2 Feature Requests X-Archives-Salt: 5bd61bd2-3956-4352-84a4-5ae36194bd82 X-Archives-Hash: 16f3e4e38edee245cb6b7bacbe0f4e8c =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday 02 May 2004 12:40, Jon Portnoy wrote: > On Sat, May 01, 2004 at 01:46:00PM -0400, Jerry McBride wrote: > > Move away from the filesystem database that portage currently uses to > > something with a bit more perfomance... mysql, sqlite even postgres... = An > > SQL backend interface would be WONDERFUL. > > > > Port portage to c or c++. Python sucks in the performance department... > > If not port to c then atleast start using psyco for a small perf boost.= =2E. > > Rebuilding the cache (reading files) after a sync is... terrible... What > > a kludge... > > The performance issues are db-related, nothing at all to do with Python. The performance issues are partially db-related, but the biggest "problem" = is=20 having to call bash. The current caching in portage is still stored in a=20 file-based "database". The difference in access times of the portage databa= se=20 and the cache is that the cache files have a set format. Dropping the cache "kludge" and reading directly from the portage database= =20 (whether flat-file or sql or whatever) would require huge changes in the=20 structure of ebuilds themselves. At minimum, it would require no usage of=20 bash in the global section. This is something that will need a *lot* of wor= k. Regards, Jason Stubbs =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iQCVAwUBQJTHo1oikN4/5jfsAQJw0gP/Q4d+A8x2iXPPwheO8j5g06ppAWQMGMB3 US1KqkK3ECp0Gjq1aSCMkEycadcbgByO0GE+boKciLSKf2Fqvceit4XTTsL3cco5 ZO+YaTObO/ihfNYuNw/q58cvYpfjYyk+IgJ0LEnxL+rrtfmq3e5fQ2brRT32B8dj ICxTHxJ/Np4=3D =3DKm24 =2D----END PGP SIGNATURE----- -- gentoo-dev@gentoo.org mailing list