|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Perfharness report |
« View previous topic :: View next topic » |
Author |
Message
|
16legal |
Posted: Mon Aug 12, 2013 2:58 am Post subject: Perfharness report |
|
|
Novice
Joined: 05 Jun 2013 Posts: 21
|
I am trying to use perfharness to figure out the performance of my message flow. I have generated the report , however i am confused with the report that is generated.Following is the report that is generated
ControlThread1: START
Requestor1: START
Requestor2: START
rateR=597.89,threads=2
rateR=682.79,threads=2
rateR=651.62,threads=2
rateR=639.90,threads=2
rateR=574.60,threads=2
rateR=565.27,threads=2
rateR=565.73,threads=2
rateR=561.93,threads=2
rateR=560.77,threads=2
rateR=565.93,threads=2
rateR=572.97,threads=2
rateR=582.03,threads=2
rateR=585.27,threads=2
rateR=579.80,threads=2
rateR=571.97,threads=2
rateR=565.17,threads=2
rateR=565.07,threads=2
rateR=569.00,threads=2
rateR=568.80,threads=2
rateR=575.63,threads=2
rateR=573.03,threads=2
rateR=574.17,threads=2
rateR=575.23,threads=2
rateR=577.70,threads=2
rateR=580.87,threads=2
rateR=585.93,threads=2
rateR=581.93,threads=2
rateR=579.60,threads=2
rateR=561.87,threads=2
rateR=565.77,threads=2
Requestor2: STOP
Requestor1: STOP
totalIterations=175186,avgDuration=300.26,maxrateR=688.20
ControlThread1: STOP
What does rateR,threads,totalIterations,avgDuration,maxrateR mean ?
Following is the configuration that has been used:
set CLASSPATH=C:\PerfHarness\perfharness_v120\perfharness\perfharness\perfharness.jar;%CLASSPATH%
REM Set runtime env properties
SET QMGR=QM3
SET HOST=localhost
SET PORT=1416
SET INQ=INNEW8
SET OUTQ=OUTNEW8
REM Set msg input
SET MSG=XML1.xml
REM Set number of client connections
SET CONN=2
REM Set Transactionality
SET TXN=
REM Set Msg Persisitence
SET PSIST=
REM Run Length in seconds(Tool's Run Time)
SET RUNLEN=300
REM Timeout setting (milliseconds)
SET TIMEOUT=5000
REM Wait interval (milliseconds)(Wait Time for response to be received in the output queue)
SET WAIT=100
REM Stat reporting frequency in seconds
SET STATRPT=10
REM Run separate process to drain LARGE_MESSAGING_SLICES queue.
REM This will otherwise quickly fill.
java JMSPerfHarness -tc mqjava.Requestor -iq %INQ% -oq %OUTQ% -jb %QMGR% -jh %HOST% -jp %PORT% -mf %MSG% -rl %RUNLEN% -ss %STATRPT% -nt %CONN% -to %TIMEOUT% -wi %WAIT% %TXN% %PSIST% > C:\perfharness\perfharness\%HOST%%TXN%%PSIST%_%QMGR%_%DATE:~10,4%%DATE:~4,2%%DATE:~7,2%_%TIME:~0,2%%TIME:~3,2%%TIME:~6,2%.txt
Thanks |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Aug 12, 2013 3:10 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
maxSteel |
Posted: Wed Nov 06, 2013 1:35 pm Post subject: |
|
|
Newbie
Joined: 06 Nov 2013 Posts: 1
|
I've read it. There is no description of the output format. I had the same questions.
You say 'Message Rate' is 'RateR'. Why would that be? Why not MessageRate?
Well, the default stats report is the 'RollingAverageStats'. That there are multiple stats classes isnt in the doc either.
You only see it mentioned when you ask for expanded help.
com.ibm.uk.hursley.perfharness.stats.RollingAvgStats:
sr Rolling average period (seconds). (default: 30)
Performance is sampled every second, the number reported is the
average over the last rolling average period. During the first period, the
figure reported is the average over the actual number of seconds elapsed.
So what are the other possible stats classes? Not documented either.
% jar tf perfharness.jar | grep Stats | grep -v \\$
com/ibm/uk/hursley/perfharness/sequencing/SequenceStats.class
com/ibm/uk/hursley/perfharness/stats/BasicStats.class
com/ibm/uk/hursley/perfharness/stats/FileStats.class
com/ibm/uk/hursley/perfharness/stats/RollingAvgStats.class
com/ibm/uk/hursley/perfharness/stats/BasicStats.properties
com/ibm/uk/hursley/perfharness/stats/FileStats.properties
com/ibm/uk/hursley/perfharness/stats/RollingAvgStats.properties
Why would you want the others? Who knows, it's not documented.
Switching to the BasicStats, the output changes to:
rate=2655.60,threads=2
rate=3336.90,threads=2
rate=3228.60,threads=2
rate=3268.90,threads=2
rate=3341.10,threads=2
rate=3413.20,threads=2
PutGet2: STOP
PutGet1: STOP
totalIterations=197853,avgDuration=60.71,totalRate=3259.89
So what's a totalRate?
Are the rates aggregates of all threads, or average rates for each thread?
What is the avgDuration measuring? Round trip time I guess?
It would be nice to not have to guess at it. |
|
Back to top |
|
 |
_dave_ |
Posted: Mon Nov 11, 2013 4:15 am Post subject: |
|
|
Apprentice
Joined: 08 Apr 2005 Posts: 33 Location: IBM Hursley
|
Hi,
rateR is the number of transactions per second. So if for example you have 10 threads each processing 100 messages per second, then the rateR value will be 1000.
totalInterations is the number of messages processed for all threads in the run.
avgDuration is the avg run length of the threads. If you have more than 1 thread then this is normally a little over the run length as not all threads are necessarily started at the same time. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|