Wednesday, June 15, 2011

WRR (Weighted Round Robin) vs SRR (Shared / Shaped Round Robin)


WRR (Weighted Round Robin), but in practice, SRR has been gradually more and more of the Switch platforms in use, including WRR and SRR is the biggest difference is that they both use the weights but Scheduling in different ways.
The following map was concerned (aside consideration of Strict Priority Queue), if it is to use WRR, then, Queue 3 the weight of 4, so every one can also send four packets; Queue 2 the weight of 2, so every one can simultaneously send two packets; Queue 1 weight 1, so each time can send a packet.
So Q3, Q2, Q1 out of a packet each, followed by Q3, Q2 out of a packet each, followed by Q3 the two packets, like this be considered as one.

Therefore, the benefits of SRR is very mean to each Queue interlude before sending the packet into the FIFO Queue (Hardware Queue), rather than as a clearing WRR weight for each share of Queue number of packets, so the results will let down the different sub- Queue packet scheduling in a more smooth, not crowding each other.

SRR is a scheduling service for specifying the rate at which packets are dequeued. With SRR there are two modes, Shaped and Shared (default).

Shaped mode is only available on the egress queues. Shaped egress queues reserve a set of port bandwidth and then send evenly spaced packets as per the reservation.

 Shared egress queues are also guaranteed a configured share of bandwidth, but do not reserve the bandwidth. That is, in Shared mode, if a higher priority queue is empty, instead of the servicer waiting for that reserved bandwidth to expire, the lower priority queue can take the unused bandwidth.

Neither Shaped SRR nor Shared SRR is better than the other. Shared SRR is used when one wants to get the maximum efficiency out of a queuing system, because unused queue slots can be used by queues with excess traffic. This is not possible in a standard Weighted Round Robin (WRR). Shaped SRR is used when one wants to shape a queue or set a hard limit on how much bandwidth a queue can use. When one uses Shaped SRR one can shape queues within a ports overall shaped rate.

As stated earlier, SRR differs from WRR. With WRR, queues are serviced based on the weight. Q1 is serviced for Weight 1 period of time, Q2 is served for Weight 2 period of time, and so forth. The servicing mechanism works by moving from queue to queue and services them for the weighted amount of time.
With SRR weights are still followed; however, SRR services the Q1, moves to Q2, then Q3 and Q4 in a different way. It doesn't wait at and service each queue for a weighted amount of time before moving on to the next queue . Instead, SRR makes several rapid passes at the queues, in each pass, each queue may or may not be serviced. For each given pass, the more highly weighted queues are more likely to be serviced than the lower priority queues. Over a given time, the number of packets serviced from each queue is the same for SRR and WRR. However, the ordering is different.

With SRR, traffic has a more evenly distributed ordering. With WRR one sees a bunch of packets from Q1 and then a bunch of packets from Q2, etc. With SRR one sees a weighted interleaving of packets.
SRR is an evolution of WRR that protects against overwhelming buffers with huge bursts of traffic by using a smoother round-robin mechanism.

Reference URL:
http://www.cisco.com/en/US/prod/collateral/switches/ps5718/ps5023/prod_white_paper09186a00801b096a.html




25 comments:

  1. This would be good info if you fix the grammar. For example:

    "WRR (Weighted Round Robin), but in practice, SRR has been gradually more and more of the Switch platforms in use, including WRR and SRR is the biggest difference is that they both use the weights but Scheduling in different ways. "

    I think I understand, but grammatically it just doesn't sound right. It would make no sense at all if I didn't have any background knowledge in WRR and SRR. I'm not the grammar police, and I also make mistakes. But your sentences should be coherent.

    ReplyDelete
    Replies
    1. Network Enhancers - "Delivering Beyond Boundaries": Wrr (Weighted Round Robin) Vs Srr (Shared / Shaped Round Robin) >>>>> Download Now

      >>>>> Download Full

      Network Enhancers - "Delivering Beyond Boundaries": Wrr (Weighted Round Robin) Vs Srr (Shared / Shaped Round Robin) >>>>> Download LINK

      >>>>> Download Now

      Network Enhancers - "Delivering Beyond Boundaries": Wrr (Weighted Round Robin) Vs Srr (Shared / Shaped Round Robin) >>>>> Download Full

      >>>>> Download LINK Lp

      Delete
  2. Was this original written in another language and did you use Google translate?
    I can really not follow this

    ReplyDelete
  3. looks like a grammar issue..very badly written made no sense to me wtf

    ReplyDelete
  4. This article makes no sense, what so ever. Your throwing a bunch of words in the wrong order. I agree with the Google translate thing.

    ReplyDelete
  5. What the hell is this even talking about? I can't follow this at all. Terrible grammar.

    ReplyDelete
  6. I'm not native English speaker and therefore I do not have problem to read that text. I understand it. Usually problem with reading this kind of text have people without knowledge about other foreign languages.

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. I guess was originally written in Chinese and then Google translated. If you read the referenced document -http://www.cisco.com/en/US/prod/collateral/switches/ps5718/ps5023/prod_white_paper09186a00801b096a.html- most of this would also make sense.

    ReplyDelete
  9. I find your opinion quite interesting thanks for posting.
    Please visit once at qosnetworking.com.

    ReplyDelete
  10. Network Enhancers - "Delivering Beyond Boundaries": Wrr (Weighted Round Robin) Vs Srr (Shared / Shaped Round Robin) >>>>> Download Now

    >>>>> Download Full

    Network Enhancers - "Delivering Beyond Boundaries": Wrr (Weighted Round Robin) Vs Srr (Shared / Shaped Round Robin) >>>>> Download LINK

    >>>>> Download Now

    Network Enhancers - "Delivering Beyond Boundaries": Wrr (Weighted Round Robin) Vs Srr (Shared / Shaped Round Robin) >>>>> Download Full

    >>>>> Download LINK

    ReplyDelete