beautypg.com

Setting the maximum shared-area ratio for a queue, Setting the fixed-area ratio for a queue – H3C Technologies H3C S6300 Series Switches User Manual

Page 97

background image

87

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure the shared-area

ratio.

buffer egress [ slot slot-number ] cell
total-shared ratio ratio-value

The default setting is 84%
of the buffer.

Setting the maximum shared-area ratio for a queue

By default, all queues have an equal share 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 actual maximum shared-area ratio for each queue is finally determined by the chip based on your

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 each queue.

For the maximum shared-area ratio for a queue, the percentage values 0 to 100 are divided into 10

ranges.

Table 12

shows the effective values that correspond to the configured values of ratio-value.

Table 12 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

8 to 16

11

17 to 29

20

30 to 42

33

43 to 60

50

61 to 76

67

77 to 86

80

89 to 100

89

Setting the fixed-area ratio for a queue

By default, all queues have an equal share of the fixed area. This task allows you to change the fixed-area

ratio for a specific queue. After you configure the fixed-area ratios for some queues, the other queues

each are assigned an equal share of the remaining part of the fixed area. The display buffer queue
command displays a rounded-off value for the assignment result. Therefore, the sum of the ratios for all

queues might be less than or greater than 100%.