Category Archives: Testing

Simple iperf usage command

Just keeping a record of this for later.

On the server machine: iperf -s

On the client machine: iperf -c [ip address] -t 60 -i 5 -r
(This is for a time of 60 seconds, a reporting interval on the client of 5 seconds, and for bi-directional bandwidth measurement – which should report the same as non-bi-directional, if the links to and from the client are the same speeds.)

ApacheBench length error failed requests

I failed to find anything in the AB documentation about interpretting AB results, specifically with regards to length errors.

Turns out AB records the length of the first request and compares subsequent requests with it, flagging an error if there’s a length difference.  So on a dynamic script there’s nothing to worry about, static page, however…