Log of /httpd/sandbox/specweb99
Directory Listing
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
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
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
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
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
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
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
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
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
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
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.