Mailinglist Archive: zypp-devel (92 mails)

< Previous Next >
Re: [zypp-devel] DiskUsage calculation status (libzypp-3.13.12)
  • From: Duncan Mac-Vicar Prett <dmacvicar@xxxxxxx>
  • Date: Tue, 7 Aug 2007 14:41:56 +0200
  • Message-id: <200708071441.57162.dmacvicar@xxxxxxx>
On Saturday 04 August 2007 01:34:00 Michael Andres wrote:
> On Sat, Aug 04, Michael Andres wrote:
> > - Susetags DiskUsage parser is done, and feeds the data to the
> >   CacheStore via CacheStore::consumeDiskUsage.
>
> Parsing ALL metadata file for 10.3 takes about 4.32 sec.
>
> But when writing them to the database, CacheStore::consumeDiskUsage
> is too slow.
>
> The whole packages files takes about 40 sec., but I aborted the
> packages.DU after 10 minutes.
>
> Duncan, please check consumeDiskUsage. Some du-enties take more than a
> minute.
>
> I disabled the DU parsing in zypp/parser/susetags/RepoParser.cc,
> line 429.

I just implemented some "smartness" for the parser.

First, it assumes YaST would set the system partitions, if they are empty, it 
tries to detect them:
-- 
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >