I have an eth0 (802.1q) with subinterfaces/vlans off of it..
eth0.32
eth0.64
eth0.128
eth0.256
eth0.512
eth0.1024
I’m setting fq_codel on each sub interface as it really made a noticeable difference vs ‘noqueue’
~ ❯ tc -s qd show dev eth0.1024
qdisc fq_codel 8005: root refcnt 2 limit 40960p flows 4096 quantum 1514 target 5ms interval 100ms memory_limit 32Mb ecn drop_batch 64
Sent 8835158236981 bytes 6909888660 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
maxpacket 68130 drop_overlimit 0 new_flow_count 6727734 ecn_mark 0
new_flows_len 0 old_flows_len 0
~ ❯ uptime
08:50:59 up 60 days, 20:37, 0 user, load average: 0.38, 0.25, 0.27
~ ❯ tc -s qd show dev eth0.512
qdisc fq_codel 8004: root refcnt 2 limit 40960p flows 4096 quantum 1514 target 5ms interval 100ms memory_limit 32Mb ecn drop_batch 64
Sent 4720052743524 bytes 4117854907 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
maxpacket 68130 drop_overlimit 0 new_flow_count 4141447 ecn_mark 0
new_flows_len 0 old_flows_len 0
~ ❯ tc -s qd show dev eth0
qdisc cake 800c: root refcnt 2 bandwidth unlimited diffserv3 flowblind nonat nowash ingress no-ack-filter split-gso rtt 100ms noatm overhead 38 mpu 84
Sent 44534207816 bytes 41922132 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
memory used: 475412b of 15140Kb
capacity estimate: 0bit
min/max network layer size: 28 / 1500
min/max overhead-adjusted size: 84 / 1538
average network hdr offset: 14
Bulk Best Effort Voice
thresh 0bit 0bit 0bit
target 5ms 5ms 5ms
interval 100ms 100ms 100ms
pk_delay 0us 6us 0us
av_delay 0us 2us 0us
sp_delay 0us 0us 0us
backlog 0b 0b 0b
pkts 716 41882319 39097
bytes 43324 44531713489 2451003
way_inds 0 0 0
way_miss 0 0 0
way_cols 0 0 0
drops 0 0 0
marks 0 0 0
ack_drop 0 0 0
sp_flows 1 0 1
bk_flows 0 1 0
un_flows 0 0 0
max_len 382 68130 590
quantum 1514 1514 1514
~ ❯
I’m doing cake flowblind ingress ethernet (which gets me overhead 38 mpu 34 noatm)
ether-vlan.. would that be used (if I was setting cake on the sub interfaces) to account for the frame tag..
I’m not sure if the ether-vlan should be used to indicate this will be used for vlans (ie 802.1q) or if ether-vlan is for the tagged vlan itself..
Thank you in advance.