Integrated Services - Flow Specs

Flow Specs

There are two parts to a flow spec:

  • What does the traffic look like? Done in the Traffic SPECification part, also known as TSPEC.
  • What guarantees does it need? Done in the service Request SPECification part, also known as RSPEC.

TSPECs include token bucket algorithm parameters. The idea is that there is a token bucket which slowly fills up with tokens, arriving at a constant rate. Every packet which is sent requires a token, and if there are no tokens, then it cannot be sent. Thus, the rate at which tokens arrive dictates the average rate of traffic flow, while the depth of the bucket dictates how 'bursty' the traffic is allowed to be.

TSPECs typically just specify the token rate and the bucket depth. For example, a video with a refresh rate of 75 frames per second, with each frame taking 10 packets, might specify a token rate of 750Hz, and a bucket depth of only 10. The bucket depth would be sufficient to accommodate the 'burst' associated with sending an entire frame all at once. On the other hand, a conversation would need a lower token rate, but a much higher bucket depth. This is because there are often pauses in conversations, so they can make do with less tokens by not sending the gaps between words and sentences. However, this means the bucket depth needs to be increased to compensate for the traffic being burstier.

RSPECs specify what requirements there are for the flow: it can be normal internet 'best effort', in which case no reservation is needed. This setting is likely to be used for webpages, FTP, and similar applications. The 'Controlled Load' setting mirrors the performance of a lightly loaded network: there may be occasional glitches when two people access the same resource by chance, but generally both delay and drop rate are fairly constant at the desired rate. This setting is likely to be used by soft QoS applications. The 'Guaranteed' setting gives an absolutely bounded service, where the delay is promised to never go above a desired amount, and packets never dropped, provided the traffic stays within spec.

Read more about this topic:  Integrated Services

Famous quotes containing the words flow and/or specs:

    Opinionated writing is always the most difficult ... simply because it involves retaining in the cold morning-after crystal of the printed word the burning flow of molten feeling.
    Gavin Lyall (b. 1932)

    About twenty years ago
    Two girls came in where I worked
    A bosomy English rose
    And her friend in specs I could talk to.
    Philip Larkin (1922–1986)