Love everyone it is my that here again in this first lecture of the quality of service today.
I want to give you an explanation about how the quality of service or what we call the Ashtiani works
on my.
So I have made this slide to summarize many points inside this topic and I'll go through them one by
one and then I go to do some examples when we want to work on the priority.
So what is there to be.
Actually the quality of service on my take is based on HTB actually is hierarchical token bucket.
So all the quality of service is based on that.
And if we go back to the picture that I was showing you before about the packet flow.
So if we go here we can see that the SUV was showing up over here at the pace.
STV Okay.
And you can see it is on the output of the device.
That means that we cannot control the quality of service of the traffic coming to us.
We can only control the traffic that is going from our interface and then we can do with the quality
of service.
So here it says that the quality of service with the FTB we can create something we call hierarchical
queue for parent and child use.
So that means that using the HTB you can say I want to create the first Q And this is the part that
you and I want to give it.
As for example that log of 8 megabits per second and then on this you make some use which are called
child abuse and then you can say for this computer for example I want to give him to me of it for then
you make another do for the other computer I want to give him three megabit and so forth so those that
try to use are part of the global queue which is the parent.
Q So thats why we call it hierarchical talkin buckets because its just based on you.
So thats what we want to work on the Q3.
Of course we have on the mike Vick also something we call simple.
Q So the difference between the simple Qs and the Q3 is that on the market we have actually they have
somehow similar fashion that they bought or for quality of service but for the simple use it goes into
orders so check first doesnt matter go to science.
Second doesn't much go so far so if you have a cube sitting somewhere in the level of 500 then it has
to go check all the other cues that are available onto the rest of the 500 and that's kinda great for
us DNA.
While on the Q3 is different we create a global queue which is the pattern.
And then we create the chart.
Q So thats mostly differences between both rather as Version 6 which is now the latest version has only
one actually be global and the other version they have to buy now because we are working on the version
6.
Then we have only one issue to the global.
So now we know at a global the about the HDD so let's see now how this should works exactly.
So who needs to have at least one child too.
So if you read the first Q Which is different than if you want to call it Farrand then it needs to have
at least one child under a it.
You get a limit at traffic first then the rest will be decided by the public.
What does it mean.
Lets say we have this example here.
We come here and we create the first bill which they all download and that's the part I gave for this
8 megabit just as an example.
Eight McGavick per site that I created those you can she is the panel.
And then those are the child.
So that is child and this child that is a q which is a balance for those two.
So for this one and for this one.
Those are the type of disparity but this one is child 4.
Q Okay so what I can do here I can say I want to 8 megabit global thats what we call the the maximum.
And that's something we can see at any moment.
The maximum limit so that's the maximum limit of Banku is gonna be 8 McKevitt.
Okay.
And this will be you read as following on this search Hi-Q I would say well I want the limit at the
minimum they got.
As for example one megabit per second and the maximum limit they can go to to make of it.
So they got a minimum of one megabit per second and they can go up to get it.
And here I can define for example to buy to do minimum and maximum.
And here those child will be shared the which is here.
OK.
Now there is the whole idea and then that means that whatever it happens on those you they will not
all exceed the 8 megabit which is the maximum limit which is available on the patent.
Q Okay on thats the global one.
So thats the idea.
How would the use of heisted be work so great the balance.
Q You grade the you.
And then this way you can say what is the minimum What is the maximum.
And that's something I'm going to just got to do with now about the minimum and maximum.
So as I said the to be has to rate limit it has the C R which is Dimmick and the M-I which is the maximum
limit.
So the Army's got that information right.
That means that's the limit.
That's the minimum he can get.
So that means that for example in our case we said that this guy here.
This skew here he would get a minimum one megabit per second that's the CIA are this committed information
that they on the.
The other is known as limit.
They are my arm which is the maximum information rate that Mr. incased all the John Hughes they have
reached the limit at the shot and there is still band was available in the patent.
Q then it will be distributed for the Chuy's to use.
So thats what we call them my arm my arm is the maximum limit so that means if there is some band was
left and they all the time the cues is to have reached there are there still some who was last on the
panel knew that this battle will be shared to the Chinese use.
And thats what it says here.
The first day actually be with right to satisfy each new limit.
So first it will try to satisfy the parent who every child.
Q Which has CAIR and that and Geshe the rest of the bat is there.
That it will be shared to the shots.
That means if there is some Bandler's more than it would go to the MRI of the child's cues.
OK.
So there is no more bandages available and that all the limit of our bathmat then there is no on my
arm so that means that only the child's cues will get the Zayas.
Now there are some here regulation to say why do you want to create the cues on TV.
First thing the am I out of the parent that means this one here the maximum is a measure of the parent
should be greater or equal to the sum of the art of the child again the maximum limit of the body.
That means normally on the ballot you have to put on the maximum show the maximum limit of the ballot.
If you have eight megabits that's the maximum for the part the that this 8 megabit should be equal or
greater than the limit of the charge which is the hour of the child.
That means its child will get the minimum Babbitts and that's minimum balance that we have to look at
for the child.
Some of them should not exceed the maximum limit that is on the planet.
That's first thing to always take it into consideration.
Now the same thing that to take into consideration that the maximum limit of the parents which is like
we said 8 it should not be less.
So it should be always more or equal to the MVR of the child.
So if you want here for example you said if you go back to this example you said you have an hour on
the patent eight that means you had the heart of the child should not go more than 8 megabit.
So that's the am I on the maximum.
And also Same here should not exceed more than 8 megabits and same here.
OK.
So that means that they are out of the balance should always always always be also greater or it will
to the mjr of the child.
Am I out.
And that's our OK.
So if we make it a summary of the parents should be greater than the sum of this and the amount of the
parent should be equal or greater than the amount out of each of the child.
And the last month now is about the issue of the prior Do you have some priority on there should be
that you can use in order to quiet the last traffic on other traffic.
OK.
So the priority was on the child.
So first you need to assign those autopilot to the child cues to cues which are under the parent.
The trash of the priority is from 1 to eight where one is the highest an 8 is the lowest That means
if you want to give priority for the traffic of for example this child Q here then you give it one if
you want to give priority class then you give this three.
And if you want this want to be the last one then you give it for example summer.
So one is more than three three is more than seven.
OK.
The Q With higher parity will get the maximum before the other kids.
OK.
So again the first thing that the parent would do is to meet the limit at this hour for all the cues.
So watch this art is given to all the child cues and there is still band was available then this event
needs to be giving to the child to you in there.
And my God and this man with the bat if you want to give it to the child he will look for the priority
if there is any of the child.
Q Having play the higher than the other then he will give the bad for that one more than the others.
OK so that's the whole idea.
And now I'm going to do an example to show you how they play out the wall.
So I hope now that you understand that the idea of the priority is very straightforward you have priority
from one to eight.
One is the higher rate is the lowest and you if you have the cues and you have a partner and child the
first thing the parents can do is to give the limit at which is desire for the child.
So once it is met and all child now they have these are then there are still boundaries on the part
of the queue then the PACU has to distribute it to the child based on the maximum and based on the priorities
so we will look for the priority which one has the highest priority.
If we get more maxed them out which is I want to get more of them than the other child.
Now let's go and do the examples too.
So you can understand more how the product on TV works.
Example Number one you have first heard about you.
It has maxed them and then we give it again the the you always you have to assigned balance on the maximum.
OK.
So it has timing of it that you see here are six and the maximum is so hour six and my hour is 10.
And here under this panel Hugh they have created a few here which is Spanish for the cube.
Number four on number five which has limit of four.
And much of fun.
And here this one has a limit of two matches often and this one has a limit of two max of that.
Then we can see here this one has product of one.
This one has player of three.
This one has by all three of five.
The question is how much Bankwest will get each of the cues cues three four to five.
So let's set what we have understood now from the last slide.
Let's now try to apply.
We said that first the bottom.
Q We'll try to give the limit for all the cues the child's cues OK but besides that let's just check
they're saying that the part of the cue for Q3.
So that excuse me here the part of the cue for this Q One which is this one and in Q4 and you find the
PACU for Q2.
And of course you want is the path Q of Q.
Now let's see how it works.
First we said that the path you will try to give the limit for each of the cues.
So cute 3 you say the limit is six so that you will give him six and give it OK that you have total
done then what is left is for him to give it.
OK.
That comes to here.
That this one the cue to say that I have formic acid at that then he would give him for that that means
he has no more bandwidth left the if you want.
OK.
Then at times he had four rows are asking I want limit at 2.
So he has four minus two then he has still two and he give this one also limit that to then he has to
then he has then zero so at the end what we have this one which has he received 6 because he has six
megabit as the.
This one has received do so because he has them at two and this one has received two because his it
is true that idea and three should get six and get it.
Q Four should get to me a bid and Q Five should get five and give it and you can see that the bandit
on Q One is finished.
Then we get it.
It has to be distributed based on the limit on the CIA.
OK.
So this is the first example here.
The pratty didn't play a lot of fraud because it is working only on the say on the limit that let's
look now for the second example.
Example Number two we still have essentially you bet now the bandwidth has been changed and that the
key was let's see.
This one has them again.
And the first they want to meet the limit.
OK.
So this one will take two megabit.
That's his limit.
This one would take to make a bet.
That's his limit.
And this one takes to make a bet that's his limit.
So that means that from the Dan the six were gone.
So there is still four left former Gebiet left on the bottom here.
Now we will check for the priority.
Which one has the higher priority.
This one has probably three.
This one has won the spot as 4:55.
We said that the one who has the higher priority is the one who get more bad news than in this case.
Those for me megabit that are left here.
He will send them to you then this cue has in total two plus four or six of it.
This one has plus four.
And that is the result.
Fuselli is getting to make of it which is correct.
Q4 we get six McGavick which is correct and q 5 will get to me.
It was just going.
So you can see now with a priority that the AQ four has received more max limit than the other accused
because he has the product of one.
Let's continue.
For example number three.
Now let's see this example example numbers we would have max limit that on the part of Q And then first
you want to meet the child's AK delimit out of the chart you will get from that then to to this one
because this one has a limit of two.
Then this one has a limit that of eight.
So we give him a plus two that stand that means he doesn't have anything anymore left zero.
That this part of you of those cues you would give them that also they would give to this one and he
would give to this one two plus two for so eight minus four equals four.
Then he has left your form and give it in his view.
Now he needs to give the list to his child.
You would check which one has the higher priority.
This one has three.
This one has five the.
Then it will say OK those four megabit I will give them to this one then this one will and last four
he will end by six.
So it should be six on this one this one two and this one to check to number three to number four six.
And number five is do.
So even though that this one has plenty of one.
But it's not the problem because the idiot like you that we called it has received limit that of eight
and that he will distribute it to his child.
OK.
Because he's part of you for five.
Now the last example that I want to show here is example number four.
So if you look here what we have we have 10 megabits as maximum on this cue that we have here.
This one is limit at six.
This one limit at two and this one limit at 12.
So 6 plus 2 8 plus 12 is 20.
So 20 megabits is limit that why the Macksville limit is 10 megabit.
So how come it's not possible that an interface give more bandwidth than what it has we have maximums
for the global cube if you give it and the limit is asking for 20.
So what will happen in this case because 20 is twice the gain 20 equal than minus two times to correct.
So and in this case what did they get and say Are they sure got half of it.
The bible to meet the master.
So if this one get limit of six and this one get limit of two.
That's eight.
And this one gets limit of 12.
Then in this case then we get half of that.
So this one should get three which is half of six the Trump should get one which is half of two.
This one should get six which is half of 12.
So you can see this one Chad is getting three.
This one is one and this one of six because the rule is that some of these are of the limit and should
not exceed the babbelas of the bank which is timing make of it.
But when you have such a case that what will happen and the mechanics of the reactive the divide the
are available.
In this case by two and then he will give for each of the dice.
Q half of the by the way is which is on the limit.
So with this example I have reached the end of this lecture.
So this lecture was talking about the STV What is the be or how it works and how to use it.
And then we have seen the cues and we see that we have the panel you and the Chuckie's and we have seen
some regulation that we should math.
We want to grade those cues.
And then we also talk about the priority and I give an example about how the product are right is a
very very important topic especially for those who want to do the at the CDC exam.
So please if you don't understand the first and try to repeat this lecture to be able to understand
more how the play of the work on the cues.
So this is what I wanted to show in this election.
I hope that you enjoyed it and that in that section I have to do a lot about how to use the HDD and
the mike because.
So let's go now directly to the next.