This is from the Fall 2013 version of the course. For the most recent version, try

Problem Set 3 - Zhtta Server - Benchmarking

Installing httperf

These steps should work to install httperf:

> wget
> tar xfvz httperf-0.9.0.tar.gz
> cd httperf-0.9.0
> ./configure
> make
> sudo make install

You may get lots of warnings when you make since the httperf code is quite old and uses many deprecated SSL features (but it should still work even with the warnings).

Using httperf

Send one request:

> httperf --hog --server=localhost --port=4414

Send one request:

> httperf --hog --server=localhost --port=4414 --num-conns=1000 --rate=10