Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 59062 invoked by uid 500); 4 Feb 2002 20:33:57 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 59049 invoked from network); 4 Feb 2002 20:33:56 -0000 Received: from mail.gmx.net (213.165.64.20) by daedalus.apache.org with SMTP; 4 Feb 2002 20:33:56 -0000 Received: (qmail 6913 invoked by uid 0); 4 Feb 2002 20:34:00 -0000 Received: from pd958fd86.dip.t-dialin.net (HELO localhost) (217.88.253.134) by mail.gmx.net (mp005-rz3) with SMTP; 4 Feb 2002 20:34:00 -0000 Date: Mon, 4 Feb 2002 21:17:19 +0100 From: Maurice Wahl X-Mailer: The Bat! (v1.53d) Reply-To: Maurice X-Priority: 3 (Normal) Message-ID: <341289047.20020204211719@gmx.de> To: sk Subject: Re: performance calculation with ab tool In-Reply-To: <03fa01c1ad59$5f896920$3b0110ac@kovaiteam> References: <03fa01c1ad59$5f896920$3b0110ac@kovaiteam> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, your calculation is correct, but your testbed isn�t. ;-) ab request a single file a certain number of times with a certain concurrency. As long as your file is smaller than the main memory of your server box, your OS will keep the file in DRAM just like squid does, hence the marginal difference between your measurements. My approach - yet unfinished - is to start multiple ab instances on several machines and request different files from the server (concurrency=0). All files together shall be much bigger than the main memory of the server, in order to avoid OS internal caching. The problem is always to generate �correct� stimuli for the server, but this setup should generate useful numbers for the performance. Adoptions may be required for measuring squid performance. Regards, Maurice PS: Are there any suggestions for cheap performance measuring of Apache? I found webbench from Ziff-Davis and the above mentioned ab. Anything else? > Hello all, > > I want to calculate how much performance of Server(apache) has been > increased .So i did as follows. > > Using Request per second ,(actually which parameter should i use) > 126.53(with squid)- 121.92(without squid) > -------------------------------------------- = 3.7 % > 121.92(without squid) > > > My Q is , am I correct over here(calculating server performance) ? > > I've attached "ab testresult " below for reference .plz reply asap .I'm > awaiting with more anticipation . > > ab testresult: > ------------- > > WITH Squid : > > Server Software: Apache/1.3.19 > Server Hostname: sample.kovaiteam.com > Server Port: 80 > > Document Path: / > Document Length: 1310 bytes > > Concurrency Level: 100 > Time taken for tests: 7.903 seconds > Complete requests: 1000 > Failed requests: 0 > Total transferred: 1754000 bytes > HTML transferred: 1310000 bytes > Requests per second: 126.53 > Transfer rate: 221.94 kb/s received > > Connnection Times (ms) > min avg max > Connect: 0 1 21 > Processing: 14 548 6410 > Total: 14 549 6431 > > > ==================================================================== > > WITHOUT Squid: > > Copyright (c) 1998-2000 The Apache Group, http://www.apache.org/ > > Server Software: Apache/1.3.19 > Server Hostname: sample.kovaiteam.com > Server Port: 80 > > Document Path: / > Document Length: 1310 bytes > > Concurrency Level: 100 > Time taken for tests: 8.202 seconds > Complete requests: 1000 > Failed requests: 0 > Total transferred: 1723000 bytes > HTML transferred: 1310000 bytes > Requests per second: 121.92 > Transfer rate: 210.07 kb/s received > > Connnection Times (ms) > min avg max > Connect: 0 14 3000 > Processing: 41 766 836 > Total: 41 780 3836 > > Thanks and Regards, > -shanker --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org