hw: set TCP sysctls
This commit is contained in:
parent
c69abbfd85
commit
c0eecd0fb3
4 changed files with 12 additions and 0 deletions
|
@ -17,6 +17,9 @@
|
||||||
kernel.sysctl = {
|
kernel.sysctl = {
|
||||||
"net.core.default_qdisc" = "fq";
|
"net.core.default_qdisc" = "fq";
|
||||||
"net.ipv4.tcp_congestion_control" = "bbr";
|
"net.ipv4.tcp_congestion_control" = "bbr";
|
||||||
|
"net.ipv4.tcp_syncookies" = 0;
|
||||||
|
"net.ipv4.tcp_timestamps" = 1;
|
||||||
|
"net.ipv4.tcp_window_scaling" = 1;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,9 @@
|
||||||
kernel.sysctl = {
|
kernel.sysctl = {
|
||||||
"net.core.default_qdisc" = "fq";
|
"net.core.default_qdisc" = "fq";
|
||||||
"net.ipv4.tcp_congestion_control" = "bbr";
|
"net.ipv4.tcp_congestion_control" = "bbr";
|
||||||
|
"net.ipv4.tcp_syncookies" = 0;
|
||||||
|
"net.ipv4.tcp_timestamps" = 1;
|
||||||
|
"net.ipv4.tcp_window_scaling" = 1;
|
||||||
"net.core.rmem_max" = 2500000;
|
"net.core.rmem_max" = 2500000;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -20,6 +20,9 @@
|
||||||
kernel.sysctl = {
|
kernel.sysctl = {
|
||||||
"net.core.default_qdisc" = "fq";
|
"net.core.default_qdisc" = "fq";
|
||||||
"net.ipv4.tcp_congestion_control" = "bbr";
|
"net.ipv4.tcp_congestion_control" = "bbr";
|
||||||
|
"net.ipv4.tcp_syncookies" = 0;
|
||||||
|
"net.ipv4.tcp_timestamps" = 1;
|
||||||
|
"net.ipv4.tcp_window_scaling" = 1;
|
||||||
"net.core.rmem_max" = 2500000;
|
"net.core.rmem_max" = 2500000;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -17,6 +17,9 @@
|
||||||
kernel.sysctl = {
|
kernel.sysctl = {
|
||||||
"net.core.default_qdisc" = "fq";
|
"net.core.default_qdisc" = "fq";
|
||||||
"net.ipv4.tcp_congestion_control" = "bbr";
|
"net.ipv4.tcp_congestion_control" = "bbr";
|
||||||
|
"net.ipv4.tcp_syncookies" = 0;
|
||||||
|
"net.ipv4.tcp_timestamps" = 1;
|
||||||
|
"net.ipv4.tcp_window_scaling" = 1;
|
||||||
"net.core.rmem_max" = 2500000;
|
"net.core.rmem_max" = 2500000;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue