use bbr for tcp congestion control

This commit is contained in:
f 2022-06-19 14:22:28 -03:00
parent 2f4a9c9d1b
commit 394bb374f0
2 changed files with 9 additions and 7 deletions

View file

@ -65,13 +65,7 @@
- /etc/ipset.d/blocklist4 - /etc/ipset.d/blocklist4
- /etc/ipset.d/blocklist6 - /etc/ipset.d/blocklist6
- /etc/syslog-ng/syslog-ng.conf - /etc/syslog-ng/syslog-ng.conf
- name: "Create NTP directories." - /etc/sysctl.d/congestion.conf
file:
state: "directory"
path: "{{ item }}"
loop:
- "/var/NTP"
- "/var/lib/ntp"
- name: "And services." - name: "And services."
template: template:
src: "templates/{{ item }}.j2" src: "templates/{{ item }}.j2"
@ -79,5 +73,12 @@
mode: "750" mode: "750"
loop: loop:
- /etc/init.d/ntpd - /etc/init.d/ntpd
- name: "Create NTP directories."
file:
state: "directory"
path: "{{ item }}"
loop:
- "/var/NTP"
- "/var/lib/ntp"
- name: "Reboot!" - name: "Reboot!"
reboot: reboot:

View file

@ -0,0 +1 @@
net.ipv4.tcp_congestion_control=bbr