80
Configuring data buffers manually
CAUTION:
Do not manually change data buffer settings in normal cases to avoid impact to the system. If lar
e buffer
spaces are needed, use the Burst function.
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:
Ste
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.
To set the maximum shared-area ratio for a queue:
Ste
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 sh
ows the effective values that correspond to the values of ratio-value.
Table 7 Mapping between values of
ratio-value
and effective values
Value of
rati
-
alu
Effective value
0 to 1 1
2 to 3 3
4 to 7 6
8 to 16 11
17 to 29 20
30 to 42 33
43 to 60 50
61 to 76 67