|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
Poor performance with large messages |
« View previous topic :: View next topic » |
Author |
Message
|
sevenM |
Posted: Mon Sep 20, 2004 12:00 am Post subject: |
|
|
Novice
Joined: 16 Sep 2004 Posts: 14
|
Hi Roger,
I run scenario 6 in 'binding' mode on the 64-bit kernel AIX. The same poor performance.
I installed mqm.client64.rte 5.2.0.0 and 64-bit headers as instructed (http://www-1.ibm.com/support/docview.wss?rs=203&uid=swg24001024&loc=en_US&cs=utf-8&lang=en) and modified my client app launch script by adding this line: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/mqm/lib64:/usr/mqm/java/lib. Also, in the classpath I included /usr/mqm/java/lib/com.ibm.mqbind.jar instead of /usr/mqm/java/lib/com.ibm.mq.jar
No luck.
After installing MQ Client Libraries for AIX (64-bit), I did not restart my MQ server. How can I be sure I am running my client app in 'binding' mode?
Regards,
Horia |
|
Back to top |
|
 |
sevenM |
Posted: Mon Sep 20, 2004 4:14 am Post subject: |
|
|
Novice
Joined: 16 Sep 2004 Posts: 14
|
Hello Roger,
Disregard the last message. Finally I was able to make the client application work in binding mode by adding to the client application startup script LIBPATH=/usr/mqm/lib:/usr/mqm/java/lib. In the classpath I kept the old com.ibm.mq.jar because I wanted to switch easily to 'client' connection.
In order to enable binding mode i had to MQEnvironment.hostname = null
The results however are good. In 'binding' mode, the scenario 6 yields expected results so we can use this as a 'workaround'.
The problem remains anyway: if I use 'client' mode in scenario 6 with MQ v.5.3. client jars, the performance remains very poor. If I use 'client' mode in scenario 6 with MQ v.5.0. client jars, everything is ok.
Regards,
Horia
P.S. The put performance between 'client' and 'binding' mode is not so big (scenario 6). I tried with 5KB messages. In 'client' mode I obtained a 50 messages / second putting rate, and in 'binding' mode I obtained a 51 messages / second putting rate. But as long as 'client' mode is 'smelly', one can't really tell isn't it? |
|
Back to top |
|
 |
RogerLacroix |
Posted: Mon Sep 20, 2004 7:56 am Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi,
It's good that you got binding mode working but I am surprised that you only got 51 messages per seconds.
How many CPUs are running on the box? Is it a very busy box?
Regards,
Roger Lacroix _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
sevenM |
Posted: Mon Sep 20, 2004 10:37 pm Post subject: |
|
|
Novice
Joined: 16 Sep 2004 Posts: 14
|
Hi Roger,
I have a pSeries 630, with 4 Power4+ 1.45 GHz CPU's and 8GB of RAM.
I think the putting rate is bound by the client application itself that can not produce more that 50 messages / second. The messages are generated evey time they are put on the queue.
I will make some tests again with a messages that is generated only once.
Regards,
Horia |
|
Back to top |
|
 |
sevenM |
Posted: Mon Sep 20, 2004 10:49 pm Post subject: |
|
|
Novice
Joined: 16 Sep 2004 Posts: 14
|
Hi Roger,
I repeated scenario 6 tests with a 'binding' client application and 5KB messages. The message to be send is generated only once at the begining of the testing session. Now the put rate jumps from 50 to 60 messages/second, and the system is almost iddle (topas). I think this is all it can give me.
Of course I can spawn more threads to put messages to the same queue so I think I can safely multiply putting rate at least with the number of CPUs.
What rates did you expect Roger?
Regards,
Horia |
|
Back to top |
|
 |
RogerLacroix |
Posted: Tue Sep 21, 2004 10:45 am Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi,
I thought you could get a higher rate but I just tried it (java program) in binding mode on Sun Ultra-60 Solaris 8 with 2 CPUs and got about 60 messages (5KB) per second.
Regards,
Roger Lacroix _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|