Score:0

How does the tbf and the fq_codel interract in this particular case? Why would I need fq_codel?

cn flag

I've posted this question in here, seems like it's been the wrong spot.) I've been studying TC for a while.

I came across this answer containing a script.

In it we set the egress limit as:

# setup bandwidth limiting:
tc qdisc add dev "$DEV" root handle 1: tbf rate "$UPLINK_RATE" burst "$UPLINK_BURST" latency "$TBF_LATENCY"

# setup fq_codel for bandwidth shaping
tc qdisc add dev "$DEV" parent 1: fq_codel limit "$CODEL_LIMIT" target "$CODEL_TARGET" interval "$CODEL_INTERVAL" flows "$CODEL_FLOWS" noecn

I am not really sure why do we need the second line, defining the fq_codel? Especially, given the fact that it has the same handle? is the fq_codel acting as a buffer to the tbf queue?

How does the tbf qdisc and the fq_codel qdisc work together?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.