We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7a2b55 commit 552d1c5Copy full SHA for 552d1c5
illumos-utils/src/ipadm.rs
@@ -201,6 +201,14 @@ impl Ipadm {
201
/// Set TCP recv_buf to 1 MB.
202
pub fn set_tcp_recv_buf() -> Result<(), ExecutionError> {
203
let mut cmd = std::process::Command::new(PFEXEC);
204
+
205
+ // This is to improve single-connection throughput on large uploads
206
+ // from clients, e.g., images. Modern browsers will almost always use
207
+ // HTTP/2, which will multiplex concurrent writes to the same host over
208
+ // a single TCP connection. The small default receive window size is a
209
+ // major bottleneck, see
210
+ // https://github.com/oxidecomputer/console/issues/2096 for further
211
+ // details.
212
let cmd = cmd.args(&[
213
IPADM,
214
"set-prop",
0 commit comments