Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 32341 invoked from network); 15 Apr 2005 13:28:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Apr 2005 13:28:09 -0000 Received: (qmail 75914 invoked by uid 500); 15 Apr 2005 13:27:34 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 75871 invoked by uid 500); 15 Apr 2005 13:27:33 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 75843 invoked by uid 99); 15 Apr 2005 13:27:33 -0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=DNS_FROM_RFC_ABUSE,FROM_ENDS_IN_NUMS,HTML_30_40,HTML_MESSAGE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of startrack79@gmail.com designates 64.233.162.198 as permitted sender) Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.198) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 15 Apr 2005 06:27:32 -0700 Received: by zproxy.gmail.com with SMTP id 18so1580503nzp for ; Fri, 15 Apr 2005 06:27:29 -0700 (PDT) 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:references; b=EsA6GjM20qS8Ufd2SNIXVXYDR2FRDMEN3ytKIWzKZaUFjNhTd6lLZEh3kHAiCzpIJ81DZz/B3LW7wMVtz0FcOVvBCoAmIs6Ju2fvTM4QSY/5i11M+FqdWcyvPnT7Zurr7Y3gCXLOdLzcbFw6ISanvmjadlOE9qVwsea1bTt2FiQ= Received: by 10.36.82.18 with SMTP id f18mr192032nzb; Fri, 15 Apr 2005 06:27:29 -0700 (PDT) Received: by 10.36.50.4 with HTTP; Fri, 15 Apr 2005 06:27:29 -0700 (PDT) Message-ID: Date: Fri, 15 Apr 2005 15:27:29 +0200 From: leo Reply-To: leo To: dev@httpd.apache.org Subject: Re: Apache 2.0 performance with and without SSI In-Reply-To: <425FBD53.6070703@slive.ca> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7327_11231335.1113571649569" References: <0b3e01c54190$7a366b50$ad0110ac@nitesh> <425FBD53.6070703@slive.ca> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_7327_11231335.1113571649569 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline hi,=20 look this: I made an enhacement to mod_include. It simply adds an HTML table at the end of document with all the SSI calls= =20 and execution time. It will not improve your performance, but it could help you in finding the= =20 bottlenecks. Let me know if you (or someone else) are interested, and where I should pos= t=20 the patch (I'm new to this ml) thanks to all and sorry for my bad english (I'm from Italy..) best regards Leonardo Foderaro On 4/15/05, Joshua Slive wrote: >=20 > Please discuss this question on the users list. (But start by including > such details as which mpm you are using and what you are using for=20 > testing.) >=20 > Nitesh Naik wrote: > > Hi, > > > > I am Using apache-2.0.53. > > > > Without SSI ( mod_include.c ) Aapache serves approximately 6500 req/sec= =20 > and > > with SSI apache processes approximately 2500 req/sec. > > > > Is there any way I can increase the apache performance ? > > anything that I need to take care during apache compilation on AMD 64= =20 > Bit > > machines ? > > > > > > server-status shows lots of idle workers and lots of waiting=20 > connections. > > > > tried using prefork and worker threads modules but no much improvement. > > > > OS - Suse 9.2 ( AMD 64 bit processor) > > gcc compile options > > export > > CFLAGS=3D"-march=3Dx86-64 -m64 -O3 -fexpensive-optimizations=20 > -fomit-frame-pointe > > r" > > > > conf file setting for prefork and worker. > > > > > > StartServers 5 > > MinSpareServers 5 > > MaxSpareServers 10 > > MaxClients 150 > > MaxRequestsPerChild 0 > > > > > > > > StartServers 2 > > MaxClients 150 > > MinSpareThreads 25 > > MaxSpareThreads 75 > > ThreadsPerChild 25 > > MaxRequestsPerChild 0 > > > > > > > > server status output > > > > Current Time: Thursday, 14-Apr-2005 23:57:53 PDT > > Restart Time: Thursday, 14-Apr-2005 23:56:03 PDT > > Parent Server Generation: 0 > > Server uptime: 1 minute 50 seconds > > Total accesses: 504621 - Total Traffic: 1.1 GB > > CPU Usage: u47.99 s69.85 cu0 cs0 - 107% CPU load > > 4590 requests/sec - 10.3 MB/second - 2350 B/request > > 3 requests currently being processed, 9 idle workers > > > > > > Regards > > Nitesh Naik > > > ------=_Part_7327_11231335.1113571649569 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline hi,
  look this: <= dev-thread.46906@httpd.apache.org>

I made an enhacement to mod_include.
It simply adds an HTML table at the end of document with all the SSI calls = and execution time.
It will not improve your performance, but it could help you in finding the = bottlenecks.
Let me know if you (or someone else) are interested, and where I should pos= t the patch (I'm new to this ml)

thanks to all and sorry for my bad english (I'm from Italy..)

best regards
Leonardo Foderaro





On 4/15/05, Joshua Slive <joshua@sliv= e.ca> wrote:
Please discuss this question on the users list.  (But start by in= cluding
such details as which mpm you are using and what you are using f= or testing.)

Nitesh Naik wrote:
> Hi,
>
> I am Usi= ng apache-2.0.53 .
>
> Without SSI ( mod_include.c ) Aapache  serves a= pproximately 6500 req/sec and
> with SSI apache processes approximate= ly 2500 req/sec.
>
> Is there any way I can increase the apache= performance ?
> anything that I need to take care during apache compilation on AMD= 64 Bit
> machines ?
>
>
> server-status shows lots= of idle workers  and lots of waiting connections.
>
>= ; tried using prefork and worker threads modules but no much improvement.
>
> OS - Suse 9.2 ( AMD 64 bit processor)
> gcc compile = options
> export
> CFLAGS=3D"-march=3Dx86-64 -m64 -O3 -fex= pensive-optimizations -fomit-frame-pointe
> r"
>
> c= onf file setting for prefork and worker.
>
> <IfModule prefork.c>
> StartServers  = ;       5
> MinSpareServers  =     5
> MaxSpareServers     1= 0
> MaxClients         150> MaxRequestsPerChild  0
> </IfModule>
>
> <IfModule worker.c>
> StartServers  =       2
> MaxClients   &= nbsp;    150
> MinSpareThreads   &= nbsp;25
> MaxSpareThreads    75
> ThreadsPe= rChild    25
> MaxRequestsPerChild  0
> </IfModule>
>
>
> server status output
= >
> Current Time: Thursday, 14-Apr-2005 23:57:53 PDT
> Resta= rt Time: Thursday, 14-Apr-2005 23:56:03 PDT
> Parent Server Generatio= n: 0
> Server uptime: 1 minute 50 seconds
> Total accesses: 504621 = - Total Traffic: 1.1 GB
> CPU Usage: u47.99 s69.85 cu0 cs0 - 107% CPU= load
> 4590 requests/sec - 10.3 MB/second - 2350 B/request
> 3= requests currently being processed, 9 idle workers
>
>
> Regards
> Nitesh Naik
>

------=_Part_7327_11231335.1113571649569--