Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-performance
Lists: gentoo-performance: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-performance@g.o
From: Jesse Guardiani <jesse@...>
Subject: Re: portage performance
Date: Fri, 16 Jul 2004 19:26:12 -0400
Jerry McBride wrote:

> Jesse Guardiani wrote:
>> Hello,
>> First off, sorry if this isn't the right place!
>> I didn't see anything more appropriate though, except
>> perhaps Portage-dev, but I'm not a developer.
>> I'm a FreeBSD user switching to Gentoo for my home
>> system. Linux 2.6 is a LOT more stable than any
>> FreeBSD 5.x-RELEASE kernels right now, and Linux
>> has much better support for Wine and such.
>> One of the most obvious differences between FreeBSD
>> ports and Gentoo Portage is how LONG it takes to
>> search for ports/packages with Portage.
>> I have 525 ports installed on my FreeBSD laptop right
>> now, and probably only half of that installed on the
>> Gentoo machine, but the gentoo machine crunches a lot
>> more doing a --search than the FreeBSD machine does
>> with a pkg_version -vs 'name'.
>> And forget about --searchdesc! That takes ages!
>> Is portage not hash indexed or something?
> The BIG hitch in portage is the database's file system
> based. Basicly it's thousands of small text files... you want to update
> the database?.... open, read, close over and over again....
> It sucks.
> Portage is crying for an sql database backend... mysql, sqllite, mmsql...
> anything would be nice.
> Tell us more about your bsd ports, it sounds interesting...

I believe FreeBSD uses an INDEX file in /usr/ports/INDEX, and then
compiles that file into a berkeley DB file or something in /usr/ports/INDEX.db.

I'm not really very fond of FreeBSD ports these days, actually.
It has the feel of something hackish, in desperate need of a
good bottom-up redesign.

I'm starting to think that Gentoo's Portage is superior in almost
all ways, but I do think this search speed thing needs to be
dealt with.

I'm using esearch now, which is nice, but rebuilding the database is
a royal pain in the rear, and the database isn't kept in sync between
emerge runs.

If the esearch database could be updated without having to rebuild
the entire thing (or at least without having to look at the filesystem
to rebuild the entire thing) after every emerge operation then I think
we'd be doing well.

Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)

gentoo-performance@g.o mailing list

Re: Re: portage performance
-- Bart Alewijnse
portage performance
-- Jesse Guardiani
Re: portage performance
-- Jerry McBride
Lists: gentoo-performance: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: portage performance
Next by thread:
Re: Re: portage performance
Previous by date:
Re: portage performance
Next by date:
Re: Re: portage performance

Updated Jun 17, 2009

Summary: Archive of the gentoo-performance mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.