From 47c8bd67b0852f699fa2d4d6780bb4444762e3d2 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 6 Mar 2023 21:17:25 +0100 Subject: vidhar: cake tuning --- hosts/vidhar/network/dsl.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hosts/vidhar/network') diff --git a/hosts/vidhar/network/dsl.nix b/hosts/vidhar/network/dsl.nix index 7a1dab58..403b0fad 100644 --- a/hosts/vidhar/network/dsl.nix +++ b/hosts/vidhar/network/dsl.nix @@ -66,14 +66,14 @@ in { text = '' ethtool -K telekom tso off gso off gro off - tc qdisc replace dev "${pppInterface}" root cake pppoe-ptm nat bandwidth 35mbit + tc qdisc replace dev "${pppInterface}" root cake pppoe-ptm nat diffserv4 wash bandwidth 35mbit modprobe ifb ip link del "ifb4${pppInterface}" || true ip link add name "ifb4${pppInterface}" type ifb tc qdisc del dev "${pppInterface}" ingress || true tc qdisc add dev "${pppInterface}" handle ffff: ingress - tc qdisc replace dev "ifb4${pppInterface}" root cake pppoe-ptm bandwidth 93mbit + tc qdisc replace dev "ifb4${pppInterface}" root cake pppoe-ptm diffserv4 bandwidth 93mbit ip link set "ifb4${pppInterface}" up tc filter add dev "${pppInterface}" parent ffff: matchall action mirred egress redirect dev "ifb4${pppInterface}" ''; -- cgit v1.2.3