Fan control policy for ragile device.
Rev 0.1
- Feature Name
Rev | Date | Author | Change Description |
---|---|---|---|
0.1 | 09/22/2021 | Ragile Team | Initial version |
This document gives the details of fan control design for Ragile device.
Definitions/Abbreviation | Description |
---|---|
MAC | Medium access control chip |
BOARD | Motherboard |
CPU | Central processing unit |
INLET | Air inlet |
OUTLET | Air onlet |
CPLD | Complex programmable logic device |
FPGA | Field-programmable gate array |
Definitions/Abbreviation | Description |
---|---|
INLET_T | Temperature detection point of INLET |
OUTLET_T | Temperature detection point of OUTLET |
CPU_T | Temperature detection point of CPU |
BOARD_T | Temperature detection point of BOARD |
MAC_T | Temperature detection point of MAC |
In order to ensure the stable of the networking switch at an appropriate temperature, this document provides an structure of fan control based on the temperature points.
The functional requirements include:
- A stable method of obtaining four temperature points. Like etc.
- A method to control Fans, like CPLD or FPAG etc.
- An common platform API that encapsulates above content.
- Fan speed is described by 0 ~ 255(0 ~ 0xff) levels, 0 means stopped and 255 means maximum, the default level is
96(0x60)
- The temperature detection points involved are
CPU_T
,INLET_T
,OUTLET_T
,BOARD_T
,MAC_T
. - Support fan redundancy.
- For safety reasons, level
0
is not allowed, the minimum is limit to51(0x33)
. - Fans with opposite directions are not allowed.
-
When the device status fails three times in a row, set level as
187(0xbb)
until it back to normal. Then restart the control policy. -
There is two way to determine device status:
-
When
or or or orenter the warning alram state, print corresponding log, turn state LED to amber and adjust all Fans to full speed.
-
When
or andenter critical alarm state, print corresponding log, turn SYS_LED to red. When any one of the following two conditions is met, reset the machine.
-
To avoid jitter in the measurement, warning state and crital state need to be verified twice.
NA
NA
NA
NA
NA
NA
NA
Run command show platform fan status
to check current fan speed, alias FAN_SPEED
- Pluging out one or more fans, check FAN_SPEED is it running at full speed after
- Heating up chips to warning threshold, check FAN_SPEED is it running at full speed.
- Heating up chips to critical threshold, check system is it reset.
NA
NA