Add rust TcpSocket to network interface as LegacySocket#2626
Add rust TcpSocket to network interface as LegacySocket#2626stevenengler merged 1 commit intoshadow:mainfrom
TcpSocket to network interface as LegacySocket#2626Conversation
Codecov ReportBase: 67.47% // Head: 67.71% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #2626 +/- ##
==========================================
+ Coverage 67.47% 67.71% +0.24%
==========================================
Files 200 200
Lines 29522 29523 +1
Branches 5791 5791
==========================================
+ Hits 19919 19992 +73
+ Misses 5017 4936 -81
- Partials 4586 4595 +9
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
f1933d0 to
c4aff6f
Compare
If we think the differences in the PR were due to fixing the tracker, why revert? Or is the plan to confirm that more carefully but revert in the meantime...? |
|
Oh I think I mis-parsed. You're saying the previous change broke the tracker, so this should fix it? |
There are two parts to this. In #2603 support for rust My current guess is that we're not counting some bytes in the tracker for these rust sockets, leading to shadow undercounting the number of bytes received on these sockets. |
c4aff6f to
8e000f4
Compare
When #2611 was merged, it added the first use of rust
InetSocketobjects in the network interface. This seems to have affected the graphs in the tgen benchmark.I don't think the simulation itself changed, just the tracker
wasbecame broken since only metrics that came from Shadow changed, but not metrics that came from tgen.This PR changes it back to adding the C
LegacySocketto the network interface instead, which causes the shadow metrics to go back to how they were before.