xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Heninger" <an...@jtcsv.com>
Subject Re: Xerces multithreaded performance
Date Fri, 16 Mar 2001 17:25:31 GMT
You don't say whether you  are using xerces-c or xerces-j.
But the Xerces-C DOM does have the scalability problems that
you are seeing.

I've prototyped an alternative DOM implementation that
works better in multithreaded environments on SMP machines.
More info on this is at http://www.apache.org/~andyh/

Andy Heninger
IBM XML Technology Group, Cupertino, CA

----- Original Message -----
From: "Lyle Coder" <x_coder@hotmail.com>
To: <general@xml.apache.org>
Sent: Thursday, March 15, 2001 12:03 AM
Subject: Xerces multithreaded performance

> Hi,
> I am using the Xerces DOM API.  When I am creating DOMs simultaneously
> different threads, I have a serious performance bottle neck.  Many
times, my
> application just STALLS and I use GDB to break in and see where the
stall is
> and it is ALWAYS in Xerces where I am calling some Xerces allocation
> function like
> XercesElement->createElement()
> I mean... I get better performance with just one thread.  And if you are
> wondering, my code does not hold any locks at all (no semaphores), so I
> it is not my program thats the bottle neck
> So the question is, has any one else seen this, and if so, do you have a
> solution
> Thanks
> Lyle

In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org

View raw message