You should be very careful about what you read into the performance report, or into the outome of a simple test of producing and consuming messages from singleton basic applications.
Each environment tends to have a single most restrictive bottleneck. Using fastpath bindings makes a big difference to the CPU usage, it typically avoids two thread context switches per MQI call. If you are CPU constrained, either across the entire system (multiple concurrent threads of execution) or on a single critical application context then switching to fastpath will have a big effect. If on the other hand you were primarily network constrained, or disk constrained then it would have minimal effect.
In order to maximize your performance you really need a good simulation of your production environment where you can measure the effect of individual changes.
Setting MQIBindType=FASTPATH has virtually no downside in a well managed environment (one where internal MQ processes are never terminated abruptly) and so it's generally good advice to enable this option. It may make no difference to the throughput in your system, but it is very likely to reduce your CPU usage.
I would NEVER recommend running user written applications in fastpath mode.
I'd probably start with an analysis of whether you are predominately using persisten or non-persistent messages. If persistent then I'd make sure the IO latency is low, or the degree of application concurrency is high. If non-persistent then looking at CPU usage and whether messages are being streamed to applications (minimise TCP line turn arounds) might be more relevant, again the degree of application concurrency is likely to have a very significant bearing on the throughput.
Applying a one size fits all approach to MQ performance tuning isn't generally a good idea.
------------------------------
Andrew Hickson
------------------------------
Original Message:
Sent: Thu September 15, 2022 05:03 AM
From: Armand
Subject: Publish-Subscribe performance report (Clarification about remote and local bounding)
Thanks Colin. I will make that test.
Best regards
------------------------------
armand
IT splecialis
ibm
madrid
------------------------------
Original Message:
Sent: Tue September 13, 2022 07:44 AM
From: Colin Paice
Subject: Publish-Subscribe performance report (Clarification about remote and local bounding)
You might want to consider a test of putting a message to a queue and getting the same message using client/local/ etc to see the effect of your network.
If you vary message size as well eg 1KB, 10 KB, 50KB, you will get a good feel of the network and how it impacts your performance.
Colin
------------------------------
Colin Paice