CPU hogging in the current master

Dirk Hohndel dirk at hohndel.org
Thu Sep 26 13:40:54 UTC 2013


On Thu, 2013-09-26 at 12:37 -0700, Linus Torvalds wrote:
> On Thu, Sep 26, 2013 at 11:56 AM, Linus Torvalds
> <torvalds at linux-foundation.org> wrote:
> >
> > Sadly, it seems to be mostly in malloc/__int_free/malloc_consolidate,
> > which is driven off libxml.
> 
> Yes, and trying to make the samples smaller, ie turning
> 
>   <sample time='0:00 min' depth='1.33 m' temp='30.0 C' pressure='203.36 bar' />
> 
> into
> 
>   <s t='0:00 min' d='1.33 m' temp='30.0 C' p='203.36 bar' />
> 
> does make a noticeable reduction in file size (~25%) but helps
> performance much less due to similar number of xml nodes.
> 
> Doubly sadly, we now rely on libxml doe all the xslt transform crud.
> Otherwise we could switch to 'expat' which looks to be much
> lower-overhead..

I though our conclusion had been to walk away from XML and do a straight
forward parser instead...?

/D



More information about the subsurface mailing list