Hi,
I am running raspbian ( stretch ) with kernel: " 4.9.31-v7+ #1005 SMP Thu Jun 8 13:02:15 BST 2017 armv7l GNU/Linux " updated thru raspi-update. After reboot I am trying to add in " /etc/sysctl.conf " following changes
net.core.default_qdisc = fq
net.ipv4.tcp_congestion_control = htcp
Unfortunately after reloading sysctl.conf I see
sysctl: setting key "net.core.default_qdisc": No such file or directory
sysctl: setting key "net.ipv4.tcp_congestion_control": No such file or directory
On checking " sysctl net.ipv4.tcp_available_congestion_control " and " "sysctl net.core.default_qdisc " they show:
net.core.default_qdisc = pfifo_fast
net.ipv4.tcp_available_congestion_control = htcp cubic reno
After executing these manually on the command line it works :
sysctl -w net.ipv4.tcp_congestion_control=htcp
net.ipv4.tcp_congestion_control = htcp
cat /proc/sys/net/ipv4/tcp_congestion_control
htcp
sysctl -w net.core.default_qdisc=fq
net.core.default_qdisc = fq
cat /proc/sys/net/core/default_qdisc
fq
I know how to work around it, but I wonder why it does not work thru " /etc/sysct.conf "
Cheers