Queue State Deficit Round Robin (QSDRR) - PowerPoint PPT Presentation

About This Presentation
Title:

Queue State Deficit Round Robin (QSDRR)

Description:

Supported in part by: NSF grant ANI-9714698 and Intel. Queue State Deficit Round Robin (QSDRR) ... Periodic dequeue - high overhead for per-packet interrupt ... – PowerPoint PPT presentation

Number of Views:364
Avg rating:3.0/5.0
Slides: 9
Provided by: anshulka
Category:
Tags: qsdrr | ani | deficit | queue | robin | round | state

less

Transcript and Presenter's Notes

Title: Queue State Deficit Round Robin (QSDRR)


1
Queue State Deficit Round Robin (QSDRR)
  • Anshul Kantawala

2
Deficit Round Robin (DRR)
  • Per-flow queue with deficit counter
  • Round-robin scheduler
  • Drop from longest active queue

3
Advantages of DRR
  • Requires only O(1) work in comparison to other
    fair-queueing algorithms
  • Stochastic FQ, Self-Clocked FQ, Virtual Clock
  • Easy to implement in hardware

4
QSDRR - Basic Idea
  • DRR consists of two parts
  • Packet scheduler - round robin with deficit
    counter
  • Packet drop policy - discard from longest queue
  • In QSDRR
  • Same packet scheduler
  • Different packet drop policy

5
QSDRR Algorithm
  • Maintain state variable Q as drop queue
  • If Q is undefined
  • set Q to current longest queue
  • Else (Q is defined)
  • If Q is shorter than all other queues
  • set Q to current longest queue
  • Else continue dropping packets from Q

6
Results
  • Fair-share goodput for a multi-hop network
    configuration

7
Implementation in MSR
  • Entry function
  • msr_drr_enqueue(msr_bufhdr_t hdr)
  • Dequeue
  • Periodic dequeue - high overhead for per-packet
    interrupt
  • Use overbooking and APIC queue thresholds to
    compensate for period skew

8
Dequeue Formula
  • BS_MAX B_MAX - max((APIC_q - APIC_th), 0)
  • B_MAX (LinkRate Period) Alpha
  • Alpha overbooking ratio
  • APIC_q current APIC transmit queue occupancy
  • APIC_th APIC queue threshold
  • Period, Alpha, and APIC_th are global constants
    defined in MSR_Policy_Object
Write a Comment
User Comments (0)
About PowerShow.com