________________________________________ From: Mark Thomas [ma...@apache.org] Sent: Friday, August 08, 2014 1:44 PM To: Tomcat Users List Subject: Re: Tomcat 7 to 8 Upgrade - Performance Degradation > >On 06/08/2014 00:54, Peter Rifel wrote: >> Hello, >> >> I am in the process of upgrading from Tomcat 7.0.54 to Tomcat 8.0.9 and am >> seeing some performance degradation in my webapp. >> >> Configuration info: >> >> Ubuntu 14.04.1 LTS >> java version "1.8.0_11" >> Java(TM) SE Runtime Environment (build 1.8.0_11-b12) >> Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode) >> >> Both versions of tomcat use the APR Connector with TC Native 1.1.31 >> statically linked against APR 1.5.1 and OpenSSL 1.0.1h >> >> >> I'm running identical requests to identical web apps between these tomcats >> and in Tomcat 8 I'm seeing an ~20% response time increase and as such a >> similar reqs / sec decrease. After using VisualVM to profile the >> application I've narrowed it down to the JRE's JAXP library taking >> significantly longer to create its xml validation "SchemaFactory" which >> doesn't make sense to me because I'm using the same JRE in both tests. I >> know that the Resources implementation was overhauled in Tomcat 8 so is >> there any possibility that this could be a side effect? > >I've taken a look and there is certainly part of the code that is making >repeated calls to the resources implementation where the result isn't >cached. For class loader resources it is currently the class loader that >is responsible for caching. It might make sense to change that. I'll >take a closer look. There is no guarantee that this will fix the issue >you are seeing. Are you able to build 8.0.x from svn to test any changes >that are made? > >Cheers, > >Mark >
Yes I can build from svn to test changes. Do you want me to file a BZ case? Thanks for looking into this, Peter --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org