# Poor performance with Aeron IPC/UDP

**URL:** <https://discuss.akka.io/t/poor-performance-with-aeron-ipc-udp/5472>\
**Category:** Akka Cluster\
**Created:** [November 25, 2019, 8:06am UTC](https://discuss.akka.io/t/poor-performance-with-aeron-ipc-udp/5472 "2019-11-25T08:06:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tipame](https://avatars.discourse-cdn.com/v4/letter/t/4491bb/32.png) [@tipame](https://discuss.akka.io/u/tipame)\
**Post date:** [November 25, 2019, 8:06am UTC](https://discuss.akka.io/t/poor-performance-with-aeron-ipc-udp/5472/1 "2019-11-25T08:06:13Z")

</div>

Hi there! I’m trying akka cluster between actors running on one node (IPC).

Transport: Aeron UDP (and IPC - with my pach for akka)  
MediaDriver: runs as sepparate process  
Serialization: Kryo (serialized message size = 39 bytes).  
OS: Windows 10 Pro

I’m run two actors on different JVM on one node and get very poor results on my dev machine (i7 8th gen 2700, 32gb ram).  
I get best results for throughput with 100-1000 threads perform ask in cyle:  
max throughput = 25\_000 msg/sec  
latency is very big: 20 milliseconds  
CPU load not going more than 80%.

With BusySpinIdle strategy results even worse.

Running same actors in one JVM with serialize-messages = on give 100% CPU load and about 200\_000 msg/sec. So i decide Aeron is a bottlenek.

I’m already tryed all Aeron tunes - but it’s so far from advertised 1 million msg/sec…

---

<div class="post-metadata">

**Author:** ![patriknw](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/patriknw/32/89_2.png) [@patriknw](https://discuss.akka.io/u/patriknw)\
**Post date:** [November 25, 2019, 7:27pm UTC](https://discuss.akka.io/t/poor-performance-with-aeron-ipc-udp/5472/2 "2019-11-25T19:27:49Z")

</div>

I’d recommend that you try it with our [MaxThroughputSpec](https://github.com/akka/akka/blob/master/akka-remote-tests/src/multi-jvm/scala/akka/remote/artery/MaxThroughputSpec.scala), at least for inspiration or starting point.
