From dev-return-77254-apmail-tomcat-dev-archive=tomcat.apache.org@tomcat.apache.org Thu Dec 14 15:54:31 2006 Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 8079 invoked from network); 14 Dec 2006 15:54:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Dec 2006 15:54:29 -0000 Received: (qmail 30321 invoked by uid 500); 14 Dec 2006 15:54:31 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 30275 invoked by uid 500); 14 Dec 2006 15:54:31 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 30264 invoked by uid 99); 14 Dec 2006 15:54:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Dec 2006 07:54:31 -0800 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [12.11.148.122] (HELO relay2.ptc.com) (12.11.148.122) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Dec 2006 07:54:19 -0800 Received: from hq-ex3fe3.ptcnet.ptc.com ([132.253.201.67]) by relay2.ptc.com with ESMTP; 14 Dec 2006 10:53:58 -0500 X-IronPort-AV: i="4.12,170,1165208400"; d="scan'208,217"; a="180719463:sNHT26083548" Received: from [132.253.11.191] ([132.253.11.191]) by hq-ex3fe3.ptcnet.ptc.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 14 Dec 2006 10:53:57 -0500 Message-ID: <45817394.5090808@ptc.com> Date: Thu, 14 Dec 2006 09:53:56 -0600 From: Jess Holle User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: Serious mod_jk performance issue References: <457ED915.7020506@ptc.com> <458142F4.2060803@apache.org> In-Reply-To: <458142F4.2060803@apache.org> Content-Type: multipart/alternative; boundary="------------070600080404010709020906" X-OriginalArrivalTime: 14 Dec 2006 15:53:57.0715 (UTC) FILETIME=[1096B230:01C71F98] X-Virus-Checked: Checked by ClamAV on apache.org --------------070600080404010709020906 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mladen Turk wrote: > Jess Holle wrote: > > We're seeing a *serious *performance issue with mod_jk and large > (e.g. 500MB+) file transfers. [This is with Apache 2.0.55, Tomcat > 5.0.30, and various recent mod_jk including 1.2.20.] > > SunOS dev12.qa.atl.jboss.com 5.9 Generic_118558-25 sun4u sparc > SUNW,Sun-Fire-V210 > > Tomcat:8080 > Total transferred: 1782932700 bytes > HTML transferred: 1782908800 bytes > Requests per second: 5.60 [#/sec] (mean) > > Apache-mod_jk-Tomcat:8009 > Total transferred: 1782935400 bytes > HTML transferred: 1782908800 bytes > Requests per second: 3.68 [#/sec] (mean) I'm re-reading this once again and: 1. This seems like a fairly substantial degradation for an optimized proxy hop, which is what AJP is. 2. I'm interested in MB/sec for 500+ MB (generally binary) download transfers, not small HTML pages. * This is significant in that the performance of the transfer seems to degrade the larger the transfer is. > Anyhow, why would you like to serve the 500+ MB > files trough mod_jk? The entire point is that you > have the option to separate the static and dynamic > content. We have a large, complex content store behind this with dynamic Java-based access control logic, etc. Also contents change over time with new check-ins, etc, ala normal version control concepts. While we have more complex things going on in our actual system, the behavior is quite reproducible by just dropping a >500MB file in an expanded web app doc base and requesting it (with JkMount settings appropriate to ensure this is served by mod_jk rather than directly by Apache). The files can be of any type, but our market involves a lot of CAD data, which can be well over 1GB in size. -- Jess Holle --------------070600080404010709020906--