Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 52539 invoked from network); 17 Feb 2005 15:04:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Feb 2005 15:04:09 -0000 Received: (qmail 3178 invoked by uid 500); 17 Feb 2005 15:04:02 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 3132 invoked by uid 500); 17 Feb 2005 15:04:01 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 3119 invoked by uid 99); 17 Feb 2005 15:04:01 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of henri.gomez@gmail.com designates 64.233.184.192 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.192) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 17 Feb 2005 07:04:01 -0800 Received: by wproxy.gmail.com with SMTP id 58so368336wri for ; Thu, 17 Feb 2005 07:03:59 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=VBvdEW4NyYtjBtzIcfQ0SKB70R7ZojRBYrNsI8zNQgFiRIjlOonV0Y5hT5FKH6hzfWSt5hEsUmjKH/p2ym6veiWpxhWxAJdY73UDt4LAlViBUw5s2vopNwNR5S8h8HuQRdLFC3jT2LskVlR45qQT6Ihuz144sBx+bz62AwsSFt4= Received: by 10.54.28.69 with SMTP id b69mr50588wrb; Thu, 17 Feb 2005 07:03:59 -0800 (PST) Received: by 10.54.47.64 with HTTP; Thu, 17 Feb 2005 07:03:59 -0800 (PST) Message-ID: <6291fc8505021707033da72b06@mail.gmail.com> Date: Thu, 17 Feb 2005 16:03:59 +0100 From: Henri Gomez Reply-To: hgomez@apache.org To: Tomcat Developers List Subject: Re: JK 1.2.9-dev test results In-Reply-To: <42149800.7020109@apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <42149800.7020109@apache.org> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Good works Mladen. I found jk a bit faster and it's good to see that we could speed it up a little. The next step could be to use larger AJP packets (4k too small) On Thu, 17 Feb 2005 14:11:28 +0100, Mladen Turk wrote: > Hi, > > Henri said that he noticed current dev version > of mod_jk being quite faster then previous (1.2.8). > > Although it was not the primary intention to > be faster, I think no one will object :). > So here are some benchmark results from my side: > > JK 1.2.8 single thread > Requests per second: 784.31 [#/sec] (mean) > > JK 1.2.9-dev single thread > Requests per second: 798.01 [#/sec] (mean) > > JK 1.2.9-dev 10 concurrent threads > Requests per second: 918.22 [#/sec] (mean) > > JK 1.2.9-dev 10 concurrent threads with socket_timeout > Requests per second: 910.38 [#/sec] (mean) > > So. Is this a speedup or not ;)? > > Interesting is that new socket_timeout implementation > does not slow down that much. After all it sets the > socket to nonblocking mode before each request, checks if > the socket is still connected and then sets to blocking mode again. > Compared to cping/cpong prepost, the system is almost twice > as faster. Of course it will not detect hanged tomcat, > only if tomcat broke down or some other network problem > happened. > > Cheers, > Mladen. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org