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 » Contention on queue ?

Post new topic  Reply to topic Goto page Previous  1, 2
 Contention on queue ? « View previous topic :: View next topic » 
Author Message
JuulV
PostPosted: Sun Oct 21, 2007 4:18 am    Post subject: Reply with quote

Apprentice

Joined: 05 Sep 2007
Posts: 28
Location: Belgium

Hi,

There was never an answer to the question: "Why 2000 connections?"
I don't think you'll ever be able to get a reliable, stable and performing environment with 2000 concurrent processes or threads on Windows. Even if the vast majority of them are waiting, you'll suffer from severe problems at the Windows level, because the Operating System has to look after too many things (mainly object handles, but also memory management and dispatching will be a nightmare)...

So, I would first look at a way to reduce the number of concurrent Server processes SIGNIFICANTY (with a factor 10 - 100!!!).

And only then I would start worrying about the overhead of WMQ Calls; and yes, the cost of MQCONN(X) and MQDISC calls is hughe, and the cost of MQOPEN/MQCLOSE is significant, so you should certainly consider to limit these calls...
_________________
Juul Vanparijs
Senior Developer
Cressida Technology Ltd
Back to top
View user's profile Send private message Visit poster's website
mattb
PostPosted: Mon Oct 22, 2007 6:07 am    Post subject: Reply with quote

Newbie

Joined: 15 Oct 2007
Posts: 8

Thanks to everyone for their comments and advice. Particularly Vitor for pointing out our misuse of MessageId.

Our next version will use priority queues and will not use MessageId when doing MQGETs. In the interim period we are trying to make the legacy system as reliable/performant as possible before we can get the next version into production.

To answer some of your questions:

- The 2000 open input connections are from ~400 physical servers which pull jobs from the request queue. (We don't have 1 server opening 2000 connections to the same queue). Typically each server will be busy calculating for 3-15 minutes between GET calls.

- There are usually 1..20 clients posting requests (as fast as they can).

- The request depth varies enormously - typically peaking at < 30,000, sometimes peaking at 80,000.

Thanks again

Matt
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 » IBM MQ Installation/Configuration Support » Contention on 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.