[AWS] Further info on the weird "AWS is returning too much data" issue

Pascal Obry pascal at obry.net
Tue Feb 1 14:27:51 CET 2011


I've added a counter on the callback, and I cannot reproduce with httperf:

<<
$ httperf --hog --num-conn=10 --num-call=5000 --server=localhost --
uri=/get --port=8080 --max-piped-calls=1
httperf --hog --client=0/1 --server=localhost --port=8080 --uri=/get
--max-piped-calls=1 --send-buffer=4096 --recv-buffer=16384
--num-conns=10 --num-calls=5000
Maximum connect burst length: 1

Total: connections 10 requests 50000 replies 50000 test-duration 3.725 s

Connection rate: 2.7 conn/s (372.5 ms/conn, <=1 concurrent connections)
Connection time [ms]: min 361.9 avg 372.5 max 378.7 median 374.5 stddev 5.6
Connection time [ms]: connect 0.0
Connection length [replies/conn]: 5000.000

Request rate: 13423.2 req/s (0.1 ms/req)
Request size [B]: 65.0

Reply rate [replies/s]: min 0.0 avg 0.0 max 0.0 stddev 0.0 (0 samples)
Reply time [ms]: response 0.1 transfer 0.0
Reply size [B]: header 163.0 content 16.0 footer 0.0 (total 179.0)
Reply status: 1xx=0 2xx=50000 3xx=0 4xx=0 5xx=0

CPU time [s]: user 2.68 system 1.05 (user 71.9% system 28.2% total 100.1%)
Net I/O: 3198.5 KB/s (26.2*10^6 bps)

Errors: total 0 client-timo 0 socket-timo 0 connrefused 0 connreset 0
Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0
>>

Each time the callback is properly called 50000 times. With ApacheBench I have
the callback called 50001 or 50002 times! In both cases no error are reported.

Maybe worth looking at ApacheBench sources to understand what is going on!

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595


More information about the AWS mailing list