qihongxu commented on issue #2494: ARTEMIS-2224 Reduce contention on LivePageCacheImpl URL: https://github.com/apache/activemq-artemis/pull/2494#issuecomment-455086939 @franz1981 Here's the result of single and 400 consumers. With these settings applied: max-size-bytes = 950MB, page-size = 900MB, Produced 2,000,000 msgs in a new queue (make it a ~700MB page file as ‘livePage’ + 950MB in journal), then closed producer, started consumer. **single consumer: avg 1k tps**  **400 consumers: avg 5.3k tps**  Their flamegraphes are similar like this.  As we can see `getChunkOf(index, lastIndex)` is most costy in both cases, and 400 consumers didn't perform better than 200. Also, we found that once most journal msgs have been consumed and all paged msgs loaded to memory, tps can rocket to 30k just like we have shown in other tests before.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services