ARM Community: Getting ARM Streamline to work with Samsung S2 - ARM Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Getting ARM Streamline to work with Samsung S2

#1 User is offline   realBohd 

  • Member
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 26-April 13

Posted 26 April 2013 - 02:38 PM

Hi,

we have performance issues with Mali400 GPU's and need to track them down.

The ARM Streamline tool seems to be very useful for that.

We are using a Samsung S2 (GT I9100) to check here.

If I do the 'adb forward tcp:8080 tcp:8080' and try to connect with Streamline to localhost then I'll get a message: "Unable to receive data from the gator daemon .... ".
Obviously some gator process is missing (checked processes with ps and it's not listed there).

After doing some research, all I found is intructions on how to compile a kernel with a gator module.

I'm developing on a Windows 7 machine.
Even if I would fight through this, there is a step following that needs to start this gator with root rights.

Since I'm using a customer device I don't have root rights and I don't like to root it (let alone the illegal feel of it..).

So my final question is: is this the way? Or did I miss something?


Thanks in advance!
Bodo

This post has been edited by realBohd: 26 April 2013 - 02:39 PM

0

#2 User is offline   McGeagh 

  • Member
  • Pip
  • Group: Moderators
  • Posts: 5
  • Joined: 09-May 11

Posted 29 April 2013 - 02:36 PM

View PostrealBohd, on 26 April 2013 - 02:38 PM, said:

Hi,

we have performance issues with Mali400 GPU's and need to track them down.

The ARM Streamline tool seems to be very useful for that.

We are using a Samsung S2 (GT I9100) to check here.

If I do the 'adb forward tcp:8080 tcp:8080' and try to connect with Streamline to localhost then I'll get a message: "Unable to receive data from the gator daemon .... ".
Obviously some gator process is missing (checked processes with ps and it's not listed there).

After doing some research, all I found is intructions on how to compile a kernel with a gator module.

I'm developing on a Windows 7 machine.
Even if I would fight through this, there is a step following that needs to start this gator with root rights.

Since I'm using a customer device I don't have root rights and I don't like to root it (let alone the illegal feel of it..).

So my final question is: is this the way? Or did I miss something?


Thanks in advance!
Bodo



Hello Bodo,

For streamline to work, you need two components on your system. The gator daemon and the gator driver.
The gator driver is a kernel object, and in order to insmod on Android, you must have root permissions.
As such, there is no current way to get streamline working on a none rooted Android device.

Hope this clarifies things.


- McGeagh
¤ [McGeagh] ¤
0

#3 User is offline   realBohd 

  • Member
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 26-April 13

Posted 06 May 2013 - 07:10 PM

View PostMcGeagh, on 29 April 2013 - 02:36 PM, said:

Hello Bodo,

For streamline to work, you need two components on your system. The gator daemon and the gator driver.
The gator driver is a kernel object, and in order to insmod on Android, you must have root permissions.
As such, there is no current way to get streamline working on a none rooted Android device.

Hope this clarifies things.


- McGeagh


Thanks for the answer. At least we now know, that we are on the right way. Somehow..

Is there any kind of detailed description on how to build the .ko file and the gator daemon?
None of us is a Linux expert here and we really have a hard time on reading and following the how-to Readme.

Alternatively - is a compiled binary for a S2 (i9200) for Android 4.xx available?

Thanks,
Bodo
0

#4 User is offline   isogen74 

  • Super Contributor
  • PipPipPipPip
  • Group: Members
  • Posts: 1098
  • Joined: 20-March 07

Posted 07 May 2013 - 05:35 PM

> Is there any kind of detailed description on how to build the .ko file and the gator daemon?

Manual any help?
http://infocenter.ar...482l/index.html
When optimizing software, consider that the quickest code to run is the bit you removed from the call path.
0

#5 User is offline   realBohd 

  • Member
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 26-April 13

Posted 14 May 2013 - 08:27 AM

View Postisogen74, on 07 May 2013 - 05:35 PM, said:

> Is there any kind of detailed description on how to build the .ko file and the gator daemon?

Manual any help?
http://infocenter.ar...482l/index.html


Thanks, but we already took a look at this.
Unfortunately this requires a lot of getting-into-linux which we don't have time for at the moment.

As we cannot make sure, the Streamline Tool will really provide the bottleneck information we need, it is too risky and expensive to invest this much time to get it to run.
0

#6 User is offline   RobC 

  • Member
  • Pip
  • Group: Members.
  • Posts: 12
  • Joined: 15-October 09

Posted 16 May 2013 - 11:30 AM

View PostrealBohd, on 14 May 2013 - 08:27 AM, said:

Thanks, but we already took a look at this.
Unfortunately this requires a lot of getting-into-linux which we don't have time for at the moment.


To use Streamline you just need to build something and actually there isn't much 'getting-into-linux' to be done. A spare machine with, say, an Ubuntu install, and a few build commands are all that is required. The Linux build system is excellent.

View PostrealBohd, on 14 May 2013 - 08:27 AM, said:

As we cannot make sure, the Streamline Tool will really provide the bottleneck information we need, it is too risky and expensive to invest this much time to get it to run.


Streamline will be able to show you Mali bandwidth. Mali-400 includes various counters for read and write, but the simplest are the top level number of reads and writes going out on to the system bus. Streamline can also show you with CPU bandwidth too by looking at the processor cache statistics. We have already worked with customers to estimate bandwidth and track down problems associated with a saturated bus.

Hope this might encourage you to keep trying. One caveat. I'm not sure which drivers will be installed on your S2. This will partly determine Streamline's visibility into the system.

R.
Robert
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic