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:
parent
719e5db2fa
commit
480fbe3951
1 changed files with 20 additions and 0 deletions
|
@ -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
|
||||
|
||||
##
|
||||
|
||||
##
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue