Hi again list,
for those of you still interested I released a new version
of the 'lb' benchmark tool with improved performances.

The trick was to modify how a single descriptor is allocated
and initialized for being used in the outgoing HTTP request,
in order to avoid to continuosly allocate/free memory for
both the descriptor itself and the libevent 'evcon'.

Details are in the ChangeLog.

This seems to result in a 143% performance improvement with
respect to its first version and almost 53% faster in comparison
with the other tools 'cb' and 'ab'.

Included in tarball there is also a version of the HTTP
benchmark client 'bench_httpclient.c' making part of the
libevent source distribution, which I modified to produce
an 'ab'-like output parseable by a my script for comparison
with the other tools (also included in the tarball).

I do not believe the bench_httpclient.c can be considered
a true HTTP client but it is an evaluable source of information
in writing such kind of tools.  I suggest all to take a look at it.

'lb' is available for download at:

http://lb.tecsiel.it

I am also working in order to compile out of the libevent svn tree
so you can also find an initial version of scripts to use the GNU
Build System

/rocco

-- 
Rocco Carbone mail-to: <rocco /at/ ntop /dot/ org>
Pisa Italy

Life is in the details

In other words, you are welcome to use, share and improve me.
You are forbidden to forbid anyone else to use, share and
improve what I gave you.
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to