You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Image uploads performed via the web console are 3-4x slower than
uploads performed via the Oxide CLI[0]. We found that the CLI creates
8 separate TCP connections to upload the image chunks, while the console
uses HTTP/2 to multiplex a single TCP connection six ways. The default
TCP `recv_buf` size on Helios is 128 KB, which limits window size and
therefore the number of packets that can be sent in parallel. By
increasing this value to 1 MB, we can increase single-connection
throughput by ~3x, bringing console performance to rough parity with
the CLI.
This does increase the amount of memory a potential DoS attack could
consume, but 1 MB is still quite small relative to the total resources
available on a compute sled.
While we're at it, also update the TCP congestion control algorithm to
`cubic` from its default value of `sunreno`, which may also help improve
throughput.
Closes#6601
[0] oxidecomputer/console#2096
Assisted-by: David Crespo <[email protected]>
0 commit comments