From owner-apache@oss.sgi.com Mon Aug 7 16:18:21 2000 Received: by oss.sgi.com id ; Mon, 7 Aug 2000 16:18:11 -0700 Received: from magician.bunzy.net ([206.245.168.220]:35077 "HELO magician.bunzy.net") by oss.sgi.com with SMTP id ; Mon, 7 Aug 2000 16:17:50 -0700 Received: (qmail 2027 invoked by uid 500); 7 Aug 2000 23:17:19 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 7 Aug 2000 23:17:18 -0000 Date: Mon, 7 Aug 2000 19:17:18 -0400 (EDT) From: tc lewis To: apache@oss.sgi.com Subject: accelerating apache/QSC. (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;apache-outgoing so Mike is apparently on vacation, and now i've realized there's a mailing list. anyone have any suggestions on the below? thanks! -tcl. ---------- Forwarded message ---------- Date: Mon, 7 Aug 2000 18:36:21 -0400 (EDT) From: tc lewis To: mja@sgi.com Cc: tc lewis Subject: accelerating apache/QSC. Mike, today i stumbled upon sgi's accelerating apache project and found it rather intriguing. i've tried sgi's patches with apache 1.3.12 successfully and notice slightly better returns on some simple benchmarks with apache's "ab" than with apache 1.3.12 alone. is there a document anywhere that documents what changes sgi has made in the patches as an overview, or should i continue reading through the actual patch? also, i have a question about QSC. i have it compiled in, and it's enabled, but for some reason every page appears to be "uncachable". static html, static images...everything i've tried. i've looked over the rules in the qsc documentation about the no-cache pragma and all the steps in order for a page to be cached, but i'm still baffled. is there anything i could be easily missing here? i'm basically using all of the apache/sgi defaults. this is on a linux/intel system. redhat 6.2 operating system. i've configured with: CFLAGS='-DUSE_QSC -D__i686__' ./configure --prefix=/home/tcl/aptest/apache-sgi --enable-module=most --enable-module=mmap_static the -D__i686__ is because gcc only seems to define __i386__, yet src/main/qsc.c checks for 486, 586, 686, or pentiumpro. so that's my hack way of getting around that for now. the rest should look familiar. my server-status is showing things like: Quick Shortcut Cache (QSC) Status: hit ratio 0/5048 (0.00%) uncachable 5048/5048 (100.00%) uncachable misses 5045/5045 (100.00%) uncachable requests 3/5048 (0.06%) uncachable responses 0/5048 (0.00%) resets 1 Hash table failed insertions 0 entries 0 duplicate entries 0 bucket use 0/128 (0.00%) hash effectiveness 0/0 (0.00%) longest chain 0 avg. chain 0.0 avg. nonempty chain 0.0 Chain length histogram: 1 2 3 4 5+ 0 0 0 0 0 Memory use (in bytes) table + misc 544 entries 0 URIs 0 headers 0 total 4640/4194304 (0.11%) mapped file data 0 mapped file vaddrs 0 (0 4096-byte pages) all uncachable. anyway, any ideas? thanks a lot for your time. your efforts are appreciated. -tcl. From owner-apache@oss.sgi.com Tue Aug 8 08:07:34 2000 Received: by oss.sgi.com id ; Tue, 8 Aug 2000 08:07:25 -0700 Received: from mout1.freenet.de ([194.97.50.132]:42450 "EHLO mout1.freenet.de") by oss.sgi.com with ESMTP id ; Tue, 8 Aug 2000 08:06:48 -0700 Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout1.freenet.de with esmtp (Exim 3.16 #20) id 13MAxL-0007v2-00; Tue, 08 Aug 2000 17:06:15 +0200 Received: from a38f1.pppool.de ([213.6.56.241] helo=Magelan.Leidinger.net) by mx3.freenet.de with esmtp (Exim 3.16 #2) id 13MAxK-00030W-00; Tue, 08 Aug 2000 17:06:14 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.9.3/8.9.3) with ESMTP id NAA02282; Tue, 8 Aug 2000 13:03:45 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200008081103.NAA02282@Magelan.Leidinger.net> Date: Tue, 8 Aug 2000 13:03:43 +0200 (CEST) From: Alexander Leidinger Subject: Re: accelerating apache/QSC. (fwd) To: tcl@bunzy.net cc: apache@oss.sgi.com In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;apache-outgoing On 7 Aug, tc lewis wrote: > today i stumbled upon sgi's accelerating apache project and found it > rather intriguing. i've tried sgi's patches with apache 1.3.12 > successfully and notice slightly better returns on some simple benchmarks > with apache's "ab" than with apache 1.3.12 alone. is there a document > anywhere that documents what changes sgi has made in the patches as an I haven't found one last time I checked oss.sgi.com. If there's one, it must be an SGI internal document. > overview, or should i continue reading through the actual patch? It seems that's the only way... perhaps you can document what you get out of the patch? :-) [QSC] > this is on a linux/intel system. redhat 6.2 operating system. i've > configured with: > CFLAGS='-DUSE_QSC -D__i686__' ./configure --prefix=/home/tcl/aptest/apache-sgi --enable-module=most --enable-module=mmap_static > > the -D__i686__ is because gcc only seems to define __i386__, yet > src/main/qsc.c checks for 486, 586, 686, or pentiumpro. so that's my hack > way of getting around that for now. the rest should look familiar. If you use gcc v 2.95.2 you can use -mpentium or -mpentiumpro instead (-march=... should include -m..., but it didn't), it defines it for you. [server-status] You haven't included relevant parts of your apache.conf (I didn't use the QSC, so I can't comment further). Bye, Alexander. -- Actually, Microsoft is sort of a mixture between the Borg and the Ferengi. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = 7423 F3E6 3A7E B334 A9CC B10A 1F5F 130A A638 6E7E From owner-apache@oss.sgi.com Tue Aug 8 10:46:56 2000 Received: by oss.sgi.com id ; Tue, 8 Aug 2000 10:46:46 -0700 Received: from magician.bunzy.net ([206.245.168.220]:19727 "HELO magician.bunzy.net") by oss.sgi.com with SMTP id ; Tue, 8 Aug 2000 10:46:15 -0700 Received: (qmail 14461 invoked by uid 500); 8 Aug 2000 17:45:42 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 8 Aug 2000 17:45:42 -0000 Date: Tue, 8 Aug 2000 13:45:42 -0400 (EDT) From: tc lewis To: Alexander Leidinger cc: apache@oss.sgi.com Subject: Re: accelerating apache/QSC. (fwd) In-Reply-To: <200008081103.NAA02282@Magelan.Leidinger.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;apache-outgoing On Tue, 8 Aug 2000, Alexander Leidinger wrote: > > overview, or should i continue reading through the actual patch? > > It seems that's the only way... perhaps you can document what you get > out of the patch? :-) haha. that thing is large. seems heavily composed of (long) and other casts for 64 bit / irix64 portability i assume, but i haven't found much beyond that...yet... > [server-status] > You haven't included relevant parts of your apache.conf (I didn't use > the QSC, so I can't comment further). hmm, there's not much to it. i basically use sgi's defaults: QSC on and my configure did include --enable-module=mmap_static i've seen the mmapfile directive with mmap_static, but i was under the assumption that QSC handles caching much more automatically and dynamically. if not, what are its benefits? still baffled as to what i'm missing. -tcl. From owner-apache@oss.sgi.com Tue Aug 8 10:51:56 2000 Received: by oss.sgi.com id ; Tue, 8 Aug 2000 10:51:46 -0700 Received: from srv1.ecropolis.com ([209.173.8.8]:3600 "HELO srv1.ecropolis.com") by oss.sgi.com with SMTP id ; Tue, 8 Aug 2000 10:51:27 -0700 Received: (qmail 14162 invoked from network); 8 Aug 2000 17:51:12 -0000 Received: from srv1.ecropolis.com (jeremy@209.173.8.8) by srv1.ecropolis.com with SMTP; 8 Aug 2000 17:51:12 -0000 Date: Tue, 8 Aug 2000 13:51:12 -0400 (EDT) From: Jeremy Hansen X-Sender: jeremy@srv1.ecropolis.com To: tc lewis cc: Alexander Leidinger , apache@oss.sgi.com Subject: Re: accelerating apache/QSC. (fwd) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;apache-outgoing If you check out the mod page for mmap_static, you'll see a little `find` line they note to include a lot of files within your mmapfile directive. It just makes me believe that this is what they want you to do to have things cached, which seems super kludgy if that's the case for large sites. I can't run a huge find on all my accounts when the web server comes up. That's lame. It can't be troo. -jeremy > > > On Tue, 8 Aug 2000, Alexander Leidinger wrote: > > > overview, or should i continue reading through the actual patch? > > > > It seems that's the only way... perhaps you can document what you get > > out of the patch? :-) > > haha. that thing is large. seems heavily composed of (long) and other > casts for 64 bit / irix64 portability i assume, but i haven't found much > beyond that...yet... > > > > > [server-status] > > You haven't included relevant parts of your apache.conf (I didn't use > > the QSC, so I can't comment further). > > hmm, there's not much to it. i basically use sgi's defaults: > > > QSC on > > > and my configure did include --enable-module=mmap_static > > i've seen the mmapfile directive with mmap_static, but i was under the > assumption that QSC handles caching much more automatically and > dynamically. if not, what are its benefits? > > still baffled as to what i'm missing. > > -tcl. > > -- http://www.xxedgexx.com | jeremy@xxedgexx.com --------------------------------------------- From owner-apache@oss.sgi.com Tue Aug 8 11:47:06 2000 Received: by oss.sgi.com id ; Tue, 8 Aug 2000 11:46:57 -0700 Received: from magician.bunzy.net ([206.245.168.220]:21264 "HELO magician.bunzy.net") by oss.sgi.com with SMTP id ; Tue, 8 Aug 2000 11:46:28 -0700 Received: (qmail 14290 invoked by uid 500); 8 Aug 2000 18:45:56 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 8 Aug 2000 18:45:56 -0000 Date: Tue, 8 Aug 2000 14:45:56 -0400 (EDT) From: tc lewis To: Jeremy Hansen cc: Alexander Leidinger , apache@oss.sgi.com Subject: Re: accelerating apache/QSC. (fwd) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;apache-outgoing yeah but that's just for mmap_static. qsc must have features beyond mmap_static. -tcl. On Tue, 8 Aug 2000, Jeremy Hansen wrote: > > If you check out the mod page for mmap_static, you'll see a little `find` > line they note to include a lot of files within your mmapfile > directive. It just makes me believe that this is what they want you to do > to have things cached, which seems super kludgy if that's the case for > large sites. I can't run a huge find on all my accounts when the web > server comes up. That's lame. It can't be troo. > > -jeremy > > > > > > > On Tue, 8 Aug 2000, Alexander Leidinger wrote: > > > > overview, or should i continue reading through the actual patch? > > > > > > It seems that's the only way... perhaps you can document what you get > > > out of the patch? :-) > > > > haha. that thing is large. seems heavily composed of (long) and other > > casts for 64 bit / irix64 portability i assume, but i haven't found much > > beyond that...yet... > > > > > > > > > [server-status] > > > You haven't included relevant parts of your apache.conf (I didn't use > > > the QSC, so I can't comment further). > > > > hmm, there's not much to it. i basically use sgi's defaults: > > > > > > QSC on > > > > > > and my configure did include --enable-module=mmap_static > > > > i've seen the mmapfile directive with mmap_static, but i was under the > > assumption that QSC handles caching much more automatically and > > dynamically. if not, what are its benefits? > > > > still baffled as to what i'm missing. > > > > -tcl. > > > > > > -- > > http://www.xxedgexx.com | jeremy@xxedgexx.com > --------------------------------------------- > > From owner-apache@oss.sgi.com Tue Aug 8 11:49:56 2000 Received: by oss.sgi.com id ; Tue, 8 Aug 2000 11:49:36 -0700 Received: from srv1.ecropolis.com ([209.173.8.8]:59664 "HELO srv1.ecropolis.com") by oss.sgi.com with SMTP id ; Tue, 8 Aug 2000 11:49:10 -0700 Received: (qmail 17096 invoked from network); 8 Aug 2000 18:48:56 -0000 Received: from srv1.ecropolis.com (jeremy@209.173.8.8) by srv1.ecropolis.com with SMTP; 8 Aug 2000 18:48:56 -0000 Date: Tue, 8 Aug 2000 14:48:56 -0400 (EDT) From: Jeremy Hansen X-Sender: jeremy@srv1.ecropolis.com To: tc lewis cc: Alexander Leidinger , apache@oss.sgi.com Subject: Re: accelerating apache/QSC. (fwd) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;apache-outgoing Ok, but then I don't understand why I get entries in the qsc table *only* when using mmapfile directive. -jeremy > > yeah but that's just for mmap_static. > qsc must have features beyond mmap_static. > > -tcl. > > > On Tue, 8 Aug 2000, Jeremy Hansen wrote: > > > > > If you check out the mod page for mmap_static, you'll see a little `find` > > line they note to include a lot of files within your mmapfile > > directive. It just makes me believe that this is what they want you to do > > to have things cached, which seems super kludgy if that's the case for > > large sites. I can't run a huge find on all my accounts when the web > > server comes up. That's lame. It can't be troo. > > > > -jeremy > > > > > > > > > > > On Tue, 8 Aug 2000, Alexander Leidinger wrote: > > > > > overview, or should i continue reading through the actual patch? > > > > > > > > It seems that's the only way... perhaps you can document what you get > > > > out of the patch? :-) > > > > > > haha. that thing is large. seems heavily composed of (long) and other > > > casts for 64 bit / irix64 portability i assume, but i haven't found much > > > beyond that...yet... > > > > > > > > > > > > > [server-status] > > > > You haven't included relevant parts of your apache.conf (I didn't use > > > > the QSC, so I can't comment further). > > > > > > hmm, there's not much to it. i basically use sgi's defaults: > > > > > > > > > QSC on > > > > > > > > > and my configure did include --enable-module=mmap_static > > > > > > i've seen the mmapfile directive with mmap_static, but i was under the > > > assumption that QSC handles caching much more automatically and > > > dynamically. if not, what are its benefits? > > > > > > still baffled as to what i'm missing. > > > > > > -tcl. > > > > > > > > > > -- > > > > http://www.xxedgexx.com | jeremy@xxedgexx.com > > --------------------------------------------- > > > > > > -- http://www.xxedgexx.com | jeremy@xxedgexx.com --------------------------------------------- From owner-apache@oss.sgi.com Wed Aug 9 03:13:03 2000 Received: by oss.sgi.com id ; Wed, 9 Aug 2000 03:12:53 -0700 Received: from mout0.freenet.de ([194.97.50.131]:28085 "EHLO mout0.freenet.de") by oss.sgi.com with ESMTP id ; Wed, 9 Aug 2000 03:12:28 -0700 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout0.freenet.de with esmtp (Exim 3.16 #20) id 13MSq3-0002JW-00; Wed, 09 Aug 2000 12:11:55 +0200 Received: from a2dbc.pppool.de ([213.6.45.188] helo=Magelan.Leidinger.net) by mx2.freenet.de with esmtp (Exim 3.16 #20) id 13MSq1-0007v4-00; Wed, 09 Aug 2000 12:11:54 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.9.3/8.9.3) with ESMTP id UAA36013; Tue, 8 Aug 2000 20:30:38 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200008081830.UAA36013@Magelan.Leidinger.net> Date: Tue, 8 Aug 2000 20:30:37 +0200 (CEST) From: Alexander Leidinger Subject: Re: accelerating apache/QSC. (fwd) To: jeremy@xxedgexx.com cc: tcl@bunzy.net, apache@oss.sgi.com In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;apache-outgoing On 8 Aug, Jeremy Hansen wrote: > If you check out the mod page for mmap_static, you'll see a little `find` > line they note to include a lot of files within your mmapfile > directive. It just makes me believe that this is what they want you to do > to have things cached, which seems super kludgy if that's the case for > large sites. I can't run a huge find on all my accounts when the web > server comes up. That's lame. It can't be troo. It seems to be designed for static content (which, per definition, didn't change very often). You can do the "find" once and only add new stuff as needed (you know when you change something, right?). You also have to restart the webserver after a change, so you can't allow customers to use it without notifying you (you didn't have to find static content yourself, they have to provide a list which should be in a format which can be processed by a script which does sanity checks and generates config rules to be included in the config). Bye, Alexander. -- 0 and 1. Now what could be so hard about that? http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = 7423 F3E6 3A7E B334 A9CC B10A 1F5F 130A A638 6E7E From owner-apache@oss.sgi.com Wed Aug 9 03:13:12 2000 Received: by oss.sgi.com id ; Wed, 9 Aug 2000 03:13:03 -0700 Received: from mout1.freenet.de ([194.97.50.132]:22734 "EHLO mout1.freenet.de") by oss.sgi.com with ESMTP id ; Wed, 9 Aug 2000 03:12:40 -0700 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout1.freenet.de with esmtp (Exim 3.16 #20) id 13MSq6-0003kJ-00; Wed, 09 Aug 2000 12:11:58 +0200 Received: from a2dbc.pppool.de ([213.6.45.188] helo=Magelan.Leidinger.net) by mx2.freenet.de with esmtp (Exim 3.16 #20) id 13MSq5-0007v4-00; Wed, 09 Aug 2000 12:11:58 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.9.3/8.9.3) with ESMTP id TAA35659; Tue, 8 Aug 2000 19:53:02 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200008081753.TAA35659@Magelan.Leidinger.net> Date: Tue, 8 Aug 2000 19:52:59 +0200 (CEST) From: Alexander Leidinger Subject: Re: accelerating apache/QSC. (fwd) To: tcl@bunzy.net cc: apache@oss.sgi.com In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;apache-outgoing On 8 Aug, tc lewis wrote: >> > overview, or should i continue reading through the actual patch? >> >> It seems that's the only way... perhaps you can document what you get >> out of the patch? :-) > > haha. that thing is large. seems heavily composed of (long) and other > casts for 64 bit / irix64 portability i assume, but i haven't found much > beyond that...yet... There's more, belive me (I ported it to 1.3.12 on my own, but I wasn't fast enough to submit it, it was already done... and no, I didn't remember details). >> [server-status] >> You haven't included relevant parts of your apache.conf (I didn't use >> the QSC, so I can't comment further). > > hmm, there's not much to it. i basically use sgi's defaults: > > > QSC on > > > and my configure did include --enable-module=mmap_static > > i've seen the mmapfile directive with mmap_static, but i was under the > assumption that QSC handles caching much more automatically and No, you have to use mmapfile. > dynamically. if not, what are its benefits? Static content, e.g. images, downloads, ... Bye, Alexander. -- Reboot America. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = 7423 F3E6 3A7E B334 A9CC B10A 1F5F 130A A638 6E7E From owner-apache@oss.sgi.com Wed Aug 9 05:31:44 2000 Received: by oss.sgi.com id ; Wed, 9 Aug 2000 05:31:33 -0700 Received: from mout0.freenet.de ([194.97.50.131]:58588 "EHLO mout0.freenet.de") by oss.sgi.com with ESMTP id ; Wed, 9 Aug 2000 05:31:04 -0700 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout0.freenet.de with esmtp (Exim 3.16 #20) id 13MV0C-000803-00; Wed, 09 Aug 2000 14:30:32 +0200 Received: from a371b.pppool.de ([213.6.55.27] helo=Magelan.Leidinger.net) by mx2.freenet.de with esmtp (Exim 3.16 #20) id 13MV08-0003Wf-00; Wed, 09 Aug 2000 14:30:30 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.9.3/8.9.3) with ESMTP id MAA01206; Wed, 9 Aug 2000 12:23:59 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200008091023.MAA01206@Magelan.Leidinger.net> Date: Wed, 9 Aug 2000 12:23:58 +0200 (CEST) From: Alexander Leidinger Subject: Re: accelerating apache/QSC. (fwd) To: jeremy@xxedgexx.com cc: tcl@bunzy.net, apache@oss.sgi.com In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;apache-outgoing On 8 Aug, Jeremy Hansen wrote: > Ok, but then I don't understand why I get entries in the qsc table *only* > when using mmapfile directive. Because the QSC is an extension to mmap_static. Bye, Alexander. -- Where do you think you're going today? http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = 7423 F3E6 3A7E B334 A9CC B10A 1F5F 130A A638 6E7E From owner-apache@oss.sgi.com Wed Aug 9 05:31:52 2000 Received: by oss.sgi.com id ; Wed, 9 Aug 2000 05:31:44 -0700 Received: from mout1.freenet.de ([194.97.50.132]:52942 "EHLO mout1.freenet.de") by oss.sgi.com with ESMTP id ; Wed, 9 Aug 2000 05:31:14 -0700 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout1.freenet.de with esmtp (Exim 3.16 #20) id 13MV0M-00069o-00; Wed, 09 Aug 2000 14:30:42 +0200 Received: from a371b.pppool.de ([213.6.55.27] helo=Magelan.Leidinger.net) by mx2.freenet.de with esmtp (Exim 3.16 #20) id 13MV0L-0003Wf-00; Wed, 09 Aug 2000 14:30:41 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.9.3/8.9.3) with ESMTP id MAA01203; Wed, 9 Aug 2000 12:22:50 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200008091022.MAA01203@Magelan.Leidinger.net> Date: Wed, 9 Aug 2000 12:22:49 +0200 (CEST) From: Alexander Leidinger Subject: Re: accelerating apache/QSC. (fwd) To: tcl@bunzy.net cc: jeremy@xxedgexx.com, apache@oss.sgi.com In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;apache-outgoing On 8 Aug, tc lewis wrote: > yeah but that's just for mmap_static. > qsc must have features beyond mmap_static. Read the patched Apache documantation, the QSC is described. Bye, Alexander. -- "One world, one web, one program" -- Microsoft promotional ad "Ein Volk, ein Reich, ein Fuehrer" -- Adolf Hitler http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = 7423 F3E6 3A7E B334 A9CC B10A 1F5F 130A A638 6E7E From owner-apache@oss.sgi.com Wed Aug 16 17:08:26 2000 Received: by oss.sgi.com id ; Wed, 16 Aug 2000 17:08:15 -0700 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:18256 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 16 Aug 2000 17:07:59 -0700 Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [163.154.38.51]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id RAA00000 for ; Wed, 16 Aug 2000 17:14:09 -0700 (PDT) mail_from (mja@trudge.engr.sgi.com) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id RAA19278; Wed, 16 Aug 2000 17:06:11 -0700 (PDT) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200008170006.RAA19278@trudge.engr.sgi.com> Subject: Re: accelerating apache/QSC. (fwd) To: tcl@bunzy.net (tc lewis) Date: Wed, 16 Aug 2000 17:06:10 -0700 (PDT) Cc: apache@oss.sgi.com In-Reply-To: from "tc lewis" at Aug 07, 2000 07:17:18 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;apache-outgoing I'm back from vacation. Are you able to use the QSC now or may I still help? > is there a document > anywhere that documents what changes sgi has made in the patches as an > overview, or should i continue reading through the actual patch? There's some documentation about some important functional parts of the patches: http://oss.sgi.com/projects/apache/patchinfo.html#documentation which unfortunately looks right only when viewed as part of the Apache server documentation (in other words it would look bad standalone on oss.sgi.com). I won't write docs this way again; in the future all the docs will work both ways. There is no overview document, although I have been sitting on an unfinished one for a year. You can craft your own history and overview by chasing links from http://oss.sgi.com/projects/apache/news.html and/or reading each version's patchinfo page and seeing how things progress over time: http://oss.sgi.com/projects/apache/patchinfo-1.3.6.html http://oss.sgi.com/projects/apache/patchinfo-1.3.9.html etc. > also, i have a question about QSC. i have it compiled in, and it's > enabled, but for some reason every page appears to be "uncachable". The other responders were correct. The QSC is tightly integrated with the mmap_static module. The QSC responds only to pages that are mmapfile'd. See the #using and #primer sections of htdocs/manual/qsc.html in your patched source tree. > the -D__i686__ is because gcc only seems to define __i386__, yet > src/main/qsc.c checks for 486, 586, 686, or pentiumpro. See http://oss.sgi.com/projects/apache/faq.html#Q17 > i've seen the mmapfile directive with mmap_static, but i was under the > assumption that QSC handles caching much more automatically and > dynamically. The QSC caches only responses generated by mmap_static which requires an explicit list of files to map. Yes this is a clunky interface, but you don't have to mmapfile every file, just the popular ones will do. You don't need to use the find command every time the server starts: mine the logs for the most-requested static files and map just those. Adjust the list occasionally as part of routine maintenance. > if not, what are its benefits? Its benefit is about 30% faster response. > qsc must have features beyond mmap_static. The QSC exists only to make Apache serve HTTP GET requests for static content faster. For a more dynamic, self-balancing, easier to configure, reputedly buggy, and much slower cache try mod_cache in apache-contrib-1.0.8 from http://www.apache.org/dist/contrib/modules/1.3/ . Please let me know if you have any other questions. -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ From owner-apache@oss.sgi.com Wed Aug 16 17:57:05 2000 Received: by oss.sgi.com id ; Wed, 16 Aug 2000 17:56:55 -0700 Received: from magician.bunzy.net ([206.245.168.220]:21004 "HELO magician.bunzy.net") by oss.sgi.com with SMTP id ; Wed, 16 Aug 2000 17:56:39 -0700 Received: (qmail 19928 invoked by uid 500); 17 Aug 2000 00:56:38 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 17 Aug 2000 00:56:37 -0000 Date: Wed, 16 Aug 2000 20:56:37 -0400 (EDT) From: tc lewis To: Mike Abbott cc: apache@oss.sgi.com Subject: Re: accelerating apache/QSC. (fwd) In-Reply-To: <200008170006.RAA19278@trudge.engr.sgi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;apache-outgoing Mike, thanks a lot for your responses. i was just under the assumption that qsc did something different, but now i understand it's mainly just a performance boost to mmap_static. ah now i even see this in the qsc docs: You must also configure the mmap_static module by adding an mmapfile directive for each file you want cached. missed that the first time. thanks! -tcl. On Wed, 16 Aug 2000, Mike Abbott wrote: > I'm back from vacation. Are you able to use the QSC now or may I still > help? > > > is there a document > > anywhere that documents what changes sgi has made in the patches as an > > overview, or should i continue reading through the actual patch? > > There's some documentation about some important functional parts of the > patches: > http://oss.sgi.com/projects/apache/patchinfo.html#documentation > which unfortunately looks right only when viewed as part of the Apache > server documentation (in other words it would look bad standalone on > oss.sgi.com). I won't write docs this way again; in the future all the > docs will work both ways. > > There is no overview document, although I have been sitting on an > unfinished one for a year. You can craft your own history and overview > by chasing links from > http://oss.sgi.com/projects/apache/news.html > and/or reading each version's patchinfo page and seeing how things > progress over time: > http://oss.sgi.com/projects/apache/patchinfo-1.3.6.html > http://oss.sgi.com/projects/apache/patchinfo-1.3.9.html > etc. > > > also, i have a question about QSC. i have it compiled in, and it's > > enabled, but for some reason every page appears to be "uncachable". > > The other responders were correct. The QSC is tightly integrated with > the mmap_static module. The QSC responds only to pages that are > mmapfile'd. See the #using and #primer sections of > htdocs/manual/qsc.html in your patched source tree. > > > the -D__i686__ is because gcc only seems to define __i386__, yet > > src/main/qsc.c checks for 486, 586, 686, or pentiumpro. > > See http://oss.sgi.com/projects/apache/faq.html#Q17 > > > i've seen the mmapfile directive with mmap_static, but i was under the > > assumption that QSC handles caching much more automatically and > > dynamically. > > The QSC caches only responses generated by mmap_static which requires an > explicit list of files to map. Yes this is a clunky interface, but you > don't have to mmapfile every file, just the popular ones will do. You > don't need to use the find command every time the server starts: mine > the logs for the most-requested static files and map just those. Adjust > the list occasionally as part of routine maintenance. > > > if not, what are its benefits? > > Its benefit is about 30% faster response. > > > qsc must have features beyond mmap_static. > > The QSC exists only to make Apache serve HTTP GET requests for static > content faster. For a more dynamic, self-balancing, easier to > configure, reputedly buggy, and much slower cache try mod_cache in > apache-contrib-1.0.8 from http://www.apache.org/dist/contrib/modules/1.3/ . > > Please let me know if you have any other questions. > -- > Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ > From owner-apache@oss.sgi.com Thu Aug 24 14:29:44 2000 Received: by oss.sgi.com id ; Thu, 24 Aug 2000 14:29:34 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:51509 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 24 Aug 2000 14:29:03 -0700 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id OAA06519 for ; Thu, 24 Aug 2000 14:20:42 -0700 (PDT) mail_from (mja@trudge.engr.sgi.com) Received: from trudge.engr.sgi.com ([163.154.38.51]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id OAA93128 for ; Thu, 24 Aug 2000 14:27:48 -0700 (PDT) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id OAA04376; Thu, 24 Aug 2000 14:20:20 -0700 (PDT) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200008242120.OAA04376@trudge.engr.sgi.com> Subject: AAP patch for 2.0a6 available To: apache@oss.sgi.com Date: Thu, 24 Aug 2000 14:20:20 -0700 (PDT) Cc: new-httpd@apache.org X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;apache-outgoing The Accelerating Apache Project announces the availability of its enhancements for Apache/2.0a6. http://oss.sgi.com/projects/apache/ We also are pleased to report that on a dual Pentium III Linux 2.4 system our state-threaded MPM is 25% faster than the dexter MPM, which uses a similar process/thread architecture with pthreads. -- Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ From owner-apache@oss.sgi.com Thu Aug 24 14:40:24 2000 Received: by oss.sgi.com id ; Thu, 24 Aug 2000 14:40:14 -0700 Received: from devsys.jaguNET.com ([209.133.192.6]:52490 "EHLO devsys.jaguNET.com") by oss.sgi.com with ESMTP id ; Thu, 24 Aug 2000 14:39:53 -0700 Received: (from jim@localhost) by devsys.jaguNET.com (8.9.3/jag-2.6) id RAA18264; Thu, 24 Aug 2000 17:39:17 -0400 (EDT) From: Jim Jagielski Message-Id: <200008242139.RAA18264@devsys.jaguNET.com> Subject: Re: AAP patch for 2.0a6 available To: new-httpd@apache.org Date: Thu, 24 Aug 2000 17:39:17 -0400 (EDT) Cc: apache@oss.sgi.com Reply-To: jim@jaguNET.com In-Reply-To: <200008242120.OAA04376@trudge.engr.sgi.com> from "Mike Abbott" at Aug 24, 2000 02:20:20 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;apache-outgoing It would be interesting to see how it compares to your Zeus implementation ;) Mike Abbott wrote: > > The Accelerating Apache Project announces the availability of its > enhancements for Apache/2.0a6. > http://oss.sgi.com/projects/apache/ > > We also are pleased to report that on a dual Pentium III Linux 2.4 > system our state-threaded MPM is 25% faster than the dexter MPM, which > uses a similar process/thread architecture with pthreads. > -- > Michael J. Abbott mja@sgi.com http://reality.sgi.com/mja/ > -- =========================================================================== Jim Jagielski [|] jim@jaguNET.com [|] http://www.jaguNET.com/ "Are you suggesting coconuts migrate??"