Skip to content

Removed the TCP congestion control option#1270

Merged
stevenengler merged 1 commit intoshadow:devfrom
stevenengler:remove-tcp-congestion-option
Apr 7, 2021
Merged

Removed the TCP congestion control option#1270
stevenengler merged 1 commit intoshadow:devfrom
stevenengler:remove-tcp-congestion-option

Conversation

@stevenengler
Copy link
Copy Markdown
Contributor

@stevenengler stevenengler commented Apr 6, 2021

There is only a single congestion control method implemented in the dev branch (reno), so we should remove this option until we support others. Part of #1220.

@stevenengler stevenengler added Priority: Low Prioritized below most other issues Type: Maintenance Refactoring, cleanup, documenation, or process improvements Component: Main Composing the core Shadow executable labels Apr 6, 2021
@stevenengler stevenengler self-assigned this Apr 6, 2021
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 6, 2021

Codecov Report

Merging #1270 (6f9cb39) into dev (fa54d54) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev    #1270      +/-   ##
==========================================
+ Coverage   55.74%   55.76%   +0.01%     
==========================================
  Files         141      141              
  Lines       20479    20462      -17     
  Branches     5032     5028       -4     
==========================================
- Hits        11416    11410       -6     
+ Misses       5949     5943       -6     
+ Partials     3114     3109       -5     
Flag Coverage Δ
tests 55.76% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/main/core/support/options.c 62.16% <ø> (-0.29%) ⬇️
src/main/host/descriptor/tcp.c 78.82% <100.00%> (+0.24%) ⬆️
src/main/core/worker.c 76.36% <0.00%> (+0.99%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fa54d54...6f9cb39. Read the comment docs.

@stevenengler stevenengler requested a review from robgjansen April 6, 2021 20:18
}
/* in the future we'd like to support more congestion control types
* and allow it to be set as a host option */
TCPCongestionType congestionType = TCP_CC_RENO;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think congestionType is an unused variable, unless I missed it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, fixed.

@stevenengler stevenengler force-pushed the remove-tcp-congestion-option branch from 82ee317 to 8129ea1 Compare April 7, 2021 17:27
@stevenengler stevenengler force-pushed the remove-tcp-congestion-option branch from 8129ea1 to 6f9cb39 Compare April 7, 2021 18:18
@stevenengler stevenengler merged commit 5b0f26f into shadow:dev Apr 7, 2021
@stevenengler stevenengler deleted the remove-tcp-congestion-option branch April 7, 2021 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Main Composing the core Shadow executable Priority: Low Prioritized below most other issues Type: Maintenance Refactoring, cleanup, documenation, or process improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants