Score:0

tc prio qdisc example not working

ca flag

I'm used tc to priority send packets to port 9999.

tc qdisc add dev eno1 root handle 1: prio priomap 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
tc filter add dev eno1 protocol ip  parent 1: prio 0 u32 match ip dport 9999 0xffff flowid 1:1

use ethtool to limit eno1 bandwith to 10Mbps,and test with iperf.

iperf -c 192.168.1.23 -p 9999 -b 50M -i 1 -t300
iperf -c 192.168.1.23 -p 29999 -b 50M -i 1 -t300

the result is packets sent to 9999 and 29999 are almost the same,port 9999 has no higher priority。both the iperf clients send 5Mbps.I hope to send 10Mbps to port 9999.

so how can I set up?

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.