Mali GPU utilisation check
#1
Hi,
I built a object detection project that uses Arm Cmpute library on rockpro64.
How can i check whether Mali GPU is being utilised or not. Any command?
Thanks.
  Reply
#2
(11-15-2018, 12:26 AM)rahulsharma Wrote: Hi,
I built a object detection project that uses Arm Cmpute library on rockpro64.
How can i check whether Mali GPU is being utilised or not. Any command?
Thanks.
Hello,
The ARM Compute Library has some tools, examples and so on.
Its there a Tutorial, but its for Lua Language  a clinfo.
OpenCL
  Reply
#3
Hi,
Thanks for the link. I tested that.
Still my doubt exist. May be i am not able to make you understand.
I ran Mobilenet_SSD on rockpro64 and by doing htop i am getting-
load average = 2.14 1.04 0.45. And i am seeing not all the 6 cores are being utilised.
1)Although it provides only CPU usage so may be GPU is being used hence the load is less here. So can i see GPU usage similarly?
  Reply
#4
System is an SoC, so getting GPU load is non-trivial since it's a bunch of direct-access "pins" and a kernel DRM bridge and stuff like that.
(I am sorry, I am intermediate level at this).

Then, the CPU cores are like this:
"ARM big.LITTLE"
It contains two "clusters".
First cluster contains 4 cores at low power, Cortex A53
Second cluster contains 2 cores with bigger power, Cortex A57
Both "sides" can't be active at the same time but RAM access is shared so tasks can be swapped between "sides" easily.
So you can literally never use all 6 cores at the same time.

It is supposed to be used in order to achieve better results in low power scenarios than just scaling CPU frequencies manually.

Linux big.LITTLE support is just entry-level now, and there is by default no big.LITTLE SMP scheduler but you can enable it if you recompile your kernel with it.
I haven't tried to use it myself yet as I am working on other areas.
And I'm not sure if any dtb work has to be done (see the command 'dtedit') in order to make it work, or work better.
  Reply
#5
Visit bottom of Rock-Chips mali wiki page:
http://opensource.rock-chips.com/wiki_Mali

I found important info there, mainly that I didn't have the fastest GPU governor selected in the first place!

Also there are multiple /sys interfaces for the GPU that you might be able to talk to.
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  rtc battery check rahulsharma 0 162 01-15-2019, 09:05 AM
Last Post: rahulsharma

Forum Jump:


Users browsing this thread: 1 Guest(s)