|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
poor performance on AIX |
« View previous topic :: View next topic » |
Author |
Message
|
sulo |
Posted: Tue Oct 19, 2004 6:54 am Post subject: poor performance on AIX |
|
|
Newbie
Joined: 28 Sep 2004 Posts: 3
|
I'm testing WSMQ 5.3 with CSD07 on my linux ( gentoo , kernel 2.6.5 r1, notebook T41 1,7GHz Centrino , 1GBRAM, 7200 rpm 60GB HDD) and on pSeries box ( p630 and p670, 4CPU,8GB RAM and FAStT900 ) with AIX 5.2.
I put 1000 persistent messages (4KB length) on my linux in 1 second but on pSeries it takes 20-24 seconds. When I move logs and qmgrs directory to FAStT900 storage it takes 2 secondes, but it is still slower then on my notebook ( or other OS).I ran this test on Windows and Solaris8 but AIX was the slowest. We need, for our business more then (minimum) 1000 persistent messages per second . Could you help me ? What can I setup on AIX to reach better performance ?
Thanks. |
|
Back to top |
|
 |
PGoodhart |
Posted: Tue Oct 19, 2004 7:01 am Post subject: |
|
|
Master
Joined: 17 Jun 2004 Posts: 278 Location: Harrisburg PA
|
Are the AIX messages making an additional trip? I mean are you putting the AIX messages from a client application on another machine and putting the Linux messages on the queue from the server itself?
Remember comunication between computers is never free.
AIX is definately faster then you are indicating. I see several times that throughput on my AIX brokers and thats with an addition program in the middle. You may want to go through the Unix quick beginings document and review your settings. _________________ Patrick Goodhart
MQ Admin/Web Developer/Consultant
WebSphere Application Server Admin |
|
Back to top |
|
 |
sulo |
Posted: Tue Oct 19, 2004 7:15 am Post subject: |
|
|
Newbie
Joined: 28 Sep 2004 Posts: 3
|
I'm putting these messages from client which is running on same machine as MQServer . I'm not guru on AIX , but logs and queues are on separate disks or on FASTtT900 with ( I feel 1GB cache), And on mu linux I have default configuration and it runs faster . |
|
Back to top |
|
 |
Nigelg |
Posted: Wed Oct 20, 2004 3:57 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
I too think that AIX should be able to do much better than 40-50 msgs/second. Even on my 5 year old SP2 test machine I can get > 200 msgs/second.
Try putting the msgs from a server app rather than a client, and see what msg rate you get.
Other tips for performance enhancement:
Put msgs in syncpoint in batches, for example put 50 msgs then call MQCMIT.
Use multiple apps putting together. Concurrency of multiple UoWs means that the msg put rate is not constrained by individual apps calling MQCMIT.
Increase the LogBufferPages parameter in qm.ini, to keep more log pages in memory. |
|
Back to top |
|
 |
gunter |
Posted: Wed Oct 20, 2004 4:43 am Post subject: Re: poor performance on AIX |
|
|
Partisan
Joined: 21 Jan 2004 Posts: 307 Location: Germany, Frankfurt
|
sulo wrote: |
I put 1000 persistent messages (4KB length) on my linux in 1 second but on pSeries it takes 20-24 seconds. |
I did many perforemancetests in the MQ environment and I've never seen 1000 persistent messages in one second on an pentium. Maybe you put ...AS_Q_DEF and the definitions are different.
With your AIX I would expect more. MQ does a lot of i/o. You can monitor the ressources with tools like sar. Verify all requeirements for MQ, too (shared memory ...) _________________ Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3 |
|
Back to top |
|
 |
sulo |
Posted: Wed Oct 20, 2004 5:35 am Post subject: |
|
|
Newbie
Joined: 28 Sep 2004 Posts: 3
|
gunter:
I'm not using default settings from queues, I set this parameter in my C++ program ( MQPER_PERSISTENT ). We are using MQSereis more then 5 years but on Solaris and AS400 , windows , Linux , not on AIX. These problems we have on AIX.
Nigelg,
client or server = no performace enhacement
multiple apps = no or realy little performace enhacement
syncpoints = when I chenged mq.ini to :
LogPrimaryFiles=6
LogSecondaryFiles=2
LogFilePages=16384
LogType=CIRCULAR
LogBufferPages=512
LogPath=/var/mqm/log/AIX!SULO!MQM/
LogWriteIntegrity=TripleWrite
without syncpoints = no performace enhacement
with syncpoint =
commit after each 10 puts 470puts/s
commit after each 50 puts 670puts/s
But we will use MQ on AIX for WBIMB and we must commit after each put. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|