How can I check the memory usage of NPU or GPU on i.MX 8M Plus evk board?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can I check the memory usage of NPU or GPU on i.MX 8M Plus evk board?

Jump to solution
1,105 Views
dpcivl
Contributor III

Hello. I have a question with vx delegate.

Using my i.MX 8M Plus evk board, I wonder if I can check my NPU usage while detecting objects.

I'm using efficientDet Model and the VX Delegate won't support its operation.
(unsupported op 32 issue)

So I always make XNNpack delegate.

With CPU, I want to know how many resources NPU and GPU are using while object detection.

Is there any solution for checking my usage with NPU or GPU?

 

 

0 Kudos
Reply
1 Solution
1,080 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

You can check information like this:

root@imx8mp-lpddr4-evk:/sys/kernel/debug/gc# ls
clients  clk  database  database64x  dump_trigger  idle  info  load  meminfo  poweroff_timeout  version  vidmem  vidmem64x
root@imx8mp-lpddr4-evk:/sys/kernel/debug/gc# cat load
core      : 0
load      : 0%

core      : 1
load      : 0%

root@imx8mp-lpddr4-evk:/sys/kernel/debug/gc# cat meminfo
VIDEO MEMORY:
  POOL SYSTEM:
    Free :        266138670 B
    Used :          2296786 B
    MinFree :     266138670 B
    MaxUsed :       2296786 B
    Total :       268435456 B
  POOL VIRTUAL:
    Used :        577536 B
    MaxUsed :     577536 B

View solution in original post

1 Reply
1,081 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

You can check information like this:

root@imx8mp-lpddr4-evk:/sys/kernel/debug/gc# ls
clients  clk  database  database64x  dump_trigger  idle  info  load  meminfo  poweroff_timeout  version  vidmem  vidmem64x
root@imx8mp-lpddr4-evk:/sys/kernel/debug/gc# cat load
core      : 0
load      : 0%

core      : 1
load      : 0%

root@imx8mp-lpddr4-evk:/sys/kernel/debug/gc# cat meminfo
VIDEO MEMORY:
  POOL SYSTEM:
    Free :        266138670 B
    Used :          2296786 B
    MinFree :     266138670 B
    MaxUsed :       2296786 B
    Total :       268435456 B
  POOL VIRTUAL:
    Used :        577536 B
    MaxUsed :     577536 B