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 Performance Monitoring » WMQ perfomance increase? if # of cores are increased?

Post new topic  Reply to topic
 WMQ perfomance increase? if # of cores are increased? « View previous topic :: View next topic » 
Author Message
visionR32
PostPosted: Thu Dec 03, 2009 12:54 am    Post subject: WMQ perfomance increase? if # of cores are increased? Reply with quote

Novice

Joined: 29 Jan 2009
Posts: 11

Hi All,

I could not find any thing concrete on google -

Running Websphere MQ 6.0 on a multi-core solaris system - eg. 16 cores / VS. running it on a high spec'd SINGLE core CPU, if i assign all 16 cores (CPUs essensially) to the MQ server will all of the cores access MQ at the same time?

1. Will i gain perfomance increase on MQ?
2. Is MQ designed to levarege multi-core processors?
3. OR only ONE of the 16 cores will process ALL mq needs at a given time? - if so then i will be loosing out on the other idle processors, is int??
Back to top
View user's profile Send private message
manicminer
PostPosted: Thu Dec 03, 2009 1:04 am    Post subject: Reply with quote

Disciple

Joined: 11 Jul 2007
Posts: 177

MQ is multi-threaded and multi process, it will make very good use of multi-core / multi-processor systems. (do you think it would be so popular and so widely used for high performance messaging if it couldn't make use of multiple core's or CPU's?)

however.....

It's impossible to say whether or not you will see a performance gain purely by assigning more CPU. It depends on whether or not the CPU is a bottleneck in your messaging system.

For example if you are doing lots of persistent messaging with very large messages it is more likely that your disk access will the bottleneck that than CPU because you will be needing to write lots of data to disk.
_________________
Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
Back to top
View user's profile Send private message
mvic
PostPosted: Thu Dec 03, 2009 3:30 am    Post subject: Re: WMQ perfomance increase? if # of cores are increased? Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

visionR32 wrote:
1. Will i gain perfomance increase on MQ?

Please say something about what type of MQ messaging work (persistent, non-persistent, transactional, batched, online) your system is doing.

In answer to the question, it depends. If you have only one MQ application, you will see little gain from an increase in number of cores. However, if you have 100 MQ applications running at the same time then there will be a gain.

Quote:
2. Is MQ designed to levarege multi-core processors?

It is designed to use many threads, which is not the same thing precisely, but is probably a "yes" to the underlying question.

Also please appreciate, a system with 16 cores does not process its work 16 times faster than a system with one core. All processors must work together for short periods of time to successfully manage shared resources (disk, shared memory). This means the gain from additional processors is dependent on what work exactly they are doing on behalf of MQ and your applications.

If your MQ system is making heavy use of persistent messages, then the first priority should be performance of your disk and I/O capability. Or if non-persistent messages are in heavy use then CPU is more important.

The only way to be sure is to run some tests on various hardware simulating your real world workloads.

Quote:
3. OR only ONE of the 16 cores will process ALL mq needs at a given time? - if so then i will be loosing out on the other idle processors, is int??

No. MQ uses many threads so will indeed make use of your processors.

Did you find the Performance Reports that are published on the MQ SupportPacs page?
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Dec 03, 2009 6:56 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Performance tuning is more complicated than just adding cpus or i/o- or network-bandwidth or RAM.

The performance of MQ is heavily influenced by the entire workload, not just MQs workload. The aggregate workload is referred to as concurrency. How much and how many things can take place and still meet SLAs.

Generally, an under-provisioned server will present a bottleneck where there is most demand OR the least resource. (Think of a one-lane road to Grandmas house.)

Too little RAM will cause paging, which causes (needless) i/o, which creates the next bottleneck: i/o. Increasing RAM will reduce the needless paging i/o, but will then present the next bottleneck.

As pointed out in a prior post, 2 cores doesn't guarantee that you get twice the work done as compared to a single-core. More cpus will get more instructions processed concurrently, which will lead to more demand on RAM and i/o - the next bottlenecks.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Dec 03, 2009 7:28 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Moved to Performance Monitoring forum.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
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 Performance Monitoring » WMQ perfomance increase? if # of cores are increased?
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.