Commit d0cabde
Icecube: config: added the preEVT first version of fan service (#399)
Summary:
Description
This PR is for icecube fan service config file.
Motivation
1.This is a draft version of icecube fan service, which is discussed by ee,thermal team, sw.In the future the parameters will be changed.
2.In the config file currently only 4 thermal sensors,thermal said not need the OSFP optical module.
"CPU_UNCORE_TEMP",
"PIC_T_U13_INLET_LM75_2_TEMP",
"PIC_B_U12_INLET_LM75_1_TEMP",
"POWER_BRICK3_TEMP1"
Test Plan
1.The correctness of the format has been verified on this website https://jsonlint.com/
2.Used jq cmd to pretty the format.
3.Test log as follows:
I1014 20:02:48.066027 9501 Bsp.cpp:327] Got sensor data from sensor_service. Item count: 86
I1014 20:02:48.066051 9501 ControlLogic.cpp:91] Successfully fetched sensor data.
I1014 20:02:48.066054 9501 ControlLogic.cpp:101] Successfully fetched optics data.
I1014 20:02:48.066058 9501 ControlLogic.cpp:570] Processing Fans ...
I1014 20:02:48.066497 9501 ControlLogic.cpp:358] FAN_1_F: is present in the host (through sysfs)
I1014 20:02:48.066921 9501 ControlLogic.cpp:160] FAN_1_F: RPM read is 11100
I1014 20:02:48.067341 9501 ControlLogic.cpp:358] FAN_1_R: is present in the host (through sysfs)
I1014 20:02:48.067862 9501 ControlLogic.cpp:160] FAN_1_R: RPM read is 10050
I1014 20:02:48.068281 9501 ControlLogic.cpp:358] FAN_2_F: is present in the host (through sysfs)
I1014 20:02:48.068701 9501 ControlLogic.cpp:160] FAN_2_F: RPM read is 10950
I1014 20:02:48.069128 9501 ControlLogic.cpp:358] FAN_2_R: is present in the host (through sysfs)
I1014 20:02:48.069548 9501 ControlLogic.cpp:160] FAN_2_R: RPM read is 10200
I1014 20:02:48.070070 9501 ControlLogic.cpp:358] FAN_3_F: is present in the host (through sysfs)
I1014 20:02:48.070592 9501 ControlLogic.cpp:160] FAN_3_F: RPM read is 10950
I1014 20:02:48.071012 9501 ControlLogic.cpp:358] FAN_3_R: is present in the host (through sysfs)
I1014 20:02:48.071433 9501 ControlLogic.cpp:160] FAN_3_R: RPM read is 10050
I1014 20:02:48.071954 9501 ControlLogic.cpp:358] FAN_4_F: is present in the host (through sysfs)
I1014 20:02:48.072476 9501 ControlLogic.cpp:160] FAN_4_F: RPM read is 10800
I1014 20:02:48.072896 9501 ControlLogic.cpp:358] FAN_4_R: is present in the host (through sysfs)
I1014 20:02:48.073317 9501 ControlLogic.cpp:160] FAN_4_R: RPM read is 10050
I1014 20:02:48.073322 9501 ControlLogic.cpp:616] Processing Sensors ...
E1014 20:02:48.073327 9501 ControlLogic.cpp:229] CPU_UNCORE_TEMP: Sensor read value is 44
I1014 20:02:48.073333 9501 ControlLogic.cpp:212] CPU_UNCORE_TEMP: Calculated PWM is 0
E1014 20:02:48.073338 9501 ControlLogic.cpp:229] PIC_T_U13_INLET_LM75_2_TEMP: Sensor read value is 35.75
I1014 20:02:48.073344 9501 ControlLogic.cpp:212] PIC_T_U13_INLET_LM75_2_TEMP: Calculated PWM is 60
E1014 20:02:48.073349 9501 ControlLogic.cpp:229] PIC_B_U12_INLET_LM75_1_TEMP: Sensor read value is 34.875
I1014 20:02:48.073354 9501 ControlLogic.cpp:212] PIC_B_U12_INLET_LM75_1_TEMP: Calculated PWM is 50
E1014 20:02:48.073359 9501 ControlLogic.cpp:229] POWER_BRICK3_TEMP1: Sensor read value is 34
I1014 20:02:48.073364 9501 ControlLogic.cpp:212] POWER_BRICK3_TEMP1: Calculated PWM is 0
I1014 20:02:48.073368 9501 ControlLogic.cpp:620] Processing Optics ...
I1014 20:02:48.073373 9501 ControlLogic.cpp:642] Boost mode enabled for optics update missing for 1728950568s
I1014 20:02:48.073379 9501 ControlLogic.cpp:499] zone1: Components: CPU_UNCORE_TEMP,PIC_T_U13_INLET_LM75_2_TEMP,PIC_B_U12_INLET_LM75_1_TEMP,POWER_BRICK3_TEMP1. Aggregation Type: ZONE_TYPE_MAX. Aggregate PWM is 70.
I1014 20:02:48.074208 9501 ControlLogic.cpp:436] FAN_1_F: Programmed with PWM 70 (raw value 28)
I1014 20:02:48.075034 9501 ControlLogic.cpp:436] FAN_1_R: Programmed with PWM 70 (raw value 28)
[icecube_fan_service_test_log_4_17.txt](https://github.com/user-attachments/files/19807418/icecube_fan_service_test_log_4_17.txt)
Pull Request resolved: #399
Reviewed By: ezeob002
Differential Revision: D73519858
Pulled By: mikechoifb
fbshipit-source-id: 8423112bf3099237d86c7c6041ca13553d8d474a1 parent 5571a26 commit d0cabde
1 file changed
+240
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
0 commit comments