Re: QOS question

From: jonatale@xxxxxxxxxxxxx
Date: Thu Aug 16 2001 - 01:32:32 GMT-3


   
I'll assume link speed = 10Mbps and that by "MB" you mean Mbps. I'll also
ignore the effects of interpacket gap, exponential-backoff, tokens,
bit-stuffing, keep-alives, etc. Note: it helps me to use the units so that I
can check the logic, for example Bc[bits] = CIR[bits/sec] * Tc[sec] => bits =
(bits/sec) * sec.

Custom Qing:

10Mbits/secTot * 100msecNonHTTP = 1,000mMbitsNonHTTP * (1/8)bytes/bit =
125KbytesNonHTTP -- this is how many bytes to service in between servicing the
HTTP.

125Kbytes/nonHTTP * 2MbpsHTTP/(10MbpsTot - 2MbpsHTTP)nonHTTP = 31.25Kbytes --
this gives http 2Mbps of the traffic.

So you can set your Q sizes to:
HTTP: 31.25Kbytes = 31,250bytes
default: 125Kbytes = 125,000bytes

Bear in mind that this also assumes full link BW utilization.

OT:
There are allot of assumptions above...more exacting methods exist (for
example: "Link-sharing and Resource Management Models for Packet Networks"
-Sally Ford, ACM/IEEE"), but to my knowledge are not implemented by Cisco (in
newer code?).

Prashant Karunakaran wrote:

> Hi
> I came accross this problem wherein on a router interface i need to
> provide 2 MB of the bandwidth on the interface to HTTP traffic every
> 100ms. I thought of using the rate-limit command on the interface with
> an access-list permiting www traffic, but i couldn't find any option to
> set the interval of 100ms.
> Is there any other command to get this done?
> Thx
> Prashant
> **Please read:http://www.groupstudy.com/list/posting.html
**Please read:http://www.groupstudy.com/list/posting.html



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:31:51 GMT-3