From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15696 invoked by uid 1002); 24 Jun 2003 23:02:34 -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 29033 invoked from network); 24 Jun 2003 23:02:34 -0000 From: Tony Clark To: gentoo-dev@gentoo.org Date: Wed, 25 Jun 2003 01:02:33 +0200 User-Agent: KMail/1.5.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200306250102.33521.tclark@telia.com> Subject: Re: [gentoo-dev] maybe it is time to put portage queries into a database. X-Archives-Salt: 7883e6a5-3719-4266-bab4-307d86e7145f X-Archives-Hash: 9f05b07873b925ee9d968892db3249bf On Wednesday 25 June 2003 00.33, Anthony Floyd wrote: > [snip] > > >tony@power tony $ time emerge -S zope > > [snip] > > >real 1m23.409s > >user 0m26.580s > >sys 0m11.130s > > How important is this? Well consider the following on an "old" > machine (PP200): > > # time emerge -S zope > [snip] > real 6m38.645s > user 2m16.580s > sys 0m10.930s > > So, while I agree that this pushes the bounds of patience, I don't want > to be required to install MySQL or any other db engine just to run > portage. I'm sure many others don't want that other. However, having > an optional component, say capable of handling multiple databases and > activated with USE flags ... that makes sense. Ideally, optimizing the > current system without requiring a massive db engine would be better, > though. The problem is that the current system doesn't scale well as it is all text based files. There is already caching so if you make the same query and it is still in the cache things go a lot faster. It is also creating a lot of unnecessary network traffic where portage isn't local to the machine. Not a big issue yet most likely but it could be an issue when more media streaming comes into play. tony -- Contract ASIC and FPGA design. Telephone +46 702 894 667 http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x633E2623 -- gentoo-dev@gentoo.org mailing list