In the first example we generate intense traffic towards the web server on
venus so that bottlenecks can be observed (CPU, memory, I/O, ...). 
64 threads are run to increase the speed of the traffic,

  mars:> ./fastburden -t 64 venus
  fastburden ver 0.50
  Started...  (Loaded 12 sites)
  sent 0
  sent 64
  sent 128
  sent 192
  sent 256
  sent 320
  sent 384
  sent 448
  sent 512
  sent 576
  sent 640
  sent 704
  [...]

On venus the tools vmstat, iostat, sar, mpstat, top, etc can be used to 
examine the performance of the system.



In this example the localhost web server is tested with 120 HTTP GETs, 
returning a response time of 3.193 seconds. 

  mars:> time ./fastburden -r 10 localhost
  fastburden ver 0.50
  Started...  (Loaded 12 sites)
  sent 0
  sent 8
  sent 16
  sent 24
  sent 32
  sent 40
  sent 48
  sent 56
  sent 64
  sent 72
  sent 80
  sent 88
  sent 96
  sent 104
  sent 112
  sent 120
  Finished.

  real    0m3.193s
  user    0m0.010s
  sys     0m0.050s

The default "sites" file used above contains 12 sample sites, "-r 10" was used
to run through the list 10 times - generating the 120 HTTP GETs.

Just to be sure it is working,

  mars:> tail -2 /var/apache/logs/access_log 
  127.0.0.1 - - [02/Dec/2003:01:18:12 +1100] "GET http://localhost/error3.html HTTP/1.0" 404 271
  127.0.0.1 - - [02/Dec/2003:01:18:12 +1100] "GET http://localhost/error4.html HTTP/1.0" 404 271

NOTE: best results occur when running this tool elsewhere on the network - 
not on the same server as the service we are trying to tune.



Now the local proxy server is tested with 120 HTTP GETs, returning a similar
response time of 3.187 seconds.

  mars:> time ./fastburden -p 8080 -r 10 localhost
  fastburden ver 0.50
  Started...  (Loaded 12 sites)
  sent 0
  sent 8
  sent 16
  sent 24
  sent 32
  sent 40
  sent 48
  sent 56
  sent 64
  sent 72
  sent 80
  sent 88
  sent 96
  sent 104
  sent 112
  sent 120
  Finished.

  real    0m3.187s
  user    0m0.020s
  sys     0m0.060s

Just to be sure this is working,

  mars:> tail -2 /opt/sfw/squid/logs/access.log
  1070288728.987     27 127.0.0.1 TCP_MISS/503 1112 GET http://localhost/error3.html - DIRECT/localhost -
  1070288728.987     26 127.0.0.1 TCP_MISS/503 1112 GET http://localhost/error4.html - DIRECT/localhost -


