Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 65B0ED735 for ; Thu, 10 Jan 2013 14:03:49 +0000 (UTC) Received: (qmail 65841 invoked by uid 500); 10 Jan 2013 14:03:46 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 65782 invoked by uid 500); 10 Jan 2013 14:03:46 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 65773 invoked by uid 99); 10 Jan 2013 14:03:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2013 14:03:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dckerber@verizon.net designates 206.46.173.9 as permitted sender) Received: from [206.46.173.9] (HELO vms173009pub.verizon.net) (206.46.173.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2013 14:03:38 +0000 Received: from [172.17.47.42] ([unknown] [64.17.225.82]) by vms173009.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MGE00J7UXOY1DG1@vms173009.mailsrvcs.net> for users@tomcat.apache.org; Thu, 10 Jan 2013 08:02:59 -0600 (CST) Message-id: <50EECA12.7060504@verizon.net> Date: Thu, 10 Jan 2013 09:02:58 -0500 From: David kerber User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-version: 1.0 To: Tomcat Users List Subject: Re: Tomcat vs IIS download speed - configuration suggestions? References: In-reply-to: Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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. Are you using tcnative? > > 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: > > > > > > > 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" /> > > > errorReportValveClass="com.company.CustomErrorReportValve"> > reloadable="false"> > > > > > > > > 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