< Home

Configuring CPU Usage Thresholds and Adjustment Factor

Context

Only when the CPU usage reaches the OLC start threshold (the same as the level-1 CPU usage threshold), the OLC function is started to lower the leak rate so that the rate of packets sent to the CPU is lowered. When the CPU usage reaches the level-2 CPU usage threshold, the system lowers the leak rate twice as fast. When the CPU usage falls below the OLC stop threshold (the level-1 CPU usage threshold minus 20%), the OLC function is stopped. The adjustment factor specifies the frequency at which the leak rate is adjusted. The smaller the adjustment factor, the faster the adjustment frequency, and vice versa. A smaller adjustment factor will allow the system to adjust more quickly to service changes but may lead t o flapping of the leak rate.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run cpu-overload-control { threshold1 threshold1–value | threshold2 threshold2–value | adjustfactor adjustfactor–value } * slot slot-id

    The CPU usage thresholds and adjustment factor of the leak rate are configured.

    By default, the level-1 CPU usage threshold is 95%, the level-2 CPU usage threshold is 98%, and the adjustment factor of the leak rate is 10.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >