[Yum-devel] metadata parser in C

Brian Long brilong at cisco.com
Fri May 12 13:25:01 UTC 2006


On Fri, 2006-05-12 at 15:55 +0300, Tambet Ingo wrote:
> On Thu, 2006-05-11 at 14:53 -0400, seth vidal wrote:
> > > > 4. change the filelists sqlite format to speed up searches
> 
> This is debatable I guess, I tried to add a row per package file to
> filelist table, it takes about 5 times longer with that change. 2
> seconds vs 10 seconds. 58714 rows vs 432937 rows.
> 
> Oh, btw, if you're wondering what's the XML parsing and writing to
> sqlite tables ratio is, it's about 25% parsing and 75% writing currently
> and about 7% parsing, 93% writing with the change. People with slower
> disks (laptops) would most likely be annoyed with ~10 second write.
> 
> > check into cvs
> > http://devel.linux.duke.edu/cgi-bin/viewcvs.cgi/yum-metadata-parser/
> 
> Awesome, thanks.
> 
> Tambet

Tambet, Seth et al,

Is there any chance this new parser would work or be backported to the
yum-2.4 branch?  The only reason I ask is because we have 2.4.2 deployed
on thousands of nodes and we'd love to experiment with the new parser
improving the speed of yum on these existing nodes.

/Brian/

-- 
       Brian Long                      |         |           |
       IT Data Center Systems          |       .|||.       .|||.
       Cisco Linux Developer           |   ..:|||||||:...:|||||||:..
       Phone: (919) 392-7363           |   C i s c o   S y s t e m s




More information about the Yum-devel mailing list