I want to know is,
Can you use HTB with Cake, if you can, is it even worth it?
Does cake work with multiple child queues? and Parent queue? Can you mix different child queues like pfifo and have the Cake be the parent queue?
Does something like this setup work? Or should I just do FQ_CODEL in a setup like this?
Code: Select all
[Reid@ReidTik] /queue/type> print detail
Flags: * - default
0 * name="default" kind=pfifo pfifo-limit=50
1 * name="ethernet-default" kind=pfifo pfifo-limit=50
2 * name="wireless-default" kind=sfq sfq-perturb=5 sfq-allot=1514
3 * name="synchronous-default" kind=red red-limit=60 red-min-threshold=10 red-max-threshold=50 red-burst=20 red-avg-packet=1000
4 * name="hotspot-default" kind=sfq sfq-perturb=5 sfq-allot=1514
5 name="Default_U" kind=pfifo pfifo-limit=1300
6 name="FQ_CODEL" kind=fq-codel fq-codel-limit=10240 fq-codel-interval=100ms fq-codel-target=5ms fq-codel-ecn=yes fq-codel-flows=1024 fq-codel-memlimit=32.0MiB fq-codel-quantum=1514
7 name="Cake" kind=cake cake-bandwidth=0bps cake-overhead=0 cake-overhead-scheme="" cake-rtt=100ms cake-diffserv=diffserv4 cake-flowmode=triple-isolate cake-nat=yes cake-wash=no cake-ack-filter=aggressive
8 name="megabucket" kind=pfifo pfifo-limit=50000000
9 name="Fat Down" kind=bfifo bfifo-limit=75000000
10 * name="pcq-upload-default" kind=pcq pcq-rate=0 pcq-limit=50KiB pcq-classifier=src-address pcq-total-limit=2000KiB pcq-burst-rate=0 pcq-burst-threshold=0 pcq-burst-time=10s pcq-src-address-mask=32 pcq-dst-address-mask=32 pcq-src-address6-mask=128 pcq-dst-address6-mask=128
11 * name="pcq-download-default" kind=pcq pcq-rate=0 pcq-limit=50KiB pcq-classifier=dst-address pcq-total-limit=2000KiB pcq-burst-rate=0 pcq-burst-threshold=0 pcq-burst-time=10s pcq-src-address-mask=32 pcq-dst-address-mask=32 pcq-src-address6-mask=128 pcq-dst-address6-mask=128
12 * name="only-hardware-queue" kind=none
13 * name="multi-queue-ethernet-default" kind=mq-pfifo mq-pfifo-limit=50
14 * name="default-small" kind=pfifo pfifo-limit=10
Code: Select all
[Reid@ReidTik] /queue/tree> print detail
Flags: X - disabled, I - invalid
0 name="Global_In" parent=UplinkToCisco-LAN packet-mark="" limit-at=0 queue=Cake priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
1 name="Global_Out" parent=SFP12-WAN packet-mark="" limit-at=0 queue=Cake priority=8 max-limit=37M burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
2 name="Wifi_Download" parent=Global_In packet-mark=Wifi limit-at=100M queue=Cake priority=4 max-limit=900M burst-limit=0 burst-threshold=0 burst-time=9s bucket-size=0.1
3 name="Wifi_Upload" parent=Global_Out packet-mark=Wifi limit-at=0 queue=Cake priority=3 max-limit=35M burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
4 name="Guest_Download" parent=Global_In packet-mark=Guest limit-at=100M queue=Cake priority=7 max-limit=200M burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
5 name="Guest_Upload" parent=Global_Out packet-mark=Guest limit-at=0 queue=Cake priority=7 max-limit=10M burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
6 name="Home_Download" parent=Global_In packet-mark=Home limit-at=0 queue=Cake priority=3 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
7 name="Home_Upload" parent=Global_Out packet-mark=Home limit-at=8M queue=Cake priority=4 max-limit=35M burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
8 name="Catchall_Download" parent=Global_In packet-mark=no-mark limit-at=0 queue=Cake priority=1 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
9 name="Catchall_Upload" parent=Global_Out packet-mark=no-mark limit-at=0 queue=Cake priority=1 max-limit=35M burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
10 name="Tor_Download" parent=Global_In packet-mark=Tor limit-at=0 queue=Fat Down priority=8 max-limit=600M burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
11 name="Tor_Upload" parent=Global_Out packet-mark=Tor limit-at=0 queue=Default_U priority=8 max-limit=35M burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
12 name="Domain_Download" parent=Global_In packet-mark=Domain limit-at=0 queue=Cake priority=6 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
13 name="Domain_Upload" parent=Global_Out packet-mark=Domain limit-at=0 queue=Cake priority=5 max-limit=35M burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
14 name="Athens_Plex_Down" parent=Global_In packet-mark=Athens_Plex limit-at=0 queue=Cake priority=2 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
15 name="Athens_All_Down" parent=Global_In packet-mark=Athens_All limit-at=0 queue=Cake priority=4 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
16 name="Athens_Plex_Up" parent=Global_Out packet-mark=Athens_Plex limit-at=0 queue=Cake priority=2 max-limit=35M burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
17 name="Athens_All_Up" parent=Global_Out packet-mark=Athens_All limit-at=1M queue=Cake priority=5 max-limit=35M burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
18 name="Game_Download" parent=Global_In packet-mark=Game limit-at=0 queue=Cake priority=1 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1
19 name="Game_Upload" parent=Global_Out packet-mark=Game limit-at=1M queue=Cake priority=1 max-limit=10M burst-limit=0 burst-threshold=0 burst-time=0s bucket-size=0.1