Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use a 256 quantum for everything but VO

  • Loading branch information...
commit 0732032a3a7840dcbca1951eb4f9eded47754f69 1 parent 8b9d68b
Dave Taht authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 net/debloat/files/debloat
View
14 net/debloat/files/debloat
@@ -53,7 +53,7 @@ env = { ["TC"] = "/sbin/tc",
["qlen_be"] = 3,
["qlen_bk"] = 3,
["MTU"] = 1500,
- ["CODEL_LL_QUANTUM"] = 1514
+ ["CODEL_LL_QUANTUM"] = 256
}
wireless_debug = "/sys/kernel/debug/ieee80211/"
@@ -1241,12 +1241,12 @@ end
local function wireless_setup_ll(queuetype)
qa("handle 1 root mq")
- qap("1:1 handle %x %s limit 100 noecn ",VO, queuetype)
+ qap("1:1 handle %x %s limit 800 noecn quantum 500",VO, queuetype)
qap("1:2 handle %x %s limit 1200 ecn quantum %d",VI, queuetype, env.CODEL_LL_QUANTUM)
qap("1:3 handle %x %s limit 1200 ecn quantum %d",BE, queuetype, env.CODEL_LL_QUANTUM)
-- qap("1:2 handle %x %s limit 200 ecn quantum 3028",VI, queuetype)
-- qap("1:3 handle %x %s limit 400 ecn quantum 3028",BE, queuetype)
- qap("1:4 handle %x %s limit 1000 noecn ",BK, queuetype)
+ qap("1:4 handle %x %s limit 1200 noecn ",BK, queuetype)
wireless_filters()
end
@@ -1288,7 +1288,7 @@ end
-- Various models
local function wireless_fq_codel()
- wireless_setup("fq_codel limit 600")
+ wireless_setup("fq_codel limit 1200 quantum 256")
end
local function wireless_fq_codel_ll()
@@ -1296,7 +1296,7 @@ local function wireless_fq_codel_ll()
end
local function wireless_codel()
- wireless_setup("codel limit 600")
+ wireless_setup("codel limit 1200")
end
local function wireless_sfq()
@@ -1580,11 +1580,11 @@ local function ethernet_qfq(queues)
end
local function ethernet_fq_codel(queues)
- qa("handle %x root fq_codel ",10)
+ qa("handle %x root fq_codel limit 1200 quantum 256 ",10)
end
local function ethernet_fq_codel_ll(queues)
- qa("handle %x root fq_codel limit 1200 ",10)
+ qa("handle %x root fq_codel limit 1200 quantum 256 ",10)
end
local function ethernet_codel(queues)
Please sign in to comment.
Something went wrong with that request. Please try again.