/[Apache-SVN]/httpd/sandbox/specweb99
ViewVC logotype

Log of /httpd/sandbox/specweb99

View Directory Listing Directory Listing


Sticky Revision:

Revision 653654 - Directory Listing
Modified Tue May 6 00:39:59 2008 UTC (16 years, 3 months ago) by fielding
Copied from: httpd/test/specweb99/trunk revision 653653
moving specweb99 to sandbox

Revision 647764 - Directory Listing
Modified Mon Apr 14 12:31:12 2008 UTC (16 years, 4 months ago) by wrowe
Original Path: httpd/test/specweb99/trunk
Copied from: httpd/test/trunk/specweb99 revision 647763
relocate specweb99 support

Revision 106525 - Directory Listing
Modified Thu Nov 25 00:36:41 2004 UTC (19 years, 8 months ago) by nd
Original Path: httpd/test/trunk/specweb99
property cleanup


Revision 106511 - Directory Listing
Modified Thu Nov 25 00:11:10 2004 UTC (19 years, 8 months ago) by nd
Original Path: httpd/test/trunk/specweb99
drop .cvsignore files


Revision 105122 - Directory Listing
Modified Tue Sep 14 19:51:34 2004 UTC (19 years, 11 months ago) by sctemme
Original Path: httpd/test/trunk/specweb99
Remove stray 1.1 license language


