ft420 wrote:
hi,

without --worker-thread option pidstat command shows that there are by
default 6 threads created with --worker-thread 6 option pidstat command shows that there are 9 i.e.
default 6 + 3 threads created.

Fyi: the extra three threads are timer threads for various different tasks.

As per documentation worker threads option is used to improve performance. I checked with --worker-thread 10 and without --worker-thread.
direct_producer sends 100000 messages put time increases with
--worker-thread 10 as compared to --worler-thread option.

Running more threads than there are processors will not improve any real parallelism. There is also no real value from using more threads than you have active connections (so in a test with just one producer and one consumer connection you won't see any benefit from having more than 2 worker threads).

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to