Adjusting the Power Consumption Mode
Introduction to the Power Consumption Levels
The Atlas 200 AI accelerator module supports four power consumption levels for different heat dissipation environments and power supply conditions. For details about how to set the power consumption levels, see Setting the Power Consumption Level in Main Processor or Coprocessor Mode.
Power Consumption Level |
Typical Power Consumption |
Performance Benchmark |
Description |
---|---|---|---|
Full |
11.0 W |
22 TOPS |
Highest level, applicable to scenarios that require high computing power |
High |
9.5 W |
16 TOPS |
Second highest level, applicable to scenarios that require high computing power |
Middle |
9 W |
8 TOPS |
Second lowest level, applicable to scenarios that require low power consumption |
Low |
7 W |
4 TOPS |
Lowest level, applicable to scenarios that require low power consumption |
Power Consumption Level |
Typical Power Consumption |
Performance Benchmark |
Description |
---|---|---|---|
Full |
7.5 W |
22 TOPS |
Highest level, applicable to scenarios that require high computing power |
High |
6.5 W |
16 TOPS |
Second highest level, applicable to scenarios that require high computing power |
Middle |
6 W |
8 TOPS |
Second lowest level, applicable to scenarios that require low power consumption |
Low |
5 W |
4 TOPS |
Lowest level, applicable to scenarios that require low power consumption |
You can change the power consumption level by changing the nve_XX.bin configuration file based on the actual requirements.
Currently, the power consumption level can be changed only when the Atlas 200 AI accelerator module is used as the main processor or coprocessor.
Setting the Power Consumption Level in Main Processor or Coprocessor Mode
Procedure
- Log in to the OS of the Atlas 200 AI accelerator module and perform the following operations as the root user.
- Use WinSCP to upload the A200-3000-Soc-HashRate.zip software package to any directory of the Atlas 200 AI accelerator module, for example, /var/davinci/firmware. For details, see Using WinSCP to Transfer Files.
- Run the following commands to decompress the A200-3000-Soc-HashRate.zip software package to obtain the hashrate configuration files.
unzip A200-3000-Soc-HashRate.zip
The nve_low.bin, nve_middle.bin, nve_high.bin, and nve_full.bin files in the A200-3000-Soc-HashRate.zip package correspond to the lowest level, second lowest level, second highest level, and the highest level, respectively.
- Burn the nve_XX.bin file to change the power consumption level.
- Run the following command to go to the /var/davinci/firmware directory:
cd /var/davinci/firmware
- Run the following command to burn the nve_XX.bin file:
./upgrade-tool --device_index -1 --component nve --path <path/to/nve.bin>
For example, run the following command to change the power consumption to the lowest level:
./upgrade-tool --device_index -1 --component nve --path ./nve_low.bin
If the following information is displayed, the burning is successful.
root@davinci-mini:/var/davinci/firmware# ./upgrade-tool --device_index -1 --component nve --path ./nve_low.bin {"device": 0, "succeed"} root@davinci-mini:/var/davinci/firmware#
- Run the following command to go to the /var/davinci/firmware directory:
- Run the following command to reboot the system for the modification to take effect:
reboot
- Check whether the hashrate configuration file has taken effect.
- Run the following command to go to the /var/davinci/firmware directory:
cd /var/davinci/firmware
- Check whether the hashrate configuration file has taken effect.
./opsread-tool
The hashrate configuration file has taken effect if the following information is displayed:
root@davinci-mini:/var/davinci/firmware# ./opsread-tool low root@davinci-mini:/var/davinci/firmware#
- Run the following command to go to the /var/davinci/firmware directory: