Number of packets is significantly increased for inbound and outbound calls from .NET 8 to .NET 9 #110822
Labels
area-System.Net
tenet-performance
Performance related issue
untriaged
New issue has not been triaged by the area owner
Description
During preliminary testing of a core workload upgrade from .NET 8 to .NET 9, we noticed that our service mesh was running significantly hotter, leading to throttling.
Upon closer investigation, we discovered that the number of packets in .NET 9 is significantly higher than in .NET 8 for the same workload, both for packets received and packets sent. In addition, the packet length in .NET 9 is significantly smaller on average than .NET 8. Finally, we found significantly higher connection counts in .NET 9 over .NET 8.
Configuration
dotnet publish -c Release -o out -r linux-musl-x64 -p:PublishReadyToRun=true
Regression?
This appears to be a regression from dotnet sdk 8.0.403 and all previous versions.
Data
Packets Sent/Received
.NET 8
.NET 9
Established Connections and /second
.NET 8
.NET 9
Overall Stats for Client -> Server
.NET 8
.NET 9
Packet Length Comparison
The text was updated successfully, but these errors were encountered: