Author |
Message
|
bprasana |
Posted: Wed Mar 02, 2011 11:48 pm Post subject: WMB profiling |
|
|
 Disciple
Joined: 18 Apr 2005 Posts: 179
|
Hi All,
Environment: AIX
Broker: WMB 6.0 & WMB 6.1
I was wondering if there is a way to find out which function/procedure took how much time in WMB?
What role does the trace node play in this regard?
Regards,
bprasana |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Mar 03, 2011 1:06 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Yes there is.
Lookup 'flow stats' in the info centre. You will need to do some work though but you can get right down to node level.
Re: effect of Trace nodes.
Nowt execpt to slow things down.... _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Mar 03, 2011 4:55 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You can also use Monitoring Events to get a better idea of how a flow performs. |
|
Back to top |
|
 |
bprasana |
Posted: Thu Mar 03, 2011 11:45 am Post subject: Monitoring events |
|
|
 Disciple
Joined: 18 Apr 2005 Posts: 179
|
Thanks mqjeff and smdavies99 !
Monitoring Events i guess are for 6.1 and above,so i surely can use it for my 6.1 flows..... is there a equivalent for 6.0 too?
Also flow stats gives me static account, can i get a dynamic stats.
for eg: what node was getting processed when CPU usage was 80% something like that. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Mar 03, 2011 11:56 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
6.0 goes out of support in two months.
Don't spend any time profiling your 6.0 installation.
Spend all of your time, starting RIGHT NOW, migrating to 6.1 or 7. |
|
Back to top |
|
 |
bprasana |
Posted: Thu Mar 03, 2011 3:06 pm Post subject: fair enough |
|
|
 Disciple
Joined: 18 Apr 2005 Posts: 179
|
just curious.
where do i use mqsichangeflowstats then?
regards,
bprasana |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Mar 03, 2011 10:52 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
smdavies99 wrote: |
You will need to do some work though but you can get right down to node level.
|
I take it you have looked at the WMB InfoCentre then?
When I started looking at this whole area, that is exactly what I did. Everything you need to know right down to the message structure is in there somewhere (it takes some patience to find it.... Sigh... Bangs head on wall.....Where was that page again?????).
As a result I developed two message flows that consume the data relating to FlowStats & FlowMonitoring. They write said data to a database for later processing. Please don't PM me for the source. I don't own the copyright to the code.
The FlowStats in particular you can get things like the MaxCpu of a node in the snapshot period. Using this data over a period can tell you where things are taking an inordinate amount of time to process in a (almost) non intrusive way.
Please don't do as I have seen only far too often, run usertrace in a live environment just to get performance data. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
|