CPU hogging in the current master
Linus Torvalds
torvalds at linux-foundation.org
Thu Sep 26 12:37:37 UTC 2013
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..
Linus
More information about the subsurface
mailing list