Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-2290

Add `nioRemotingThreads` as a JMX Property of acceptor

    XMLWordPrintable

Details

    • Story
    • Resolution: Unresolved
    • Major
    • None
    • AMQ 7.2.1.GA
    • container image, management
    • None

    Description

      • Add `nioRemotingThreads` as a JMX Property of acceptor
      • nioRemotingThreads of acceptor is `Runtime.getRuntime().availableProcessors()` × 3 as default(1). However, the result of `Runtime.getRuntime().availableProcessors()` depends on the number of CPU core or HT so the actual number is unclear by default, especially in the environment of AWS and VM.

      (1) Using AMQ Broker > Appendix A. Acceptor and Connector Configuration Parameters
      https://access.redhat.com/documentation/en-us/red_hat_amq/7.2/html-single/using_amq_broker/index#acceptor_connector_params
      ~~~
      When configured to use NIO, the broker will by default use a number of threads equal to three times the number of cores (or hyper-threads) as reported by Runtime.getRuntime().availableProcessors() for processing incoming packets. If you want to override this value, you can set the number of threads by specifying this parameter. The default value for this parameter is -1, which means use the value derived from Runtime.getRuntime().availableProcessors() * 3.
      ~~~

      Attachments

        Activity

          People

            rh-ee-ataylor Andy Taylor
            rhn-support-tyamashi Tomonari Yamashita
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: