HP 6125XLG R2306-HP 6125XLG Blade Switch ACL and QoS Configuration Guide - Page 88

Configuring data buffers manually, Configuring the total shared-area ratio

Page 88 highlights

Configuring data buffers manually CAUTION: Do not manually change data buffer settings in normal cases to avoid impact to the system. If large buffer spaces are needed, use the Burst function. When you manually configure data buffers, flow control and priority-based flow control (PFC) might fail to operate correctly. For more information about flow control and PFC, see Layer 2-LAN Switching Configuration Guide. The switch only supports configuring cell resources. Configuring the total shared-area ratio Cell resources of a buffer have a fixed size. After you set the total shared-area ratio for cell resources, the rest is automatically assigned to the fixed area. To configure the total shared-area ratio: Step 1. Enter system view. 2. Configure the total shared-area ratio. Command system-view buffer egress [ slot slot-number ] cell total-shared ratio ratio-value Remarks N/A The default setting is 100% of the buffer. Setting the maximum shared-area ratio for a queue By default, all queues have the same maximum ratio of the shared area. This task allows you to change the maximum shared-area ratio for a specific queue. The other queues use the default setting. The final shared-area ratio for each queue is determined by the chip based on the buffer queue shared command configuration and the number of packets to be sent. To set the maximum shared-area ratio for a queue: Step 1. Enter system view. 2. Set the maximum shared-area ratio for a queue. Command system-view buffer egress [ slot slot-number ] cell queue queue-id shared ratio ratio-value Remarks N/A The default setting is 33% for all queues. For the maximum shared-area ratio for a queue, the percentage values 0 to 100 are divided into 10 ranges. Table 7 shows the effective values that correspond to the values of ratio-value. Table 7 Mapping between values of ratio-value and effective values Value of ratio-value 0 to 1 2 to 3 4 to 7 Effective value 1 3 6 82

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109

82
Configuring data buffers manually
CAUTION:
Do not manually change data buffer settings in normal cases to avoid impact to the system. If large buffer
spaces are needed, use the Burst function.
When you manually configure data buffers, flow control and priority-based flow control (PFC) might fail
to operate correctly. For more information about flow control and PFC, see
Layer 2—LAN Switching
Configuration Guide
.
The switch only supports configuring cell resources.
Configuring the total shared-area ratio
Cell resources of a buffer have a fixed size. After you set the total shared-area ratio for cell resources, the
rest is automatically assigned to the fixed area.
To configure the total shared-area ratio:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the total
shared-area ratio.
buffer egress
[
slot
slot-number
]
cell
total-shared ratio
ratio-value
The default setting is
100% of the buffer.
Setting the maximum shared-area ratio for a queue
By default, all queues have the same maximum ratio of the shared area. This task allows you to change
the maximum shared-area ratio for a specific queue. The other queues use the default setting. The final
shared-area ratio for each queue is determined by the chip based on the
buffer queue shared
command
configuration and the number of packets to be sent.
To set the maximum shared-area ratio for a queue:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Set the maximum shared-area
ratio for a queue.
buffer egress
[
slot
slot-number
]
cell queue
queue-id
shared ratio
ratio-value
The default setting is 33%
for all queues.
For the maximum shared-area ratio for a queue, the percentage values 0 to 100 are divided into 10
ranges.
Table 7
shows the effective values that correspond to the values of
ratio-value
.
Table 7
Mapping between values of
ratio-value
and effective values
Value of ratio-value
Effective value
0 to 1
1
2 to 3
3
4 to 7
6