Jetson Nano shows 100% CPU Usage after 30 minutes with Deepstream-app demo

Hi,

Thanks very much for trying to repeat this.

I am using the original Jetson Nano Developer kit with a 64GB Class 10 sdcard (no eMMC).
I created my sdcard image from your latest updates on 9/24/19…Jetpack 4.2.2 and Deepstream 4.0.1.

Did you make the changes that I suggested - especially the following?

–In [sink0],“sync” was changed from 1 to 0
drop-frame-interval=3

From your 30FPS performance, I am guessing that you don’t have the drop-frame-interval enabled to 3.

Anyhow, I power cycled my Nano this morning & decided to repeat the experiment but I am using the configuration file that I attached yesterday - that includes the 2 changes above.
First of all I ran the two commands you suggested:

hduser@NVNano4:~/LENS$ sudo nvpmodel -m 0
hduser@NVNano4:~/LENS$ sudo jetson_clocks
hduser@NVNano4:~/LENS$ date
Thu Oct 24 08:27:59 MDT 2019

Everything started off ok & Performance was as expected at approx. 10 FPS (because of drop-frame-interval=3).

**PERF: 10.66 (11.25)   16.46 (16.33)   18.40 (15.31)   17.19 (12.46)   8.29 (11.83)       16.26 (16.20)   7.54 (10.66)    9.43 (9.83)
**PERF: 11.59 (11.27)   15.10 (16.24)   14.33 (15.24)   16.92 (12.79)   8.51 (11.59)       15.64 (16.16)   7.63 (10.44)    13.84 (10.12)

I will use the same utility that you used - tegrastats. As shown, the CPUs started off ok also.

hduser@NVNano4:~/LENS$ sudo tegrastats
RAM 3160/3956MB (lfb 110x4MB) SWAP 62/1978MB (cached 1MB) IRAM 0/252kB(lfb 252kB) CPU [26%@1428,26%@1428,29%@1428,27%@1428] EMC_FREQ 39%@1600 GR3D_FREQ 0%@921 NVDEC 716 APE 25 PLL@26C CPU@29.5C PMIC@100C GPU@27.5C AO@34C thermal@28.75C POM_5V_IN 4971/4           971 POM_5V_GPU 328/328 POM_5V_CPU 820/820
RAM 3160/3956MB (lfb 110x4MB) SWAP 62/1978MB (cached 1MB) IRAM 0/252kB(lfb 252kB) CPU [29%@1428,28%@1428,25%@1428,27%@1428] EMC_FREQ 39%@1600 GR3D_FREQ 99%@921 NVDEC 716 APE 25 PLL@26C CPU@29.5C PMIC@100C GPU@28C AO@34C thermal@28.75C POM_5V_IN 6279/56           25 POM_5V_GPU 1779/1053 POM_5V_CPU 728/774

After a few minutes, the CPU usage started going up & FPS going down.

In <30 minutes, the Performance had dramatically dropped as shown:

hduser@NVNano4:~/LENS$ date;tail log_ds4_wip.log
Thu Oct 24 08:54:33 MDT 2019
**PERF: 5.04 (8.58)     5.57 (8.62)     4.72 (8.68)     5.40 (8.59)     5.40 (8.49)5.11 (8.68)     4.80 (8.67)     4.80 (8.59)

Tegrastats confirm that the 4 CPUs are pegged at 100%:

hduser@NVNano4:~/LENS$ date;sudo tegrastats --interval 5000
Thu Oct 24 08:55:53 MDT 2019
RAM 3295/3956MB (lfb 107x4MB) SWAP 168/1978MB (cached 3MB) IRAM 0/252kB(lfb 252kB) CPU [100%@1428,100%@1428,100%@1428,100%@1428] EMC_FREQ 27%@1600 GR3D_FREQ 0%@921 NVDEC 716 APE 25 PLL@30C CPU@33C PMIC@100C GPU@31.5C AO@38C thermal@32.25C POM_5V_IN 6033/6033 POM_5V_GPU 815/815 POM_5V_CPU 1510/1510
RAM 3290/3956MB (lfb 107x4MB) SWAP 175/1978MB (cached 3MB) IRAM 0/252kB(lfb 252kB) CPU [100%@1428,100%@1428,100%@1428,100%@1428] EMC_FREQ 27%@1600 GR3D_FREQ 0%@921 NVDEC 716 APE 25 PLL@30C CPU@33.5C PMIC@100C GPU@31.5C AO@38C thermal@32.5C POM_5V_IN 5879/5956 POM_5V_GPU 694/754 POM_5V_CPU 1469/1489

Please let me know if you need any more details.

Thanks,
Vince