From: DAN DORTON (DHSTS68@xxxxxxxxxxxxxxx)
Date: Mon Mar 18 2002 - 15:04:01 GMT-3
True,
This is why I said IF byte counts are not specified.
If byte counts ARE specified along with the bandwidth percentages then you must
apply the formula to come up with the byte-count/bandwidth ratio.
>>> <RSiddappa@NECBNS.com> 03/18/02 11:51AM >>>
But you can chabge your byte count depending on the amount of percentage of
traffic u want to have for each traffic.
Like thisexample below. ( from the archives)
1. Produce a ratio of all frame sizes, dividing into the largest frame
size. For example, assume that the frame size for protocol A is 1086 bytes,
for protocol B is 291 bytes, and for protocol C is 831 bytes. The ratios
would be:
1086/1086 1086/291 1086/831
2. Now multiply the results by the percentage of bandwidth you want each
protocol to have. For example, I will allocate 20 percent for A, 60 percent
for B, and 20 percent for C. This will give you:
1086/1086(0.2) 1086/291(0.6) 1086/291(0.2)
or
.2 2.239 0.261
3. Normalize the ratio by dividing each value by the smallest value, in our
case:
.2/.2 2.239/.2 0.261/.2
or
1 11.2 1.3
This is the ratio of the number of frames that must be sent out of each
queue so that the percentage of bandwidth that each protocol uses is
approximately in the ratio of 20, 60, and 20 percent.
4. Note that any fraction in any of the ratio values means that an
additional frame will be sent. In the example above, the number of frames
sent would be one 1086 byte frame, twelve 291 byte frames, and two 831 byte
frames or 1086, 3492, and 1662 bytes, respectively from each queue. These
are the byte counts that you would specify in your custom queuing config.
To determine the bandwidth distribution this represents, first determine the
total number of bytes sent after all three queues are serviced:
(1 x 1086) + (12 x 291) + (2 x 831) = 1086 + 3492 + 1662 = 6240
5. Then determine the percentage of the 6240 bytes that was sent from
each queue:
1086/6240, 3492/6240, 1662/6240 = 17.4, 56, and 26.6
percent
As you can see this is close to the desired ratio of 20:60:20 (but no cigar
yet). The bandwidth allocation can even to tailored further from this point
to represent a true 20:60:20. By multiplying the original ratio above of in
step 3, 1:11.2:1.3 by an integer, and trying to get as close as possible to
the real 20:60:20. For example we could multiply the ratio by 2, (1 x 2,
11.2 x 2, and 1.3 x 2) this would give us 2, 22.4, and 2.6. Now you would
send two 1086 byte frames, twenty-three 291 byte frames, and three 831 byte
frames or 2172+6693+2493, for a total of 11358 bytes. The resulting ratio
would be 19:59:22 percent. Which of course is much closer to the original
20:60:20.
Now in your case you are using the default 1500 byte frame size, using four
queues and attempting to allocate 25 percent of the bandwidth to each queue
correct?
Applying the formula above you get (you only need to run the formula on one
queue because the others will be identical):
Step 1: 1500/1500 = 1
Step 2: 1500/1500(.25) = 0.25
Step 3: 0.25/0.25 = 1
Step 4: The number of frames sent would be one 1500 byte frame from each
queue. Now determine the bandwidth distribution this represents.
1500+1500+1500+1500 = 6000
Step 5: Now determine the percentage of the 6000 bytes that was sent
from each queue:
1500/6000 1500/6000 1500/6000 1500/6000 = 25%, 25%,
25%, and 25%
R.
-----Original Message-----
From: DAN DORTON [mailto:DHSTS68@dhs.state.il.us]
Sent: Monday, March 18, 2002 8:40 AM
To: Guy.Lupi@eurekaggn.com; ccielab@groupstudy.com; Siddappa, Rajeev
Subject: Re: Custom-Quelist and Byte count.
If byte-counts they want are not specified then I normally start considering
the default queue to be a byte-count of 1500 & work my percentages from
there.
IE: IPX needs 50% of bandwidth.
byte count for IPX 1500
byte count for default 1500
Both are using 50% of total bandwidth unless the packets come in with a
larger byte size than the queue can hold.
Since fragmented packets are not compatible the queueing mechanism will not
work.
Dan
>>> <RSiddappa@NECBNS.com> 03/17/02 04:38PM >>>
How do I allocate differnt badwidt the differrnt kind of Traffic, Like IP
30%, IPX 25% and so On.
Is it related to the interafce type on which wew are applying, likt if it is
on Ethernet I nned to have the byte-count as 1500 and If it is token ring I
need to have 8000.
Thank you evry one for your help.
R.
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:57:12 GMT-3