franz1981 commented on pull request #3572:
URL: https://github.com/apache/activemq-artemis/pull/3572#issuecomment-841677475


   I've run some benchmarks vs this version getting these results on the 
replica:
   
   `main` total broker CPU usage = ~1000 samples. 
   
   430 samples on (5) I/O threads + 570 samples on replication endpoint thread
   
   155 samples/ 570 samples on replication endpoint thread are spent to awake 
the I/O threads.
    
   `this PR` total broker CPU usage = ~664 samples
   
   171 samples on a single I/O thread + 492 samples on replication endpoint 
thread
   
   91 samples/570 samples on replication endpoint thread are spent to awake the 
single I/O thread.
   
   TLDR: *The improvement in term of CPU usage is ~30% (!!!!)*
   
   Throughput is slightly improved for the single producer/single consumer 
case, but not dramatically.
   The improved CPU usage instead means having more room to handle I/O, but I 
don't have a big enough machine to test this case.
   
   
   
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to