[httperf] How to use multiple clients generate high workload?
martin.arlitt at hp.com
Wed Nov 17 08:15:17 PST 2010
I don't think your client is overloaded (although since I don't know anything about your workload, I can't be 100% certain). Regarding the fd-unavail errors, have you tuned your client to use a large number of file descriptors? If not, the following page describes this topic in more detail.
https://www.cs.uwaterloo.ca/~brecht/servers/openfiles.html (thanks to Tim Brecht for documenting this)
Your message also showed that there are about 3x more connection resets than fd-unavail errors; you should determine the cause of the resets and resolve that as well before considering multiple clients.
From: httperf-bounces at linux.hpl.hp.com [mailto:httperf-bounces at linux.hpl.hp.com] On Behalf Of Suchada Pakapongpan
Sent: Wednesday, November 17, 2010 5:32 AM
To: httperf at linux.hpl.hp.com
Subject: [httperf] How to use multiple clients generate high workload?
Because I use 1 client to generate 20 sessions/s.
#httperf --hog --timeout=150 --client=0/1 --server=10.1.1.1 --port=80 --wsesslog=10000,0,input.txt --rate=20
my result has lot of fd-unavail error I guess the client was overloaded. Is it correct?
Errors: total 23895 client-timo 65 socket-timo 0 connrefused 0 connreset 20942
Errors: fd-unavail 2888 addrunavail 0 ftab-full 0 other 0
Then I use 2 clients to generate workload. Each client used this script:
#httperf --hog --timeout=150 --client=0/2 --server=10.1.1.1 --port=80 --wsesslog=10000000,0,input.txt --rate=10
#httperf --hog --timeout=150 --client=1/2 --server=10.1.1.1 --port=80 --wsesslog=10000000,0,input.txt --rate=10
I start that script in the same time for the result I sum the reply rate and average reply time.I'd like to know for my testing way. Is it correct?
And if I have to use more clients how can I generate the workload? (it's hard to ru! n multiple clients in the same time)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the httperf