[httperf] how to set the number of active connection same as
the number of active sessions?
martin.arlitt at hp.com
Thu Dec 16 06:19:15 PST 2010
A wsesslog file may contain the definitions for one or more sessions, so the answer to your first question will depend on how you have structured the file.
If httperf is able to reuse the TCP connections, then it should have one TCP connection per session. If it does not reuse TCP connections, then there will be more than one TCP connection per session, but there should only be one active one at a time per session.
From: httperf-bounces at linux.hpl.hp.com [mailto:httperf-bounces at linux.hpl.hp.com] On Behalf Of Suchada Pakapongpan
Sent: Thursday, December 16, 2010 5:24 AM
To: httperf at linux.hpl.hp.com
Subject: [httperf] how to set the number of active connection same as the number of active sessions?
httperf --hog --timeout=100 --server=192.168.1.1 --port=80 --wsesslog=20000,0,file.txt --rate=10 -v
For my file.txt contains 15 requests. Is it mean each session contains 15 requests?
Now, I'd like to know how to set the number of active connection same as the number of active sessions?
If I patch httperf to not re-use connections, should the number of active connection be the same as active sessions?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the httperf