Reputation: 96
This might not be an issue necessarily, it might actually be a good thing, but looking at the chart below you can probably see where we upgraded to 2.1 from 2.0. CPU usage has on average gone up, and it is much peakier.
Any recommendations? this is across the board for ~15 services.
Upvotes: 3
Views: 2139
Reputation: 1166
After few investigations, it seems that the new aspnetcore 2.1 Kestrel transportation lib, called "Socket" generate a lot of CPU stress. I resolved the issue by following the documentation here: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel?view=aspnetcore-2.1#transport-configuration
the result:
Upvotes: 1