Portmaster questions (Was: Re: Using Portupgrade?)
Marcin Wisnicki
mwisnicki+freebsd at gmail.com
Mon Aug 4 16:05:20 UTC 2008
On Sun, 03 Aug 2008 22:14:54 -0700, Doug Barton wrote:
> It's really not appropriate to hijack the portupgrade thread for this,
> so I'm starting a new subject. Also, please respect followups to -ports.
>
> Alex Goncharov wrote:
>> Don't remember everything of that sort but here are a couple of things
>> I would like to ask portmaster users' opinion and advice about:
>>
>> 1. I see a significant difference in the time it takes to get the same
>> information using the two tools:
>
> As I understand it, portupgrade uses the INDEX file to determine whether
> ports are up to date.
Actually I think it uses bdb "cache" of index (INDEX-7.db) and also lies
about it (says "up-to-date with port" instead of "up-to-date with index").
It's not even doing a good job at it, standard pkg_version significantly
outperforms it:
# time portversion -v | wc -l
769
real 0m15.027s
user 0m9.235s
sys 0m5.173s
# time pkg_version -Iv | wc -l
769
real 0m4.707s
user 0m3.648s
sys 0m0.798s
More information about the freebsd-stable
mailing list