Roarke
Roarke

Reputation: 96

dotnet core cpu utilization changed dramatically after upgrading to 2.1

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.

cpu utilization

Upvotes: 3

Views: 2139

Answers (1)

Bastiflew
Bastiflew

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:

enter image description here

Upvotes: 1

Related Questions