Skip to content

consomme: increase default TCP buffer sizes#3010

Merged
jstarks merged 1 commit intomicrosoft:mainfrom
jstarks:larger_buffers
Mar 16, 2026
Merged

consomme: increase default TCP buffer sizes#3010
jstarks merged 1 commit intomicrosoft:mainfrom
jstarks:larger_buffers

Conversation

@jstarks
Copy link
Member

@jstarks jstarks commented Mar 16, 2026

This significantly improves TCP performance, at the cost of some memory. Future changes can be smarter about not using memory for connections that don't need it.

This significantly improves TCP performance, at the cost of some memory.
Future changes can be smarter about not using memory for connections
that don't need it.
@jstarks jstarks requested a review from a team as a code owner March 16, 2026 18:55
Copilot AI review requested due to automatic review settings March 16, 2026 18:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Increases the default TCP receive/transmit buffer sizing in net_consomme to improve TCP throughput, trading higher memory usage per connection for better performance.

Changes:

  • Increase default ConnectionParams rx_buffer_size from 16 KiB to 256 KiB.
  • Increase default ConnectionParams tx_buffer_size from 16 KiB to 256 KiB.

You can also share your feedback on Copilot code review. Take the survey.

@jstarks jstarks enabled auto-merge (squash) March 16, 2026 19:51
@jstarks jstarks merged commit 624ab07 into microsoft:main Mar 16, 2026
60 checks passed
@jstarks jstarks deleted the larger_buffers branch March 16, 2026 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants