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/blocklist6
|
||||
- /etc/syslog-ng/syslog-ng.conf
|
||||
- name: "Create NTP directories."
|
||||
file:
|
||||
state: "directory"
|
||||
path: "{{ item }}"
|
||||
loop:
|
||||
- "/var/NTP"
|
||||
- "/var/lib/ntp"
|
||||
- /etc/sysctl.d/congestion.conf
|
||||
- name: "And services."
|
||||
template:
|
||||
src: "templates/{{ item }}.j2"
|
||||
|
@ -79,5 +73,12 @@
|
|||
mode: "750"
|
||||
loop:
|
||||
- /etc/init.d/ntpd
|
||||
- name: "Create NTP directories."
|
||||
file:
|
||||
state: "directory"
|
||||
path: "{{ item }}"
|
||||
loop:
|
||||
- "/var/NTP"
|
||||
- "/var/lib/ntp"
|
||||
- name: "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