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 » DefaultQBufferSize

Post new topic  Reply to topic
 DefaultQBufferSize « View previous topic :: View next topic » 
Author Message
senMQ
PostPosted: Thu Jul 24, 2008 11:04 am    Post subject: DefaultQBufferSize Reply with quote

Acolyte

Joined: 14 Aug 2006
Posts: 66
Location: Palo Alto, CA

Is there a way to identify the DefaultQBufferSize for a queue that has already been created. The TuningParameters stanza on qm.ini is commented out. This is how it looks like:
#TuningParameters:
# DefaultQBufferSize=256000
# DefaultPQBufferSize=1000000

Now, I dont know which queue was created with default values and which one with this configuration. Is there a tool / command / way to identify DefaultQBufferSize & DefaultPQBufferSize of a queue.

Thnx
Back to top
View user's profile Send private message Send e-mail
gunter
PostPosted: Mon Jul 28, 2008 10:06 pm    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2004
Posts: 307
Location: Germany, Frankfurt

I changed DefaultQBufferSize on Solaris with WMQ 6 and found the value in
/var/mqm/qmgr/QMGR/QUEUE/q.

$>od -X q | grep "^0003220"
0003220 00000000 00000200 7fffffff 000f4200

This is not ducumented, maybe different on other systems or versions.
It looks as if the value is aligned.
1000000 = 0xF4240 => 0xF4200
800000 = 0xC3500 => 0xC3400

Creating queues with non-default values has to be documeted.
Maybe the only way to know the real value is to delete and recreate the queue.
_________________
Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3
Back to top
View user's profile Send private message
senMQ
PostPosted: Tue Jul 29, 2008 8:03 am    Post subject: Buffer size Reply with quote

Acolyte

Joined: 14 Aug 2006
Posts: 66
Location: Palo Alto, CA

I was able to figure out a way to identify the buffer size of an an existing queue with IBM's help. This is how we can we can find it:

Run,

amqldmpa -m<QMNAME> -cA -q<QUEUENAME> -u1 -f/tmp/q.txt

and then running,

grep StgClass.MaxQBufferLength /tmp/q.txt

The output would be like this:
StgClass.MaxQBufferLength 131072

Ofcourse, the best way to manage the environment is by documenting these tuning parameters !!

Thx
Back to top
View user's profile Send private message Send e-mail
KeeferG
PostPosted: Wed Jul 30, 2008 4:11 am    Post subject: Reply with quote

Master

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

The file also has an entry called Internal.QAvoidCount whioch is very useful when tuning your applicaiton for performance. You want this number to be high when comnpared to Internal.TotalEnqueues.
_________________
Keith Guttridge
-----------------
Using MQ since 1995
Back to top
View user's profile Send private message Visit poster's website
gunter
PostPosted: Fri Aug 01, 2008 12:04 am    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2004
Posts: 307
Location: Germany, Frankfurt

Is there any reference documentation to amqldmpa?

All I could find is this:
http://www-1.ibm.com/support/docview.wss?uid=swg21155762

Gunter
_________________
Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3
Back to top
View user's profile Send private message
KeeferG
PostPosted: Fri Aug 01, 2008 12:15 am    Post subject: Reply with quote

Master

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

I am suprised there is even that much. It is an undocumented command used by IBM internally but it has made its way out into the world.

I've been using it for about 8 years but I only ever is it as -c A -d 7 -u 1
and only to check queue avoidance and DefualtQBufferSize. I probably don't need all of the paramaters I use but thats what I was told and thats what i stick to.

I haven't ever played around with it but I expect it does some very useful stuff too.
_________________
Keith Guttridge
-----------------
Using MQ since 1995
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » DefaultQBufferSize
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.