Forums - SNPE - DSP usage / profiling

3 posts / 0 new
Last post
SNPE - DSP usage / profiling
varshini.rajendran
Join Date: 28 May 20
Posts: 2
Posted: Fri, 2020-06-26 09:39

I am trying to profile the system resource consumption for models running on SNPE. For profiling DSP usage for any usecase, I am not able to find any system level entries or utility. Below are the system configuration of my setup.

Chipset: QCS605

SDK: Linux Embedded (r45)

SNPE version: 1.39

I have obtained the CPU and GPU usage with system stats with top command and /sys/kernel/gpu/gpu_busy entry. I have also benchmarked the performances with SNPE utilities. Similarly, I would like to profile the DSP usage of any model running in SNPE (DSP runtime). 

Can I get a possible solution for measuring DSP usage at any instance ? If it is not possible at system level, is there any application or utility to achieve the same ?

 

Thanks,

Varshini Rajendran

  • Up0
  • Down0
gesqdn-forum
Join Date: 4 Nov 18
Posts: 184
Posted: Tue, 2020-07-07 07:04

Hi varshini.rajendran,

Yes, you can use the Benchmarking tool from NPE to get the model analysis and inference time with DSP as runtime.
Kindly use the instructions on the usage of the tool from the below link,
https://developer.qualcomm.com/software/qualcomm-neural-processing-sdk/learning-resources/vision-based-ai-use-cases/performance-analysis-using-benchmarking-tools

You can also use the same tool for CPU & GPU analysis on your end device.

  • Up0
  • Down0
varshini.rajendran
Join Date: 28 May 20
Posts: 2
Posted: Thu, 2020-07-16 06:48

Thanks for the response !

I have used the benchmarking tool and obtained inferences per second. But I'm concerned more of measuring the usage percentage of DSP at any instance. This data can be used to plan any concurrency of activities in DSP runtime.

I would appreciate any help on this.

Thanks,

Varshini Rajendran.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.