Jerry McBride wrote:
> Jesse Guardiani wrote:
>> 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 strategy....it'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
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
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)
email@example.com mailing list