-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Performance regression on upgrade to 1.4 #4417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
with the help of dotnet-trace the hotpath is mared as "external" how to load the rest of the debug symbols? Edit: found the filter "show external code path" |
I tested now the HashWheelTimerSchedule.WaitForNextTick() and could not reproduce the behavior in a demo project. https://github.com/Zetanova/AkkaTimerTest it is very strage. my current status is that if i start a 1-5 nodes in debug/docker they consume |
Debug or production builds making no difference The seed node start with ~2.5% CPU 5x 15% => 85% CPU |
As we tried to show everyone as loudly as we could in all Akka.NET v1.4 release notes and documentation: https://getakka.net/articles/remoting/performance.html Turn off remote batching if you're running a low-traffic system. |
Please do that and update us with the results. |
I already tried to disable dotnetty buffering without any chance. I even chance back to 1.3.6 and have the same issue. Then i tried to chance a image in the k8s cluster I am currently try to run it on older dotnet versions. |
Ok, if's not an issue with the DotNetty batching system then that's a bit of a mystery - might be that .NET Core changed part of the underlying runtime itself. We didn't touch many of the concurrency primitives, other than changing onto .NET Standard 2.0. |
I tried down to mcr.microsoft.com/dotnet/core/aspnet:3.1.1-buster-slim and all with this new issue mcr.microsoft.com/dotnet/core/aspnet:3.1-alpine3.11 I think its a kernel patch or something all distro images a got rebuild 20 days ago Maybe someone can confirm the high CPU usage. |
It is very easy to check
|
So you don't think this is an Akka.NET issue? Just want to be clear. |
Might not be a bad idea to revisit #4032 cc @akkadotnet/contributors |
yes, no akka issue |
I upgraded all nodes from 1.3.X to 1.4.6 all nodes working fine
but all nodes using 100% of a core in idling state.
Even a WebApi-Node that hosts more or less no custom actors.
I am using docker 19.03.8 and dotnet core 3.1
Normaly i would use procexp to check what thread is using 100%
but under docker/linux, i dont know how to do it.
ThreadList of the WebAPI node:

I would be glad to get tips how to debug it or resolve.
The text was updated successfully, but these errors were encountered: