tools: Upload with SSH option IPQoS=cs0

SSH defaults to IPQoS=cs1 for non-interative sessions, like scp.
OSUOSL's network prioritizes these packets lower and often drops them,
reducing uplaod performance significantly.

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner 2021-08-26 12:54:52 -07:00
parent 9860d0914e
commit ba25e990d0
No known key found for this signature in database
GPG key ID: ACEB29740C9A4E97

View file

@ -274,6 +274,7 @@ upload() {
-o UserKnownHostsFile=/dev/null
-o VerifyHostKeyDNS=yes
-o StrictHostKeyChecking=no
-o IPQoS=cs0
)
local RSYNC_OPTS=(
-e "${SSH_CMD[*]}"