prelink process using too much CPU

Mike McCarty Mike.McCarty at sbcglobal.net
Fri Jun 29 19:31:49 UTC 2007


Jakub Jelinek wrote:
> On Fri, Jun 29, 2007 at 12:08:20PM -0500, Mike McCarty wrote:
> 

[about prelink being quick]

>>That is not my experience, but I use an old version of Fedora.
>>Has prelink been made smarter? It churns through all my discs
>>for about 15 to 30 mins each time.
> 
> 
> Yes, several.  E.g. /etc/cron.daily/prelink won't do anything up to 7 days
> since last prelinking, if rpm database has not been modified.
> prelink.cache now includes even negative hits - files that aren't
> prelinkable, so all it needs to do in quick mode is stat all the files
> in the directories that are given in prelink.conf and not in blacklisted
> and compare the timestamps, ino_t/dev_t's of the files with those stored
> in the cache.  Only what has been modified and whatever depends on the
> modified libraries is prelinked.

Those all sound like good changes. It's still not something I
consider worth doing, but those are indeed improvements.

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!




More information about the fedora-list mailing list