lighttpd vs. apache2

Current RHEL-4 ES server install on an old AMD Athlon 800 with 512M RAM – nothing else running, so all the horsepower is going to serving a tiny index file. In addition, during the lighttpd run, the server did not even break a load average of 1.00 – the apache2 run jacked the server up to a load above 30.00:

michael@ares: ~ $ /usr/sbin/ab -n 100000 -c 100 http://10.6.203.170/
This is ApacheBench, Version 2.0.41-dev <$Revision: 1.141 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/
Benchmarking 10.6.203.170 (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Finished 100000 requests

Server Software: lighttpd/1.4.11
Server Hostname: 10.6.203.170
Server Port: 80
Document Path: /
Document Length: 21 bytes
Concurrency Level: 100
Time taken for tests: 45.660310 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 25400000 bytes
HTML transferred: 2100000 bytes
Requests per second: 2190.09 [#/sec] (mean)
Time per request: 45.660 [ms] (mean)
Time per request: 0.457 [ms] (mean, across all concurrent requests)
Transfer rate: 543.23 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.8 0 42
Processing: 3 45 31.2 40 553
Waiting: 2 44 31.0 39 552
Total: 5 45 31.1 40 553
Percentage of the requests served within a certain time (ms)
50% 40
66% 40
75% 40
80% 40
90% 41
95% 48
98% 176
99% 187
100% 553 (longest request)

michael@ares: ~ $ /usr/sbin/ab -n 100000 -c 100 http://10.6.203.170/
This is ApacheBench, Version 2.0.41-dev <$Revision: 1.141 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/
Benchmarking 10.6.203.170 (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Finished 100000 requests

Server Software: Apache/2.0.52
Server Hostname: 10.6.203.170
Server Port: 80
Document Path: /
Document Length: 18 bytes
Concurrency Level: 100
Time taken for tests: 153.151438 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 28200564 bytes
HTML transferred: 1800036 bytes
Requests per second: 652.95 [#/sec] (mean)
Time per request: 153.151 [ms] (mean)
Time per request: 1.532 [ms] (mean, across all concurrent requests)
Transfer rate: 179.82 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.5 0 65
Processing: 6 151 225.1 148 39230
Waiting: 5 150 217.2 148 39230
Total: 9 151 225.1 148 39230
Percentage of the requests served within a certain time (ms)
50% 148
66% 149
75% 150
80% 150
90% 156
95% 163
98% 175
99% 191
100% 39230 (longest request)

I did it!

Last year, I watched Michelle run the Capital 10K from a wheelchair, and this year, I finished the race! I ran some of the first mile, and walked most of the race, but I am proud of working so hard to get here – I finished in 1:41
michael_cap10k

Michelle finished in :58
michelle_cap10k

Novell’s Downloads are Dreadful!

Searching for exactly what I want at http://download.novell.com, typically, gives crap answers… Googling around, I found a mailing list post for someone asking the same question I had: “Where do I get the SLES-9 SP3 ISO images?” The answer pointed to the SuSE Portal downloads page, but I have a Novell login………. man, why is this SO fsck’n hard? And why can’t the Novell folks come up with a decent search engine?

A little more searching, and I found that there is a Novell wiki page that has all the links to the files:

http://wiki.novell.com/index.php/SUSE_Linux_Enterprise_Server

Cool – found it. But again, why is this SO difficult…!?

Debian 3.1r0a “Sarge” on Dell 600m

This will bounce around a bit, while I keep a few notes on my new Sarge install.

I have been tracking Slackware-current for about a year on this laptop, and wanted something a little easier to maintain. Don’t get me wrong – I love Slack, and use it on several workstations and servers, but my lappy needed lots of custom rolled packages to get CPU frequency scaling, laptop-mode, vpn connectivity to my office, and some other stuff running. With some long-ish periods between use, tracking current became a bit of a job, and when vpnc needed to be rebuilt because of some low-level library change, I decided to go the Debian route. (Besides, the 8G NTFS partition on the drive needed to grow a little to fit a new game 😉

I decided to track Debian Stable, since a Debian Unstable workstation I have in the office has been, well… unstable at times.
Continue reading Debian 3.1r0a “Sarge” on Dell 600m

Vim Tab Set (and keeping the code monkeys at bay)

OK, I like tabs. Extol the virtues of emacs all you want, but I have never had the time or desire to learn it’s intricacies. Vim is my friend. Many coding “best practices” say to always use single space characters for white space at the beginning of lines, but c’mon – one or two key presses, or 4-8 (or 5-27 with deletes and backspaces to line things up just right, etc.)… And the folks that look at my code suggest only 4 spaces per indent…

Cleric (code monkey): And the Lord spake, saying, “First shalt thou take out the Holy Pin. Then shalt thou count to four, no more, no less. Four shall be the number thou shalt count, and the number of the counting shall be Four. Five shalt thou not count, neither count thou three, excepting that thou then proceed to four. Six is right out. Once the number four, being the fourth number, be reached, then lobbest thou thy Holy Hand Grenade of Antioch towards thy code…”

My personal peeve with my insistent use of tabs has been copy/paste between two terminals – the tabs get pasted as spaces and require correction back to tabs. Sooo… I start digging for vim set characteristics to, once and for all, fix both problems. This makes me happy with xterm copy/paste code reuse, and keeps the nitpicking code verification monkeys off my a__.

perl, shell, etc.:
# vim:set ai ts=4 tw=0 expandtab:

c:
/* vim:set ai ts=4 tw=0 expandtab: */