White Papers

Table Of Contents
Table 22. Buffer usage statistics when shared headroom is not used (continued)
Parameter Description
reduces the time to trigger PFC, thereby, reducing the effectiveness
of PFC.
In the shared headroom feature, the main assumption is that not every PG uses the headroom buffer at the same time. This
approach enables the system to save the headroom buffer space that is reserved for every PG to guarantee lossless delivery
during traffic bursts. For each PG, you can assign a lower value for headroom buffer. This headroom buffer is sufficient enough
to guarantee lossless behavior as this buffer is global and is shared among all the lossless queues.
The following table depicts the buffer usage statistics when shared headroom is used:
Table 23. Buffer usage statistics when shared headroom is used
Parameter Description
PFC Shared buffer size 208 KB
Buffer-size parameter of dcb-buffer-threshold
per lossless queue
18KB
Pause-threshold parameter of dcb-buffer-
threshold per lossless queue
18KB
Average Headroom value reserved per lossless
queue
35KB [Considering 76KB as worst case value]
Total Headroom buffer to be configured in
Shared Headroom Pool
12*2*35 = 840KB
Total buffer required for 2 lossless queues on 12
ports
12*2*18 + 208 + 840 = 1480KB
Shared PG headroom buffer approach saves 984KB from the traditional dedicated PG headroom approach for the same number
of lossless queues. The excess buffer can either be assigned to PFC shared buffer size (to reduce the PFC aggressiveness) or
to the lossy pool to effectively manage lossy traffic.
NOTE:
When only few lossless queues are configured, the Shared headroom pool must be configured carefully to avoid any
ingress MMU drops due to insufficient headroom buffer.
Configuring Shared Head Room Buffer
You can configure a shared head room pool limit, which is the threshold value for the shared head room pool size.
To configure the shared head room pool size:
Enter the following command in global configuration mode:
CONFIGURATION Mode
dcb pfc-headroom-buffer-size buffer-size
NOTE:
Earlier head room implementations are derived from the buffer-size and pause-threshold attributes of the dcb-
buffer-threshold profile. However, with the introduction of the shared head room feature, the buffer-size attribute is now
obsolete as the head room buffer is now global and is shared among all lossless queues or PGs. Any value configured for
buffer-size is internally replaced with value configured for the pause-threshold attribute. The peak-head room attribute
continue to be the ingress threshold limit for bursty traffic. This attribute determines the maximum buffer a PG can use
from the shared head room pool.
Viewing Shared Head Room Usage
You can obtain an instantaneous usage count for the shared hear room pool.
To view the head room usage count:
258
Data Center Bridging (DCB)