Re: [xml] Query: Libxml performance on multiprocessor system



On Fri, Sep 29, 2006 at 06:09:02PM +0530, harbhanu wrote:
   We tried to get the performance of Libxml (version-2-2.6.23) on a
multiprocessor environment, with two threads running simultaneosly [ Kernel
level threads ].

   And were expecting that the performance will scale up, but instead the
performance recorded is almost similar [3% more] to what we get for single
thread.

 

   Each thread parses the xml document using xmlSAXUserParserMemory.

  

   Can anyone help me to identify the root cause for this??

  Use a profiler and make sure that what you count is actually libxml2
work and not something else... like the memory allocator.

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/



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