SQM cake graph, what is this setting?

Hello,

What is the setting below?
The white line, tagged, Target, it is showing the value, 5
Is this a user setting, or hard coded?

If you run this command in an SSH session tc -s qdisc you get:

qdisc ingress ffff: dev eth1 parent ffff:fff1 ---------------- 
 Sent 199713962378 bytes 155313639 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev br-lan root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc cake 8012: dev ifb4eth1 root refcnt 2 bandwidth 800Mbit diffserv4 dual-dsthost nat nowash ingress no-ack-filter split-gso rtt 80ms noatm overhead 18 mpu 64 
 Sent 207376603973 bytes 155313332 pkt (dropped 307, overlimits 63619686 requeues 0) 
 backlog 0b 0p requeues 0
 memory used: 4467818b of 15140Kb
 capacity estimate: 800Mbit
 min/max network layer size:           46 /    1500
 min/max overhead-adjusted size:       64 /    1518
 average network hdr offset:           14

                   Bulk  Best Effort        Video        Voice
  thresh         50Mbit      800Mbit      400Mbit      200Mbit
  target            4ms          4ms          4ms          4ms
  interval         80ms         80ms         80ms         80ms
  pk_delay        460us        912us         21us         14us
  av_delay         88us        685us          4us          5us
  sp_delay          1us          2us          3us          3us
  backlog            0b           0b           0b           0b
  pkts          2568391    145202219      6229439      1313590
  bytes      3382098400 199451325307   4250815347    292798310
  way_inds            0      1422545         1748        52720
  way_miss           67       222006         1722       563416
  way_cols            0            0            0            0
  drops               0          306            1            0
  marks               9          103            0            0
  ack_drop            0            0            0            0
  sp_flows            1            3            1            1
  bk_flows            0            1            0            0
  un_flows            0            0            0            0
  max_len         68130        69876        24224         1841
  quantum          1514         1514         1514         1514

There you can see your target ms, which is a 5% of your interval ms value. In my case 4 ms and 80 ms, as you can see above. By default interval is set to 100 ms, hence your 5 ms target value.

3 Likes

Thank you for this information!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.