use bbr for tcp congestion control
This commit is contained in:
parent
2f4a9c9d1b
commit
394bb374f0
2 changed files with 9 additions and 7 deletions
|
@ -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:
|
||||||
|
|
1
templates/etc/sysctl.d/congestion.conf
Normal file
1
templates/etc/sysctl.d/congestion.conf
Normal file
|
@ -0,0 +1 @@
|
||||||
|
net.ipv4.tcp_congestion_control=bbr
|
Loading…
Reference in a new issue