Rafael,

On 12/23/15 2:12 PM, Rafael Oliveira de Mattos wrote:
> Christopher,
> 
> Tomcat 6: boot.log
> INFORMA합ES: Loaded APR based Apache Tomcat Native library 1.1.33 using APR 
> version 1.5.2.
> dez 14, 2015 5:32:14 PM org.apache.catalina.core.AprLifecycleListener init
> INFORMA합ES: APR capabilities: IPv6 [true], sendfile [true], accept filters 
> [false], random [true].
> dez 14, 2015 5:32:15 PM org.apache.coyote.http11.Http11AprProtocol init
> INFORMA합ES: Initializing Coyote HTTP/1.1 on http-8180
> dez 14, 2015 5:32:15 PM org.apache.coyote.ajp.AjpAprProtocol init
> INFORMA합ES: Initializing Coyote AJP/1.3 on ajp-8109
> dez 14, 2015 5:32:15 PM org.apache.catalina.startup.Catalina load
> INFORMA합ES: Initialization processed in 1155 ms
> dez 14, 2015 5:32:15 PM org.apache.catalina.core.StandardService start
> INFORMA합ES: Starting service Catalina
> dez 14, 2015 5:32:15 PM org.apache.catalina.core.StandardEngine start
> INFORMA합ES: Starting Servlet Engine: Apache Tomcat/6.0.36
> dez 14, 2015 5:32:18 PM org.apache.catalina.core.ApplicationContext log
> INFORMA합ES: Initializing Spring root WebApplicationContext
> dez 14, 2015 5:32:25 PM org.apache.catalina.startup.HostConfig 
> deployDescriptor
> INFORMA합ES: Deploying configuration descriptor manager.xml
> dez 14, 2015 5:32:26 PM org.apache.catalina.startup.HostConfig 
> deployDescriptor
> INFORMA합ES: Deploying configuration descriptor host-manager.xml
> dez 14, 2015 5:32:26 PM org.apache.catalina.startup.HostConfig deployDirectory
> INFORMA합ES: Deploying web application directory ROOT
> dez 14, 2015 5:32:27 PM org.apache.coyote.http11.Http11AprProtocol start
> INFORMA합ES: Starting Coyote HTTP/1.1 on http-8180
> dez 14, 2015 5:32:27 PM org.apache.coyote.ajp.AjpAprProtocol start
> INFORMA합ES: Starting Coyote AJP/1.3 on ajp-8109
> dez 14, 2015 5:32:27 PM org.apache.catalina.startup.Catalina start
> INFORMA합ES: Server startup in 11791 ms
> 
> 
> tomcat 8: boot_tomcat8.log
> Dez 23, 2015 7:48:16 AM org.apache.catalina.core.AprLifecycleListener 
> lifecycleEvent
> INFORMAÇÕES: Loaded APR based Apache Tomcat Native library 1.1.33 using APR 
> version 1.5.2.
> Dez 23, 2015 7:48:16 AM org.apache.catalina.core.AprLifecycleListener 
> lifecycleEvent
> INFORMAÇÕES: APR capabilities: IPv6 [true], sendfile [true], accept filters 
> [false], random [true].
> Dez 23, 2015 7:48:16 AM org.apache.coyote.AbstractProtocol init
> INFORMAÇÕES: Initializing ProtocolHandler ["http-apr-8180"]
> Dez 23, 2015 7:48:16 AM org.apache.coyote.AbstractProtocol init
> INFORMAÇÕES: Initializing ProtocolHandler ["ajp-apr-8109"]
> Dez 23, 2015 7:48:16 AM org.apache.catalina.startup.Catalina load
> INFORMAÇÕES: Initialization processed in 2341 ms
> Dez 23, 2015 7:48:23 AM org.apache.jasper.servlet.TldScanner scanJars
> INFORMAÇÕES: At least one JAR was scanned for TLDs yet contained no TLDs. 
> Enable debug logging for this logger for a complete list of JARs that were 
> scanned but no TLDs were found in them. Skipping unneeded JARs during 
> scanning can improve startup time and JSP compilation time.
> Dez 23, 2015 7:48:43 AM org.apache.catalina.util.SessionIdGeneratorBase 
> createSecureRandom
> INFORMAÇÕES: Creation of SecureRandom instance for session ID generation 
> using [SHA1PRNG] took [9,870] milliseconds.
> 
> 
> The apr loader configuration in both setup
> <!--APR library loader. Documentation at /docs/apr.html -->
> <Listener SSLEngine="off" 
> className="org.apache.catalina.core.AprLifecycleListener"/>

Thanks for confirming that: often, we have people with two radically
different setups wanting to know why things are behaving differently.

There have been many changes to the connector code between Tomcat 6 and
Tomcat 8, mostly to make sure that as many code paths are shared between
connectors (BIO, NIO, APR) as possible. I wouldn't have been surprised
to see a measurable performance difference, but I figured it would be on
the order of 10%-25%. Instead, you are seeing a 100%-150% difference.

Someone with more knowledge of the connector code would have to comment
on what may be happening, here.

-chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to