Jetson Nano configuration process (3)
The last article wrote about the installation of some basic libraries in the python environment, and this article wrote about the impact of nano's power settings on performance.
1. The power supply is set to 10W mode
Jetson Nano has two energy consumption modes. In 5w mode, some larger models are easy to restart and crash. Therefore, it is recommended to use DC 5V4A power supply and select MAXN 10w power supply mode. The higher CPU and GPU power consumption can improve some performance. Energy consumption table:
Source: https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide%2Fpower_management_nano.html%23wwpID0E0YI0HA
View power mode:
sudo /usr/sbin/nvpmodel -q
If the display mode ID is 0, the 10W mode has been turned on, and the following settings are not required.
#5w模式:
sudo /usr/sbin/nvpmodel -m 1
#10w模式:
sudo /usr/sbin/nvpmodel -m 0
Run after setting:
sudo /usr/bin/jetson_clocks
2. Install real-time view CPU, GPU status tool
Since Jetson Nano does not have nvidia -smi command, sometimes you need to view GPU information, etc., you can install jtop to view various hardware information in real time.
After startup, it is displayed on the interface as shown in the figure below, and you can view information such as CPU, GPU, and memory in real time.
Start to install JTOP
#安装依赖
sudo apt-get install git cmake
sudo apt-get install python3-dev
sudo apt-get install libhdf5-serial-dev hdf5-tools
sudo apt-get install libatlas-base-dev gfortran
pip install
pip install jetson-stats
Start command:
jtop
3. PWD fan configuration
The nano bought by a treasure did not have a PWD controllable wind speed fan, and it was noisy to run at full speed. Later, I bought a PWD fan and installed it. It needs to be configured to control the speed according to the temperature. There is basically no noise during standby .
Here is the open source script of Great God:
https://github.com/Pyrestone/jetson-fan-ctl
Download the source code to install :
./install.sh
After the installation is complete, check the fan status.
sudo service automagic-fan status
If you need to modify some configuration parameters yourself:
sudo nano /etc/automagic-fan/config.json
4. Close and open the graphical interface
Jetson Nano's memory is 4G, which is shared with the video memory; and closing the graphical interface can save about 1.1G of memory overhead, which is equivalent to 1.1G of video memory, which can further improve some performance.
Close the graphical interface
sudo systemctl set-default multi-user.target
sudo reboot
Open the graphical interface
sudo systemctl set-default graphical.target
sudo reboot