Try the following, these values work great,
you can try higher but I don't think it is going to help because the most
of the bottleneck is because of design,
a problem related with how akka-remote is designed around Netty, but that
will change soon: https://github.com/akka/akka-meta/issues/22
akka.remote.default-remote-dispatcher {
type = Dispatcher
executor = "fork-join-executor"
fork-join-executor {
parallelism-min = 4
parallelism-factor = 1
parallelism-max = 8
}
}
Also, what serialization are you using? Hopefully is the not default Java
serialization, most people use Kryo serialization.
Non-related but could help:
- Set Akka version to "2.3.15" (next week 2.3.16 is probably going to be
released)
- Set Netty version to "3.10.6.Final" which will be part of next release.
See https://github.com/netty/netty/issues?q=milestone%3A3.10.6.Final
and https://github.com/akka/akka/pull/20857
HTH,
Guido.
On Saturday, July 2, 2016 at 12:14:24 AM UTC+1, Eduardo Fernandes wrote:
>
> Hi.
>
> I'm using Akka 2.3.13, Java edition.
>
> I'm making some performance tests and in the same machine with 8 cores I
> see that the serialization process is my bottleneck. I know that because
> after an increment of actor cpu usage the throughput is exactly the same.
>
> My actor system talks to 2 other nodes so I see 2 cores dedicated to
> serialization. Is is possible to increase the number of threads for
> serialization?
>
> I'm using standard Java serialization but I have my own serialization
> implementation in my write/readObject methods so I think that switching to
> kryo or similar will not enhance too much the throughput.
>
> Many thanks for your help.
>
> /Eduardo
>
>
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ:
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.