On Dec 8, 2009, at 4:26 PM, Jeff Johnson wrote:
>
> I'll leave the existing --rebuilddb as "opt-in" with a compile time toggle
> until, say, Friday 12/11/2009 for comments before
> hauling out the trash from rpmdb/rpmdb.c.
>
Here's wallclock measurements for 1407 packages and inplace --rebuilddb:
# /usr/bin/time rpm --rebuilddb -vv
5.91user 6.16system 0:21.33elapsed 56%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+7519512outputs
(0major+77101minor)pagefaults 0swaps
Sadly, multi-threaded (w -fopenmp) --rebuilddb is not possible. Otherwise
I'l like cut 21.33 secs by the no. of cpu's.
The guts of rpmdbRebuild() will move to rpmtsRebuildDB(), and rpmdbRebuild() will
be eliminated when I haul out the trash on Friday.
Not sure its worth waiting until Friday trash collection, but I will.
73 de Jeff
Received on Wed Dec 9 05:10:45 2009