Revision 103802 - Directory Listing
Modified Sat May 29 03:27:18 2004 UTC (20 years, 2 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
straighten out formatting after last commit - no code change.


Revision 103801 - Directory Listing
Modified Sat May 29 03:15:50 2004 UTC (20 years, 2 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
fix a compile failure with 2.1 HEAD on Linux.

APR_HAS_LARGE_FILES is now true, so we try to compile this section of code.
It fails because "b" isn't defined.  But the largest SPECweb99 file,
class3_8 is 921600 bytes long and AP_MAX_SENDFILE is 16M, so the test
if (s.size > AP_MAX_SENDFILE) will always fail.


Revision 103800 - Directory Listing
Modified Fri May 28 18:54:58 2004 UTC (20 years, 2 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
work around for a seg fault running a threaded MPM on an SMP box.


Revision 102614 - Directory Listing
Modified Mon Feb 9 17:20:44 2004 UTC (20 years, 6 months ago) by sctemme
Original Path: httpd/test/trunk/specweb99
Not just any Apache Software Foundation: it's The Apache Software Foundation -- per Roy


Revision 102596 - Directory Listing
Modified Sun Feb 8 17:10:06 2004 UTC (20 years, 6 months ago) by sctemme
Original Path: httpd/test/trunk/specweb99
Upgrade license to 2.0


Revision 102138 - Directory Listing
Modified Thu Jan 1 13:38:37 2004 UTC (20 years, 7 months ago) by nd
Original Path: httpd/test/trunk/specweb99
update license and copyright to 2004


Revision 101808 - Directory Listing
Modified Wed Nov 19 20:55:58 2003 UTC (20 years, 8 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
customadscan:  use apr_file_info_get (a.k.a fstat) rather than apr_stat
for about a 7% improvement in conforming connections.

The box is an aging RS/6000 with a single 375 MHz ppc604e, .5G of RAM,
AIX 5.2


Revision 101787 - Directory Listing
Modified Sun Nov 16 02:08:06 2003 UTC (20 years, 9 months ago) by sctemme
Original Path: httpd/test/trunk/specweb99
Ugly fix to make the module compile on linux. Tested on linux (RH8.0 ==
2.4.20-20.8, glibc 2.3)(compile), Solaris 7 (compile), Darwin 6.8 (compile
and run).


Revision 101758 - Directory Listing
Modified Wed Nov 12 00:07:53 2003 UTC (20 years, 9 months ago) by sctemme
Original Path: httpd/test/trunk/specweb99
Use APXS to determine location of include files


Revision 100934 - Directory Listing
Modified Thu Aug 7 21:21:57 2003 UTC (21 years ago) by sctemme
Original Path: httpd/test/trunk/specweb99
Put global mutex around the POST log phase. This should, and has for sctemme
and gregames, get rid of most or all out-of-order entries in the post.log
file. Previously, mod_specweb was using a plain old file lock, which does
not do well with threaded models such as worker. Inspired by, but does not
contain code of, a patch Madhu submitted in January of this year.


Revision 100360 - Directory Listing
Modified Wed Jun 25 18:51:11 2003 UTC (21 years, 1 month ago) by sctemme
Original Path: httpd/test/trunk/specweb99
Inexplicably, apr_strings.h does not do this, so it doesn't pick up
<strings.h> on Solaris. We need this because we use index() in our
do_post() function. Or, maybe we should explicitly #include apr_want.h?


Revision 100359 - Directory Listing
Modified Wed Jun 25 18:03:18 2003 UTC (21 years, 1 month ago) by sctemme
Original Path: httpd/test/trunk/specweb99
Clean up debug logging to the error log. This code is only compiled when
Apache (and hence apxs) is compiled with -DDEBUG, so you usually don't see
it. I took the macro in the header file from the 1.3 module and set the
status parameter to 0... I don't see this value show up in the output so
I guess that's OK. Tested on Darwin 6.6 and Solaris 7.


Revision 99743 - Directory Listing
Modified Fri May 9 15:49:36 2003 UTC (21 years, 3 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
describe how to build with apxs, and clarify how to build without apxs.


Revision 98887 - Directory Listing
Modified Mon Mar 3 19:20:58 2003 UTC (21 years, 5 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
fix seg fault when a POST request is received with no cookie but with
mod_specweb99's URI.  This request is not from the SPECweb99 client.

In my case, it came from an IBM internal security scan which detected
I had port 80 open, then tried to do all kinds of nasty stuff to the
web server.  I'm pleased to report that there were no problems found
other than this one.


Revision 98833 - Directory Listing
Modified Thu Feb 27 22:12:35 2003 UTC (21 years, 5 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
returnHTMLPageWithFile: switch from stat() to fstat().  This produces a
5% improvement in throughput when using ab to drive 100% standard dynamic
GETs of the smallest SPECweb99 file.  The server is a 2-way PII running Red Hat
Linux 7.3 with the out-of-the-box SMP kernel.

Also, add a question about the need for large file support.


Revision 98830 - Directory Listing
Modified Thu Feb 27 21:25:27 2003 UTC (21 years, 5 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
I don't think the $Id helps much, now that mod_specweb99 is in a public CVS.
It tends to clutter the diffs.


Revision 98807 - Directory Listing
Modified Thu Feb 27 00:09:31 2003 UTC (21 years, 5 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
turn on the APR_SENDFILE_ENABLED flag if it exists.  This allows us to
continue using sendfile after httpd-2.0.43.


Revision 98570 - Directory Listing
Modified Mon Feb 3 17:11:02 2003 UTC (21 years, 6 months ago) by nd
Original Path: httpd/test/trunk/specweb99
bah! what a boring job - update license to 2003.


Revision 98493 - Directory Listing
Modified Fri Jan 24 21:10:16 2003 UTC (21 years, 6 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
get rid of time() syscalls in requests with cookies (custom ad GETs and POSTs)

suggested by: Madhu Mathihalli


Revision 98461 - Directory Listing
Modified Wed Jan 22 21:52:12 2003 UTC (21 years, 6 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
clarify how to make the SPEC rc file compatible with the new improved
mod_specweb99.c

Submitted by: Jason LaVoie [lavoie@NO-SPAM.us.ibm.com]


Revision 98460 - Directory Listing
Modified Wed Jan 22 21:47:37 2003 UTC (21 years, 6 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
fix a compile warning that's been in there a while apparently.


Revision 98459 - Directory Listing
Modified Wed Jan 22 21:30:15 2003 UTC (21 years, 6 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
Style police: general style cleanup, no functional changes.

Submitted by: Madhu Mathihalli [madhusudan_mathihalli@NO-SPAM.hp.com]


Revision 98457 - Directory Listing
Modified Wed Jan 22 16:55:22 2003 UTC (21 years, 6 months ago) by dirkx
Original Path: httpd/test/trunk/specweb99
Making the live of the Style Police a bit easier.


Revision 98280 - Directory Listing
Modified Wed Jan 15 16:15:02 2003 UTC (21 years, 7 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
style police: convert leading tabs to blanks.  No functional change.


Revision 98262 - Directory Listing
Modified Tue Jan 14 15:02:00 2003 UTC (21 years, 7 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
capture the return value from apr_file_write_full to the post log so it will be
logged on a failure.

Reported by: Jason LaVoie <lavoie@NO_SPAM_us.ibm.com>


Revision 97602 - Directory Listing
Modified Fri Nov 22 19:06:02 2002 UTC (21 years, 8 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
Document the httpd.conf + rc file changes needed due to specweb99_quick_handler
using "/" as its URI.


Revision 97563 - Directory Listing
Modified Mon Nov 18 17:50:21 2002 UTC (21 years, 8 months ago) by sctemme
Original Path: httpd/test/trunk/specweb99
Add Makefile structure for building with apxs. I was going to call the actual
Makefile 'Makefile.apxs', but this broke the predefined clean target. I hope
this doesn't interfere with the regular build structure.


Revision 97415 - Directory Listing
Modified Wed Nov 6 00:43:32 2002 UTC (21 years, 9 months ago) by sctemme
Original Path: httpd/test/trunk/specweb99
Makefile for building as shared module using APXS.


Revision 97414 - Directory Listing
Modified Wed Nov 6 00:41:38 2002 UTC (21 years, 9 months ago) by sctemme
Original Path: httpd/test/trunk/specweb99
Disable unfinished semaphore-based IPC for checking modifications to
our database files. This gets the module to compile again.


Revision 97365 - Directory Listing
Modified Thu Oct 31 19:39:04 2002 UTC (21 years, 9 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
back out part of rev 1.13.  The CAD GET buffer still needs to be null terminated
to stop the strstr.

I wasn't seeing seg faults, but oprofile showed the cycles in strstr jumped up
noticeably.


Revision 97358 - Directory Listing
Modified Wed Oct 30 21:33:45 2002 UTC (21 years, 9 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
A handler doesn't need to set the content length in 2.0, because the C-L filter
will do it later anyway, perhaps more accurately.

That eliminates the need for the length parm in returnHTMLPageHead.


Revision 97356 - Directory Listing
Modified Wed Oct 30 19:36:09 2002 UTC (21 years, 9 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
returnHTMLPageWithBuffer:  let it seg fault if we screw up and don't pass
in a buffer.  It eliminates a conditional branch, and might be faster to
debug also.


Revision 97354 - Directory Listing
Modified Wed Oct 30 18:06:06 2002 UTC (21 years, 9 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
give returnHTMLPageWithBuffer a buffer length parameter.  The CAD GETs were
the slowest part of the SPECWeb99 workload.  oprofile showed tons of cycles
in two strlen()s determining the size of the buffer, which could be up to 92K.

customadscan now calls returnHTMLPageWithBuffer because it already has the
length.  returnHTMLPageWithMessage now does a strlen, which should be OK
since it is used for relatively short error messages.

This improves 100% CAD GETs from 117 to 127 conforming connections on wimp.


Revision 97343 - Directory Listing
Modified Tue Oct 29 18:26:53 2002 UTC (21 years, 9 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
Handlers shouldn't check r->header_only in 2.0.  It results in incorrect
headers such as Content-Length.  Plus, it's a conditional branch that we
don't need.


Revision 97309 - Directory Listing
Modified Fri Oct 25 22:04:43 2002 UTC (21 years, 9 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
change u_int32_t to apr_uint32_t to allow mod_specweb99 to compile against
2.0.43 on HPUX.

Submitted by: Madhu Mathihalli <madhusudan_mathihalli@hp.com>
Reviewed by:  Sander Temme, Greg Ames


Revision 97262 - Directory Listing
Modified Fri Oct 18 21:03:06 2002 UTC (21 years, 9 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
do_post: get rid of an extra open/close sequence


Revision 97255 - Directory Listing
Modified Thu Oct 17 21:39:32 2002 UTC (21 years, 10 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
Rename specweb99_foo_handler to do_foo, since they are technically not handlers
any more.

Get rid of a few redundant error checks.  Use common code in the quick handler
to parse the inbound cookie.


Revision 97240 - Directory Listing
Modified Wed Oct 16 15:37:22 2002 UTC (21 years, 10 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
Implement a quick handler hook for SPECWeb99 dynamic requests.  This gets
rid of a stat and several lstats for URIs which do not exist in the
file system.

This improves performance on my wimp box* by slightly over 4% for
standard dynamic GETS (137 -> 143 conforming connections, compared to
145 conforming connections for 100% static GETs)  Running the standard
SPECWeb99 workload mix, I see about a overall 2% inprovement in conforming
connections.  Linux SMP boxes should do better because of reduced dcache
spinlock contention in the kernel.

There are several sections of code which are now redundant.  I left those in
to make this commit easier to review, but plan to take them out soon.  That
should improve performance further.

*wimp: 200 MHz Pentium Pro, 128M RAM, Red Hat 7.2.  Anything faster would
just mean I need more ethernet cards and client horsepower.


Revision 97239 - Directory Listing
Modified Wed Oct 16 15:09:52 2002 UTC (21 years, 10 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
get rid of reference to the threaded mpm


Revision 96447 - Directory Listing
Modified Mon Aug 19 18:31:49 2002 UTC (21 years, 11 months ago) by sctemme
Original Path: httpd/test/trunk/specweb99
Fixed indentation as a test of my brand new commit access. Used the apache.org .indent.pro file which should probably also be in this source directory.


Revision 95508 - Directory Listing
Modified Tue Jun 4 19:11:59 2002 UTC (22 years, 2 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
no functional changes, just a few misc. style cleanups


Revision 95507 - Directory Listing
Modified Tue Jun 4 19:07:05 2002 UTC (22 years, 2 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
fix a typo in an assignment statement.

This should limit the stat()s initiated by mod_specweb99 to 1 per second.


Revision 95495 - Directory Listing
Modified Mon Jun 3 21:06:52 2002 UTC (22 years, 2 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
Elimimate stat() and time() overhead caused by trying to detect if the
Custom.Ads file changed.  It changes only when a command/Reset housekeeping
URI is processed, which also updates the User.Profile file.  So if
User.Profile has changed, unconditionally get a new copy of Custom.Ads.


Revision 95494 - Directory Listing
Modified Mon Jun 3 19:29:56 2002 UTC (22 years, 2 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
correct some spelling errors in comments


Revision 95488 - Directory Listing
Modified Mon Jun 3 18:05:50 2002 UTC (22 years, 2 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
Wait for 2 seconds before updating the User.Profile and Custom.Ads files
so subsequent stat()s can reliably tell they have changed.  The previous
code had the right idea, but the wrong units.


Revision 95438 - Directory Listing
Modified Fri May 31 15:10:14 2002 UTC (22 years, 2 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
no functional change.  fix a spelling error, and some mangled byte offset
"rulers".


Revision 94913 - Directory Listing
Added Thu May 2 20:34:13 2002 UTC (22 years, 3 months ago) by gregames
Original Path: httpd/test/trunk/specweb99
initial version of specweb99.


infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26