oxidecomputer / crucible

A storage service.
Mozilla Public License 2.0
168 stars 18 forks source link

Tune socket buffer size(s) #392

Open jmpesp opened 2 years ago

jmpesp commented 2 years ago

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.

leftwo commented 2 years ago

Yeah, the flow control stuff between upstairs and downstairs I think will be effected directly by this.