JFR shows high CPU utilization inside Lmax-Disruptor engine

236 Views Asked by At

In our applciation we use LMAX-Distuptor for pulishing events. It shows the Distuptor code is doing some intense CPU operation just to calculate the minimum sequence from an array of sequences, which takes most of the CPU. Click the below URL to fetch the JFR hot thread snap.

https://screenshot.net/ez5zztv

The ring buffer size we use is big, 2^16. and we use PhasedBackoffWaitStrategy as wait strategy.

Kindly put your suggestion on how to optimize this, to avoid this high cpu utilization.

0

There are 0 best solutions below