Users Guide
Each PG can use the shared headroom pool only up to its PG headroom limit. The shared headroom feature provides the capability to share
the headroom buer between all the ingress ports or PGs. It also provides ways to learn statistical data on shared buer usage, thereby,
reducing the overall headroom buer allocation.
The PFC Shared Headroom feature provides the following two capabilities:
• Headroom Pool Management – Provides the capability to use the shared headroom buer between all the ingress ports or PGs to
reduce the overall headroom buer allocation.
• Headroom Pool Monitoring – Provides a mechanism to monitor the peak headroom buer consumed over a period of time, which in
turn helps in conguring a proper value for the shared headroom buer.
This feature also provides a mechanism to monitor the peak headroom buer consumed over a period of time, which in turn helps you to
congure a proper value for shared headroom buer.
Example Scenario
Consider a scenario where you want to congure two lossless queues on 12 40 Gigabit ports.
The following table illustrates the buer usage statistics when shared headroom is not used and each queue is allocated with a xed
headroom buer space:
Table 17. Buer usage statistics when shared headroom is not used
Parameter Description
PFC Shared Buer Size 208 KB
Buer-size parameter of dcb-buer-threshold per
lossless queue
94KB
Pause-threshold parameter of dcb-buer-threshold
per lossless queue
18KB
The Headroom value reserved per lossless queue 94 – 18 = 76KB
NOTE: 76KB is the headroom space that is required per PG [or a lossless
queue] on a 40 Gigabit port in a worst case scenario to guarantee
lossless behavior.
Total buer required for 2 lossless queues on 12
ports
12*2*94 + 208 = 2464KB
NOTE: Out of the 2464KB, 1824KB [12*2*76KB] is reserved only for the
headroom, which might never be utilized in most of the cases. An ideal
approach is to increase the PFC shared buer and reduce the buer
reserved for headroom. However, this approach subsequently reduces
the time to trigger PFC, thereby, reducing the eectiveness of PFC.
In the shared headroom feature, the main assumption is that not every PG uses the headroom buer at the same time. This approach
enables the system to save the headroom buer space that is reserved for every PG to guarantee lossless delivery during trac bursts. For
each PG, you can assign a lower value for headroom buer. This headroom buer is sucient enough to guarantee lossless behavior as this
buer is global and is shared among all the lossless queues.
The following table depicts the buer usage statistics when shared headroom is used:
258
Data Center Bridging (DCB)










