[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Slow package database



On Friday 30 March 2007 22:25, Florian Weimer wrote:
> * Christoph Haas:
> > What might be the cause? Is there some fragmentation effect?
>
> It's probably ext3's directory hashing.  It tries to access the files
> in /var/lib/dpkg/info in hash order, which leads to essentially random
> disk I/O.

I think you are right. It's ext3 here. And I just "cp -a" the info 
directory and now everything is amazingly fast. Although copying the 
directory took half a minute.

Is there anything that I can do about it? Tuning the ext3 partition? Or is 
somebody capable of turning the info directory into - say - an sqlite 
database or in future Debian releases?

Cheers
 Christoph
-- 
~
~
".signature" [Modified] 1 line --100%--                1,48         All



Reply to: