gputop tool on Chrome OS

115 views
Skip to first unread message

Santa, Carlos

unread,
Aug 21, 2018, 9:15:59 PM8/21/18
to graphi...@chromium.org

Hi:

 

This summer we had a couple of interns at work working on enabling GPU top on Chrome OS on Intel architecture. Those of you not aware about this powerful tool can find out more about it here: https://github.com/rib/gputop

 

Basically, GPUTop can be used to understand GPU performance on both GPU drivers as well as applications. The web based UI is lightweight and can be run on a remote system for lesser impact on the system being profiled.

 

Due to support for the perf counters in the Linux kernel we were able to get it working on the cros-4.14 kernel branch. It was tested on both Eve and Soraka (Kabylake based systems).

 

At this point I’d like to get some feedback from this group as well as some much need code review. The obvious question is then when can the support land on the cros-4.4 kernel but that’s pending on the patch dependency analysis to bring (perf counter) support to the cros-4.4 kernel.

 

Below is the patch on Gerrit:

https://chromium-review.googlesource.com/c/chromiumos/overlays/chromiumos-overlay/+/1176429

 

thanks,

Carlos

Ken Russell

unread,
Aug 22, 2018, 7:47:18 PM8/22/18
to carlos...@intel.com, graphics-dev
Seems like a useful tool. Are there concrete examples of performance issues which were diagnosed with it?

-Ken


Santa, Carlos

unread,
Aug 24, 2018, 11:32:55 AM8/24/18
to Ken Russell, graphics-dev

Hi Ken,

 

GPUTop is a fairly recent developed tool and I learned about it from an internal presentation from Lionel (main contributor) several months back, so we haven’t really put it to a good use under Chrome OS.

 

However, if there are known use cases in (WebGL), Android Apps within Chrome or otherwise, then please, let the group know, maybe we can dedicate some time to it now that the tool is enabled. I’ve heard some successes by the Mesa project in identifying driver issues using this tool.

 

By the way, Lionel we will be presenting the latest development of GPUTop at the next XDC2018 in Spain this September. https://www.x.org/wiki/Events/XDC2018/Program/

 

Carlos

Reply all
Reply to author
Forward
0 new messages