ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Average/peak message rate for QM

Post new topic  Reply to topic Goto page 1, 2  Next
 Average/peak message rate for QM « View previous topic :: View next topic » 
Author Message
zpat
PostPosted: Tue Apr 19, 2011 6:00 am    Post subject: Average/peak message rate for QM Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Is it possible to determine the average and/or peak message rate for a queue manager as a whole (including both client and bindings mode applications)? WMQ 7 on AIX.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Tue Apr 19, 2011 10:06 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

Am not sure if you are looking for the online and/or statistics monitoring on the queue manager !

_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Apr 19, 2011 10:16 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

shashivarungupta wrote:
Am not sure if you are looking for the online and/or statistics monitoring on the queue manager !


I suspect he's looking for a simplified way of aggregating the statistics of the qmgr, without having to accumulate and sum them.

I don't know that there is a simple way.
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Apr 19, 2011 11:13 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

So I would have to enable stats on all the queues and then add them up?

Anyone written a nice script to do this?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Apr 19, 2011 11:28 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

In this case, when I said "I don't know", I meant "i haven't checked the documentation to be sure"...

So it might be easier than enabling stats on everything and then collecting and aggregating...

but on the other hand, I figured you would have checked that first...
Back to top
View user's profile Send private message
SAFraser
PostPosted: Tue Apr 19, 2011 2:18 pm    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

I have wanted, for some time, to craft a custom report in QPasa that would do that very thing.

But then, I'd like a unicorn as a pet and that is unlikely happen, either. <sigh>
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Apr 19, 2011 7:36 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

@zpat:

Out of curiosity, what is the motivation behind this request?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Tue Apr 19, 2011 8:44 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Capacity planning, of a sort.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Wed Apr 20, 2011 12:49 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

mqtimes2 is the program provided by rfhutil ih03 (v7.0.1) for diff. platforms (including aix).
you can have a look at that, which reads the msgs from the queue and reports the msgs processed per second.

Document says.. Timeout is the maximum time in seconds to wait for a message. The program ends when the maximum number of messages is read or a time out occurs.


_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Wed Apr 20, 2011 12:56 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Yes, I have done that already.

The problem I now have is calcuating what percentage of the maximum rate, that we are currently using in production. i.e. what is the headroom?
Back to top
View user's profile Send private message
mvic
PostPosted: Wed Apr 20, 2011 3:04 pm    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

zpat wrote:
The problem I now have is calcuating what percentage of the maximum rate, that we are currently using in production. i.e. what is the headroom?

You will have a different rate for 10 byte messages vs. 10 Megabyte messages.

You will have a different rate for persistent messages vs. persistent messages.

You will have a different rate for NP messages depending on whether you have waiting getters at the time the putter puts.

If your environment processes a very predictable set of work as per the above variables (and maybe others) then you might be ok to use stats for the purpose you wish. If there is any significant variation in the above variables, then maybe the stats could mislead.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Apr 20, 2011 9:46 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

zpat wrote:
Capacity planning, of a sort.


I would first look at average and max rates for the SLA monitored channels/queues and check what else is happening when the SLA cannot be met...

This might give you an indication of where a bottleneck might be. It could be as simple as needing more logs / or a bigger log, or more buffer space etc...
It could also be that you need to scale some consumers...

As general rule, estimate correctly the traffic, estimate the log size, estimate correctly the different page set sizes, and give a decent buffer size (monitor the size) and you should not have much problems.

Remember also that on Zos some problem can arise from peripheral systems. If you have a CICS transaction consuming messages waiting on ressources from DB2, you are likely to blow your SLA... nothing to do with MQ though... OS/SYSPROG team can help you with prioritizing the resources...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Thu Apr 21, 2011 4:55 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

fjb_saper wrote:

Remember also that on Zos some problem can arise from peripheral systems. If you have a CICS transaction consuming messages waiting on ressources from DB2, you are likely to blow your SLA... nothing to do with MQ though... OS/SYSPROG team can help you with prioritizing the resources...


If you are fortunate enough to have WMQ for z/OS, you an turn on SMF accounting and statistics capturing WMQ, DB/2, and related server address spaces.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Apr 21, 2011 5:24 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

no Z/OS unfortunately.

I am aware of the issue of message size (and the average size would be another useful metric).

It would be nice if MQ explorer could summarise all the stats for a given set of queues in a filter.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Apr 21, 2011 5:30 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The Acct&stats for MQExplorer supportPac should let you export a set of data as a CSV file for import into your favorite database or spreadsheet product for further analysis.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General IBM MQ Support » Average/peak message rate for QM
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.