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 Discussion » Slow Model Queue on Windows System

Post new topic  Reply to topic
 Slow Model Queue on Windows System « View previous topic :: View next topic » 
Author Message
insel
PostPosted: Mon Mar 04, 2002 5:29 am    Post subject: Reply with quote

Newbie

Joined: 03 Mar 2002
Posts: 3

Hi all,
We have a Queuemanager version 5.2 under Windows 2000.
At this shows itself the phenomenon, that local Queues written up more quickly will can were produced than Queues them by way of a Model Queue. The same holds good for that read from the Queue.

As example 1024 records were written a 1024 byte.
On a local queue the program needed 1. 7 seconds.
On a model queue (them already existed DEFTYPE=PERMDYN) then program needed 19.8 seconds.

If somebody knows why that in such a manner is.

Thanx
Insel
Back to top
View user's profile Send private message
mqonnet
PostPosted: Mon Mar 04, 2002 6:05 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

The reason for this time consumption is because even though you specified Perm dynamic queues, they are non-existent entities at the time of app start. And they need to be created. This happens on an Mqopen of the model queue. So, there is always an additional task involved here. Opening a model queue, take the template def from it and create a dyna queue, open this dyna queue and then pass it's handle back. All this process on the Open only. And then it tries to do the put/get. And thus it has this overhead and takes more time than a direct open,put/get of a local queue.
Cheers.
Kumar

_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
insel
PostPosted: Wed Mar 06, 2002 12:01 am    Post subject: Reply with quote

Newbie

Joined: 03 Mar 2002
Posts: 3

Hi Kumar,
thank you for your answer, but indeed goes these at the theme past.
For even when the new preparing claims the Queue much stretch of time, it should not have these drastic consequences.
Which as well in the UNIX (Sun) or OS /390 associated area is not the case. But as well as all the time, I prepare the Queue not at all newly! !!! If one separate use them some day times via "Model Queue" was produced and have then these "STRETCHES OF TIME"!

Detlef
Back to top
View user's profile Send private message
mqonnet
PostPosted: Wed Mar 06, 2002 4:35 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

So, am i right to understand that your dynamic queues are defined already and exit before you start your program. If yes, then is this the same program which is being used to test the performance of Predefined and dyna queues. Or do you have different programs to do this. The reason i am asking this is, persistent Messages take more time than non-persistent. Also if you have uow, it might also be a consideration. By the way, i assume that both these queues, predefined as well the permanent dynamic queue are local to the QM.

Also, did you use the same programs to test on Solaris and other boxes or you used different programs. What was the result on those platforms.

Cheers.
Kumar

_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
insel
PostPosted: Thu Mar 07, 2002 5:53 am    Post subject: Reply with quote

Newbie

Joined: 03 Mar 2002
Posts: 3

OK,
1.) I'm create with program A via ModelQueue one new Queue (PERMDYN).
2.) With program B i test the Performance (NON-PERSISTENT in both Local Queue and the new Queue from Model).
3.) For the test i use on all systems the same program
Back to top
View user's profile Send private message
mqonnet
PostPosted: Thu Mar 07, 2002 6:09 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

If you say that you have are testing on two queues, one predefined and the other a permanent dynamic queue(whose name is known to you). And you do puts on these queues using the same application, i would think that the results on both should more or less be the same.
Not quite sure about your app. But i would first try modifying the standard amqsput sample to put 100 messages and try to note the time difference. If it is almost near, then would investigate your program. Else, i would go deeper into this one.

Cheers.
Kumar

_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Slow Model Queue on Windows System
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.