IBM Support

Explanation of CPU usage in Message Broker agent

Question & Answer


Question

What is causing CPU utilization in message broker agent?

Answer

We don't have formal performance figures so all information given below are based on experience of support teams.

There are many factors that may affect CPU usage.
Generally speaking, it depends on how many EG/MF are deployed in the broker and if message broker agent (KQI) is configured to get detailed data.

1. In kqi.xml, set defaultCollectNodeData or collectNodeData to "YES".
It will show all nodes data in the workspace 'broker status'.
It might cause CPU or memory issue if you have more than 1000 nodes in one broker.

2. Enable Archive Statistics data with detailed node level.
There are two related parameters for the command 'mqsichangeflowstats'
'-t threadData' specifies the thread statistics level: values allowed are 'none' or 'basic'.
'-n nodeData' specifies the node statistics level: values allowed are 'none', 'basic' or 'advanced'.
Setting detailed node level data (specifically, set 'advanced' for nodeData) will extremely increase the data parsed by KQI agent if you have lots of nodes.

3. If you have hundreds of message flows deployed and enable archive statistics, it will also cause performance issue even if you don't set detailed node level.

4. If you enable historical data but do not configure Data Warehouse connection, the local historical file can increase indefinitely to more than 1GB. Reading and writing this huge file will cause high CPU issue.

5. Number of transactions on broker side do NOT have impact on agent performance.

[{"Product":{"code":"SSRLBE","label":"Tivoli OMEGAMON XE for Messaging for Distributed Systems"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"IBM Tivoli OMEGAMON XE for WebSphere Message Broker Monitoring for Distributed Systems","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.0;7.0.1;7.1.0;7.3.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21965493