oxidecomputer / oxidecomputer/crucible

Tune socket buffer size(s)

Open
#392 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
260
Forks
34
Avg merge
2d 1h
Merged PRs (30d)
8

Description

tokio::net::TcpSocket offers both set_recv_buffer_size and set_send_buffer_size.

Tune these away from their defaults and investigate the impact on performance. This may also necessitate changing other things like the maximum number of in-flight jobs.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the TcpSocket setup and the code controlling in-flight jobs, then establish a baseline for the current socket buffer defaults. Investigate performance across alternative receive and send buffer sizes and assess any effect on in-flight job limits. Done means the selected tuning and measured impact are documented and supported by the relevant performance evidence.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.