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 » IBM MQ Installation/Configuration Support » How Will you tune the Local Queue

Post new topic  Reply to topic
 How Will you tune the Local Queue « View previous topic :: View next topic » 
Author Message
nageshshiv
PostPosted: Tue May 27, 2008 5:41 am    Post subject: How Will you tune the Local Queue Reply with quote

Apprentice

Joined: 09 May 2008
Posts: 30

Hi,

I had interview with indian based company , they have asked me a question like how will you tune if the local queue received max messages , for example 1 lakh messages ?
(or) How will you increase the performance ?
Back to top
View user's profile Send private message
sebastia
PostPosted: Fri May 30, 2008 1:01 pm    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

What parameters does a queue have that can improve a specified situation ?

(*) MAXDEPTH
(*) TRIGGER

But I would say you do not "tune" a queue.
If you want more throughput, you tune the whole system.

So, I would improve

(*) disk speed
(*) more memory
(*) a better CPU

... the "client" application ...

Just few ideas - I dont like to see your post so empty !

()
Back to top
View user's profile Send private message Visit poster's website
KeeferG
PostPosted: Tue Jun 03, 2008 5:05 am    Post subject: Reply with quote

Master

Joined: 15 Oct 2004
Posts: 215
Location: Basingstoke, UK

I would look into altering the Queue buffers to improve performance. We have all of our queues set to 512kb. Ideally I would like tobe able to set this per queue but it takes too long currently.
1) Change buffer size
2) create queue
3) dump queue to check buffer set correctly
4) Repeat for each queue
_________________
Keith Guttridge
-----------------
Using MQ since 1995
Back to top
View user's profile Send private message Visit poster's website
nageshshiv
PostPosted: Mon Jun 30, 2008 12:09 am    Post subject: Reply with quote

Apprentice

Joined: 09 May 2008
Posts: 30

Keefer,

Pls find the definition of my Local queue below , Pls suggest me which field I should modify

2 : dis QUEUE(D005001.R501781)
AMQ8409: Display Queue details.
QUEUE(D005001.R501781) TYPE(QLOCAL)
ACCTQ(QMGR) ALTDATE(2008-06-24)
ALTTIME(18.10.04) BOQNAME( )
BOTHRESH(0) CLUSNL( )
CLUSTER( ) CLWLPRTY(0)
CLWLRANK(0) CLWLUSEQ(QMGR)
CRDATE(2008-06-24) CRTIME(01.19.31)
CURDEPTH(0) DEFBIND(OPEN)
DEFPRTY(0) DEFPSIST(YES)
DEFSOPT(SHARED) DEFTYPE(PREDEFINED)
DESCR(FXPCA Interface Receive Queue) DISTL(NO)
GET(ENABLED) NOHARDENBO
INITQ(IDMS.FXPCA.INITIATION.QUEUE) IPPROCS(0)
MAXDEPTH(10000) MAXMSGL(4000)
MONQ(QMGR) MSGDLVSQ(PRIORITY)
TRIGGER NPMCLASS(NORMAL)
OPPROCS(0) PROCESS(D005001.R501781.FXPCA)
PUT(ENABLED) QDEPTHHI(1)
QDEPTHLO(100) QDPHIEV(ENABLED)
QDPLOEV(DISABLED) QDPMAXEV(ENABLED)
QSVCIEV(HIGH) QSVCINT(400000)
RETINTVL(999999999) SCOPE(QMGR)
SHARE STATQ(QMGR)
TRIGDATA( ) TRIGDPTH(1)
TRIGMPRI(0) TRIGTYPE(FIRST)
USAGE(NORMAL)

Nagesh
Back to top
View user's profile Send private message
KeeferG
PostPosted: Mon Jun 30, 2008 12:19 am    Post subject: Reply with quote

Master

Joined: 15 Oct 2004
Posts: 215
Location: Basingstoke, UK

DefaultQBufferSize is a tuning parameter that you put into the qm.ini file. It is not currently a parameter of the queue though I do keep asking.
_________________
Keith Guttridge
-----------------
Using MQ since 1995
Back to top
View user's profile Send private message Visit poster's website
exerk
PostPosted: Mon Jun 30, 2008 12:22 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

nageshshiv wrote:
...QDEPTHHI(1) QDEPTHLO(100)...


These may well affect any monitoring solution you my have; these values are percentages of depth, not number of messages.

Your QDEPTHLO is set to 10,000 messages, and your QDEPTHHI to 100 messages.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
nageshshiv
PostPosted: Tue Jul 01, 2008 5:25 am    Post subject: Reply with quote

Apprentice

Joined: 09 May 2008
Posts: 30

Hi ,

Exerk Thanks for the update .

Could you pls explain me in detail , So that I will have clear picture

Thank KeeferG

Nagesh
Back to top
View user's profile Send private message
KeeferG
PostPosted: Tue Jul 01, 2008 5:57 am    Post subject: Reply with quote

Master

Joined: 15 Oct 2004
Posts: 215
Location: Basingstoke, UK

I would take a look on the Hurlsey Wordpress site at an article called "Creating a new Performance Queue Manager" by Rich Cumbers.

It can be found at http://hursleyonwmq.wordpress.com/2007/02/03/creating-a-new-performance-queue-manager/

Alternatively, using the search engine of your choice, search for DefaultQBufferSize and you will usually find what you are looking for.
_________________
Keith Guttridge
-----------------
Using MQ since 1995
Back to top
View user's profile Send private message Visit poster's website
exerk
PostPosted: Tue Jul 01, 2008 6:45 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

nageshshiv wrote:
Hi ,

Exerk Thanks for the update .

Could you pls explain me in detail , So that I will have clear picture

Thank KeeferG

Nagesh


After your QDEPTHHI event triggers you will not get a QDEPTHLO unless you get a QUEUE_FULL condition.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
nageshshiv
PostPosted: Thu Jul 03, 2008 6:06 am    Post subject: Reply with quote

Apprentice

Joined: 09 May 2008
Posts: 30

Hi Exerk,

Could you pls tell me what is QDEPTHHI event triggers ?
Back to top
View user's profile Send private message
exerk
PostPosted: Thu Jul 03, 2008 6:17 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Please read the manual, which will explain better than I can about events.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
crossland
PostPosted: Fri Jul 04, 2008 4:34 am    Post subject: Reply with quote

Master

Joined: 26 Jun 2001
Posts: 248

QDEPTHHI(1)
QDPHIEV(ENABLED)

Your queue is configured to generate an event message whenever your queue reaches 1 per cent of the maximum depth. If you are using a monitoring tool, it should detect when this occurs.

Tim
http://www.inspirotechnic.com
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » How Will you tune the Local Queue
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.