download: adjust tcp_rmem/tcp_wmem to improve downloads

See https://pagure.io/fedora-infrastructure/issue/11929
for more info. This helps out download speeds.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2024-05-22 15:13:52 -07:00
parent 719e5db2fa
commit 480fbe3951

View file

@ -102,4 +102,24 @@
- httpd
- httpd/proxy
- name: Set tcp read buffers higher for download improvements
sysctl:
name: net.ipv4.tcp_rmem
value: "4096 131072 67108864"
sysctl_file: /etc/sysctl.d/10-tcp-socket-buffers.conf
tags:
- service
- config
- name: Set tcp write buffers higher for download improvements
sysctl:
name: net.ipv4.tcp_wmem
value: "4096 16384 67108864"
sysctl_file: /etc/sysctl.d/10-tcp-socket-buffers.conf
tags:
- service
- config
##
##