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 » Mainframe, CICS, TXSeries » MQOPEN performance on Z/OS...

Post new topic  Reply to topic Goto page Previous  1, 2
 MQOPEN performance on Z/OS... « View previous topic :: View next topic » 
Author Message
zpat
PostPosted: Wed Feb 25, 2009 11:07 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

If you open the same queue again, you get a new open handle.

You should try to re-use the handle (by not opening it again), but it's possible a subsequent open might be faster, it depends how the MQ system code is written.

The design needs to be such that MQCONN and MQOPEN are not repeatedly issued. This is especially true for a MQ client application against an "expensive" platform like z/OS.

There comes a point when a design is simply not acceptable. Re-using open handles is not exactly rocket science.
Back to top
View user's profile Send private message
Maximus
PostPosted: Wed Feb 25, 2009 11:36 am    Post subject: Reply with quote

Acolyte

Joined: 14 Jun 2004
Posts: 57

zpat wrote:
If you open the same queue again, you get a new open handle.

You should try to re-use the handle (by not opening it again), but it's possible a subsequent open might be faster, it depends how the MQ system code is written.

The design needs to be such that MQCONN and MQOPEN are not repeatedly issued. This is especially true for a MQ client application against an "expensive" platform like z/OS.

There comes a point when a design is simply not acceptable. Re-using open handles is not exactly rocket science.


Reusing MQCONN is easy because the connection pool does just that. But reusing the MQOPEN handle is another story and you need to write your own code for that. Correct?

In JMS, in a request/response pattern where there are many different request queues, the easy way is to open/put/close the request queue and then open/get wait/close the response queue. What could be a good design to avoid having to re-open the same queue over and over? Is it something you need to code or already exist?
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Feb 25, 2009 11:51 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

I don't understand the "write your own code" comment.

You just need to write the application according to best practice. Invoking an application for a single message is wrong in many cases, esp high volume client applications.

Develop an adapter that connects to MQ, opens the request queue and processes requests (MQGET with WAIT), sends reply (MQPUT) and LOOPs back to the get, until the adapter needs to close down. Then it closes the queues and disconnects.

Long-running listeners/adapters (you can run it several times at once for parallelism if needed) is the way to go.
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Wed Feb 25, 2009 10:57 pm    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

Quote:
MP16.pdf (Capacity Planning and Tuning for WebSphere MQ for z/OS) is suggesting:

CHIADAPS( 30 )
CHIDISPS( 20 )

what do you suggest? We have non-persistent messages that are under 100KB.


don't have a suggestion at hand. why don't you try the recommended values if there is any change for the better? (think you need to restart qmgr after change)
_________________
Regards, Butcher
Back to top
View user's profile Send private message
Maximus
PostPosted: Thu Feb 26, 2009 5:25 am    Post subject: Reply with quote

Acolyte

Joined: 14 Jun 2004
Posts: 57

Mr Butcher wrote:
Quote:
MP16.pdf (Capacity Planning and Tuning for WebSphere MQ for z/OS) is suggesting:

CHIADAPS( 30 )
CHIDISPS( 20 )

what do you suggest? We have non-persistent messages that are under 100KB.


don't have a suggestion at hand. why don't you try the recommended values if there is any change for the better? (think you need to restart qmgr after change)


After doing the following changes CHIADAPS( 30 ) and CHIDISPS( 20 ) the performance where greatly improved. MQ is now performing as expected More tests will be done to see why the CICS transactions don't have the expected response time.

Thanks for everyone help.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » MQOPEN performance on Z/OS...
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.