From ff38695cf2eb7c79a9781a5c122a817a21f25ff9 Mon Sep 17 00:00:00 2001 From: Jonathan Morton Date: Sun, 12 Jun 2016 22:48:45 +0300 Subject: [PATCH] A less aggressive autorate margin. --- sch_cake.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sch_cake.c b/sch_cake.c index 7d46c5e..3c6bd9e 100644 --- a/sch_cake.c +++ b/sch_cake.c @@ -759,7 +759,7 @@ static s32 cake_enqueue(struct sk_buff *skb, struct Qdisc *sch) if (q->rate_flags & CAKE_FLAG_AUTORATE_INGRESS && now - q->last_reconfig_time > (NSEC_PER_SEC / 4)) { - q->rate_bps = (q->avg_peak_bandwidth * 15) >> 4; + q->rate_bps = (q->avg_peak_bandwidth * 7) >> 3; cake_reconfigure(sch); } }