tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David kerber <dcker...@verizon.net>
Subject Re: Tomcat vs IIS download speed - configuration suggestions?
Date Thu, 10 Jan 2013 14:31:46 GMT
On 1/10/2013 8:56 AM, Linoma DevTeam wrote:
> Hi everyone,
>
> I'm running some comparison tests with tomcat 6.0.35 and IIS running in
> parallel on Windows Server 2008 R2.  Now I would expect Tomcat to be
> somewhat slower, given the extra JVM layer, but in some situations, i'm
> seeing differences that are tough to swallow.

What JVM are you running under?  Is it running the client or server 
version?  I've found huge performance improvements in some kind of 
operations under a server JVM compared to client ones.

D


>
> Downloads
> IIS         ~3.7 MB/s
> Tomcat  ~350 KB/s
>
> Test Details:
> I placed a ~500MB file in the document root of the web app on tomcat and
> set up an HTTPS connector.  Then I set up IIS with the same file and an
> HTTPS listener.  I configured the cipher suite in tomcat to be the same one
> that was negotiated between IIS and my Chrome browser.  Finally, I set the
> JVM max memory to 1024MB with a min of 900MB to reduce the impact of the GC
> and the memory allocation.
>
> I'm using HTTP/1.1 connectors with pretty standard configuration:
>
> <Server port="9005" shutdown="SHUTDOWN">
>
> <Service name="admin">
> <Connector port="9080" />
>
> <Connector port="9443" protocol="HTTP/1.1"
> SSLEnabled="true" enableLookups="false" disableUploadTimeout="true"
> scheme="https" secure="true" clientAuth="false" sslProtocol="TLS"
> algorithm="SunX509" keystoreFile="C:\temp\sample_keystore.jks"
> keystorePass="password" keyAlias="sample-key" keystoreType="JKS"
> truststoreFile="C:\temp\sample_truststore.jks" truststorePass="password"
> truststoreType="JKS" />
>
> <Engine name="admin" defaultHost="localhost">
> <Host name="localhost" appBase="webapps"
> errorReportValveClass="com.company.CustomErrorReportValve">
> <Context path="/sample" docBase="C:\temp\application\WebRoot"
> reloadable="false">
> <Loader delegate="true" />
> </Context>
> </Host>
> </Engine>
> </Service>
> </Server>
>
> So, I extend the question of, why would tomcat only be able to reach 10% of
> the speed IIS is able to server when running parallel tests?  Any
> suggestions on configurations that I could adjust on Tomcat, the JVM, or
> operating system that improve that download speed?
>
> Thanks in advance!
>


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


Mime
View raw message