From 64539786fb65bf962dd88bdf1ac42367083586d2 Mon Sep 17 00:00:00 2001 From: linhua <5linhua5@gmail.com> Date: Mon, 3 Jul 2017 00:14:08 +0800 Subject: [PATCH] remove fq to support PCC congestion control --- rinetd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rinetd.c b/rinetd.c index fa0e1a9..e904ab4 100644 --- a/rinetd.c +++ b/rinetd.c @@ -1654,13 +1654,13 @@ static int test_net_init(char **argv) lkl_sys_close(sock); - char qdisc_entries[] = "root|fq"; + //char qdisc_entries[] = "root|fq"; //char sysctls[] = "net.core.default_qdisc=fq;net.ipv4.tcp_congestion_control=bbr;net.ipv4.tcp_wmem=4096 16384 60000000"; //char sysctls[] = "net.core.default_qdisc=fq_codel;net.ipv4.tcp_congestion_control=TA;net.ipv4.tcp_wmem=4096 16384 60000000"; char sysctls[] = "net.ipv4.tcp_wmem=4096 16384 60000000"; - if (nd_ifindex >= 0) - lkl_qdisc_parse_add(nd_ifindex, qdisc_entries); + //if (nd_ifindex >= 0) + // lkl_qdisc_parse_add(nd_ifindex, qdisc_entries); lkl_sysctl_parse_write(sysctls);