03-25-2019 06:04 AM - edited 03-25-2019 06:08 AM
Hi all,
Been on this QoS on and off for some time, decided to get these questions off my chest, hope gurus here can help...
q1) does policing/shaping happen before packets enter the software queues (queuing) or it happens after queuing - when the packets are dequeue from the software queues ? (saw different variations, some have the policer after the software/queue, some have the policer before the software/queue)
q2) if CBWFQ is based on bandwidth weight. -> Does that mean if i have a AF4 tagged traffic where its class is assigned a smaller bandwidth then a AF1 class, the AF4 traffic will be dequeued / serviced at a slower rate then the AF1 class by the CBWFQ scheduler despite having a higher priority tag ?
(e.g. AF4 class, tag with AF4 but low bandwidth allocated - 100Kbps
AF1 class, tag with AF1 but higher bandwidth allocated - 500Kbps )
q3) if i have a tagged traffic (high priority AF4) which i happen to classify it in a low priority class/queue and I did not remark it - Does that means this particular traffic might be handle with higher priority in the next hop ?
Regards,
Noob
Solved! Go to Solution.
03-26-2019 03:18 AM
03-25-2019 07:39 AM
03-25-2019 09:03 AM - edited 03-25-2019 10:14 AM
Hi Joseph,
It's good to see your reply.
Do you have an example case or cases where your question is a relevant consideration?
I have a policer that re-mark exceeded traffic with a different marking... just wonder that traffic got actually sent out (policer after queue) or get a new marking and placed into the software queue (policer before queue)
q2 - Yes (Which creates, I believe, a whole lot of less than ideal QoS configurations basing allocations on "bandwidth".)
So can i say that in CBWFQ, the tagging/priority of a traffic class must be matched with the bandwidth ratio allocated to it ? Higher priority traffic - must be allocated higher bandwidth (even though they might actually require just little bandwidth)
If a traffic is marked with AF4 but if it is allocated a small bandwidth, it will be handled with less priority compared to other classes with higher bandwidth allocation (even though those classes might be tag with a lower priority dscp marking) -- am i right ?
q3 - Depends on the QoS model being supported, i.e. DiffServ vs. IntServ. I suspect you're thinking/using the DiffServ model, and in that model, every hop makes its own QoS treatment decisions. Also remarking the traffic, or not, might not even impact that traffic's treatment on the next hop.
Yes, i am using the diffserv model. I got traffic tagged with CS5 that is being classified into the default class in the CE router - it was not re-mark though.
I need this traffic to be in the default class but the client program tagged it with a CS5 marking.
So i wonder, when this particular class of traffic move into the PE with a CS5 marking, it will be handle with priority instead (even though i wanted it to be in default). Could this be a possible scenario ?
Regards,
Noob
03-26-2019 03:18 AM
03-26-2019 10:18 AM - edited 03-26-2019 10:19 AM
Hey Joseph,
Thanks for your reply.
(BTW, I once had a policy that gave lots of bandwidth to telnet and SSH, to insure remote console traffic wasn't delayed. Policy worked great until the day someone used SCP. )
LOL...ok this is 1 real simple but classic example.
==========================
Just some food for thoughts, if i have 2 type of traffic_A and B, in which Traffic_A should have a higher priority then B, is it better to
** assume the pipe is small and will gonna get congested by both traffic **
a) create 1 big queue, tag AF31 to trafficA and AF32 to trafficB , and use WRED DSCP to configure more drop rate for AF32 markings
or
b) 2 different queue - AF31 with a higher bandwidth/priority and AF32(or even mark with AF21) with a lower bandwidth/priority
Regards,
Noob
03-27-2019 11:16 AM
03-27-2019 01:31 PM
Kudos Joseph very good post!
03-28-2019 06:07 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide