axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sloan Seaman" <sl...@sgi.net>
Subject Re: Performance degradation with 1.1RC1
Date Mon, 28 Apr 2003 19:11:13 GMT
>From what I've seen using tools like JProbe's Memory Profiler, Axis causes
heavy Garbage collection (something like 14000+ objects) every .05 seconds.

If I run my app from the command line it takes 5 seconds.  If I run it under
Struts/Tomcat (what it is designed for) the GC occurs so much for Axis's
objects that the performance drops to 52 seconds.

I made sure it is not my app (which usues only 150 objects total).....

Since I create my own SOAP envelope and then use the SOAPElements to parse
the results (long story as to why I have to do this) the SOAPElement
population piece is what kills the performance... It generates (with no
noticable object re-usability) thousands of objects every few micro
seconds...  The GC has a hard time keeping up.

This is just a theory of course...

--
Sloan

----- Original Message ----- 
From: "Tom Jordahl" <tomj@macromedia.com>
To: <axis-user@ws.apache.org>
Sent: Monday, April 28, 2003 2:57 PM
Subject: RE: Performance degradation with 1.1RC1


>
> So the question is WHY?
>
> Can you help find the answer?
>
> The first (ugly) way this might be done is to get the two source trees and
check the differences between them.  Then back out certain "suspicious"
changes to see if that improve things.
>
> You can also try the latest CVS source, as Dims has submitted a change
that caches some (expensive) things.
>
> --
> Tom Jordahl
> Macromedia Server Development
>
> -----Original Message-----
> From: Ron Ridenour [mailto:rridenour@siterra.com]
> Sent: Monday, April 28, 2003 2:41 PM
> To: axis-user@ws.apache.org; dims@yahoo.com
> Subject: RE: Performance degradation with 1.1RC1
>
> Sorry about the subject line above.
> The performance drop is between RC1 and RC2.
> The drop is so significant that RC2 is all but
> unusable. I have had posts that were taking
> a few seconds, now take 12, 20, or 40 seconds
> per post.
>
> I am using arrays, maps of arrays, and type inheritance.
> Basically I have a JavaBeans Graph where I have
>
> Class Model
> Class A extends Model
> Class B extends A
> Class C extends B
> Class D extends B
> Class E extends B
> Class F extends B
>
> Class User extends A
> Class Role extends B
>
> Class Attribute
> Class AttributeKey
>
> C contains a HashMap of Attributes keyed by AttributeKey
> C contains a HashMap of User [] keyed by Role
> C contains contain arrays of D, E, F
>
> C is the single parameter to be passed to the service.
>
> This model runs with acceptable speed on RC1 but screetchs to a halt
> on RC2. Please help.
>
>
>
> -----Original Message-----
> From: Davanum Srinivas [mailto:dims@yahoo.com]
> Sent: Sunday, April 27, 2003 8:21 AM
> To: axis-user@ws.apache.org
> Subject: RE: Performance degradation with 1.1RC1
>
>
> Stephen,
>
> Sounds Serious. We should try to fix this ASAP (in 1.1 Final). Any help in
> diagnosing/narrowing-down the cause would be helpful.
>
> Thanks,
> dims
>
> --- Stephen Graham <sg3@bigpond.com> wrote:
> > I've also seen performance with RC2 degrade sharply. It so bad, that we
> > don't use RC2 anymore - we've gone back to RC1. My preliminary
> > investigations into this showed the deserialisation of Vectors to be a
major
> > bottleneck, but as yet I haven't been able to find out anything else -
not
> > enough time!
> >
> > Regards
> > Stephen.
> >
> > > -----Original Message-----
> > > From: Ekbote, Niranjan [mailto:NEkbote@doubleclick.net]
> > > Sent: 26 April 2003 10:17 AM
> > > To: 'Ron Ridenour '; 'axis-user@ws.apache.org '
> > > Subject: RE: Performance degradation with 1.1RC1
> > >
> > >
> > > Actuallty I have noticed that too. I didn't play around with
> > > 1.1 beta too much but it seems 1.1RC2 is in general a litte
> > > slower than the previous versions. Especially my Axis1.0 WS
> > > seems slower with 1.1RC2.
> > >
> > > Thanks!
> > >
> > > -- Niranjan.
> > >
> > >
> > > -----Original Message-----
> > > From: Ron Ridenour
> > > To: axis-user@ws.apache.org
> > > Sent: 4/25/2003 7:58 PM
> > > Subject: Performance degradation with 1.1RC1
> > >
> > > I am seeing a significant performance degradation between
> > > 1.1 Beta and 1.1RC1. Posts that take a second or two now
> > > take 10 to 20 or more seconds.
> > > There is a critical bug to this effect but no visible action.
> > > Does anyone know the status of this bug.
> > >
> > > Thanks
> > > Ron
> > >
> >
>
>
> =====
> Davanum Srinivas - http://webservices.apache.org/~dims/
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
>


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________

Mime
View raw message