Github user franz1981 commented on the issue:
https://github.com/apache/activemq-artemis/pull/2484
Looking at the CPU graph instead I can see many odd things:
- Page writing is double copying the heap ByteBuffer into a native
ByteBuffer to write on the page file:

- Compaction is stealing lot of cpu and I/O:

---