Hi guys,

Thank you very much for all your replies. My host machine is X86 (32 bits) and 
target machine is Linux Ubuntu.

Regards,
Shervin

--- On Fri, 8/17/12, [email protected] <[email protected]> 
wrote:

From: [email protected] <[email protected]>
Subject: gem5-users Digest, Vol 73, Issue 32
To: [email protected]
Date: Friday, August 17, 2012, 11:20 PM

Send gem5-users mailing list submissions to
    [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
    http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
or, via email, send a message with subject or body 'help' to
    [email protected]

You can reach the person managing the list at
    [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gem5-users digest..."


Today's Topics:

   1. Re: benchmark ROI in gem5 (Amin Farmahini)
   2. Re: benchmark ROI in gem5 (Anthony Gutierrez)
   3. Re: benchmark ROI in gem5 (Ali Saidi)
   4. Re: benchmark ROI in gem5 (Anh Nguyen)
   5. Re: benchmark ROI in gem5 (Anh Nguyen)
   6. Re: benchmark ROI in gem5 (Amin Farmahini)


----------------------------------------------------------------------

Message: 1
Date: Fri, 17 Aug 2012 12:05:30 -0500
From: Amin Farmahini <[email protected]>
To: gem5 users mailing list <[email protected]>
Subject: Re: [gem5-users] benchmark ROI in gem5
Message-ID:
    <CAJWO9avMvDrMnOh-1P=dqmpresbbdpzp4r3kkmwutl1vmz6...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Ahn,

I am not familiar with SystemTap, but I just took a look at its beginners
guide and I believe you cannot use this tool for the kind of things Shervin
would like to do. This is because "The host system must be the same
architecture and running the same distribution of Linux as the target
system in order for the built instrumentation module to work."
My understanding could be wrong, though.

Thanks,
Amin

On Fri, Aug 17, 2012 at 11:57 AM, Anh Nguyen <[email protected]> wrote:

> Systemtap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://m5sim.org/cgi-bin/mailman/private/gem5-users/attachments/20120817/b04f0467/attachment-0001.html>

------------------------------

Message: 2
Date: Fri, 17 Aug 2012 13:13:14 -0400
From: Anthony Gutierrez <[email protected]>
To: gem5 users mailing list <[email protected]>
Subject: Re: [gem5-users] benchmark ROI in gem5
Message-ID:
    <caeqebps9gvj725wfvcnt9mbm8yrbfb7aeym017etu-+iqoy...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

I've used an x86_64 host with Ubuntu to build SystemTap modules and run
them on Android ARM, so it's doable. But, I don't think SystemTap is
relevant here if you're trying to do architectural simulation. SystemTap is
a profiling tool that uses kprobes; it doesn't really do userspace
profiling last time I checked.

-Tony

On Fri, Aug 17, 2012 at 1:05 PM, Amin Farmahini <[email protected]> wrote:

> Ahn,
>
> I am not familiar with SystemTap, but I just took a look at its beginners
> guide and I believe you cannot use this tool for the kind of things Shervin
> would like to do. This is because "The host system must be the same
> architecture and running the same distribution of Linux as the target
> system in order for the built instrumentation module to work."
> My understanding could be wrong, though.
>
> Thanks,
> Amin
>
> On Fri, Aug 17, 2012 at 11:57 AM, Anh Nguyen <[email protected]>wrote:
>
>> Systemtap
>
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://m5sim.org/cgi-bin/mailman/private/gem5-users/attachments/20120817/f0795635/attachment-0001.html>

------------------------------

Message: 3
Date: Fri, 17 Aug 2012 13:26:40 -0400
From: Ali Saidi <[email protected]>
To: gem5 users mailing list <[email protected]>
Subject: Re: [gem5-users] benchmark ROI in gem5
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

 

Some versions of systemtap do, however I'd still just instrument the
binaries/libraries with m5 ops: http://gem5.org/M5ops 

Ali 

On
17.08.2012 13:13, Anthony Gutierrez wrote: 

> I've used an x86_64 host
with Ubuntu to build SystemTap modules and run them on Android ARM, so
it's doable. But, I don't think SystemTap is relevant here if you're
trying to do architectural simulation. SystemTap is a profiling tool
that uses kprobes; it doesn't really do userspace profiling last time I
checked. 
> -Tony
> 
> On Fri, Aug 17, 2012 at 1:05 PM, Amin Farmahini
<[email protected] [4]> wrote:
> 
>> Ahn,
>> 
>> I am not familiar with
SystemTap, but I just took a look at its beginners guide and I believe
you cannot use this tool for the kind of things Shervin would like to
do. This is because "The host system must be the same architecture and
running the same distribution of Linux as the target system in order for
the built instrumentation module to work." 
>> My understanding could be
wrong, though.
>> 
>> Thanks,
>> Amin
>> 
>> On Fri, Aug 17, 2012 at
11:57 AM, Anh Nguyen <[email protected] [1]> wrote:
>> 
>>>
Systemtap
>> 
>> _______________________________________________
>>
gem5-users mailing list
>> [email protected] [2]
>>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [3]




Links:
------
[1] mailto:[email protected]
[2]
mailto:[email protected]
[3]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[4]
mailto:[email protected]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://m5sim.org/cgi-bin/mailman/private/gem5-users/attachments/20120817/96c487be/attachment-0001.html>

------------------------------

Message: 4
Date: Fri, 17 Aug 2012 10:30:10 -0700
From: Anh Nguyen <[email protected]>
To: gem5 users mailing list <[email protected]>
Subject: Re: [gem5-users] benchmark ROI in gem5
Message-ID:
    <capxv-ezaumnvutkl-ykppkeg1fdm6mvrs-r+pu8qcbrfxs8...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Amin,

I am not sure what Shervin's environment is like and why cross compilation
would be required in the first place - why not working solely on the target
machine.
He may have other limitations, which I am not aware of.

Anh-

On Fri, Aug 17, 2012 at 10:05 AM, Amin Farmahini <[email protected]> wrote:

> Ahn,
>
> I am not familiar with SystemTap, but I just took a look at its beginners
> guide and I believe you cannot use this tool for the kind of things Shervin
> would like to do. This is because "The host system must be the same
> architecture and running the same distribution of Linux as the target
> system in order for the built instrumentation module to work."
> My understanding could be wrong, though.
>
> Thanks,
> Amin
>
> On Fri, Aug 17, 2012 at 11:57 AM, Anh Nguyen <[email protected]>wrote:
>
>> Systemtap
>
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://m5sim.org/cgi-bin/mailman/private/gem5-users/attachments/20120817/6cd2d1d4/attachment-0001.html>

------------------------------

Message: 5
Date: Fri, 17 Aug 2012 10:31:56 -0700
From: Anh Nguyen <[email protected]>
To: gem5 users mailing list <[email protected]>
Subject: Re: [gem5-users] benchmark ROI in gem5
Message-ID:
    <capxv-eajcsq2z+zwscivkg9feq29gizhmpjyne7+vcgrwal...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Tony,

It traces both kernel and user-space codes. I traced JVM before.

Anh-

On Fri, Aug 17, 2012 at 10:13 AM, Anthony Gutierrez <[email protected]>wrote:

> I've used an x86_64 host with Ubuntu to build SystemTap modules and run
> them on Android ARM, so it's doable. But, I don't think SystemTap is
> relevant here if you're trying to do architectural simulation. SystemTap is
> a profiling tool that uses kprobes; it doesn't really do userspace
> profiling last time I checked.
>
> -Tony
>
> On Fri, Aug 17, 2012 at 1:05 PM, Amin Farmahini <[email protected]> wrote:
>
>> Ahn,
>>
>> I am not familiar with SystemTap, but I just took a look at its beginners
>> guide and I believe you cannot use this tool for the kind of things Shervin
>> would like to do. This is because "The host system must be the same
>> architecture and running the same distribution of Linux as the target
>> system in order for the built instrumentation module to work."
>> My understanding could be wrong, though.
>>
>> Thanks,
>> Amin
>>
>> On Fri, Aug 17, 2012 at 11:57 AM, Anh Nguyen <[email protected]>wrote:
>>
>>> Systemtap
>>
>>
>>
>> _______________________________________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://m5sim.org/cgi-bin/mailman/private/gem5-users/attachments/20120817/2f6c2bde/attachment-0001.html>

------------------------------

Message: 6
Date: Fri, 17 Aug 2012 13:51:28 -0500
From: Amin Farmahini <[email protected]>
To: gem5 users mailing list <[email protected]>
Subject: Re: [gem5-users] benchmark ROI in gem5
Message-ID:
    <CAJWO9av8xX12aiG_9=rZCM38xrUewDjR-XQ9-0UkB=tqqhp...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

I have a somewhat similar question. The method Ali mentioned works well
when your ROI is large, but what if your ROI is short? For example the loop
body of a loop that is executed many times.
I believe using m5_dumpreset_stats is not doable in this case for two
reasons: (1) since the loop body is short, the overhead of
m5_dumpreset_stats is not negiligible. m5_dumpreset_stats is also executed
non-speculatively which imposes performance cost. (2) the loop is exectued
many times so it dumps stats every time the loop is executed.
I am interested in finding the execution time of the loop body (and not the
loop boundary checking, etc). So I was wondering if there is such a way to
do fine-grained profling within Gem5?

Thanks,
Amin

On Fri, Aug 17, 2012 at 12:31 PM, Anh Nguyen <[email protected]> wrote:

> Tony,
>
> It traces both kernel and user-space codes. I traced JVM before.
>
> Anh-
>
>
> On Fri, Aug 17, 2012 at 10:13 AM, Anthony Gutierrez <[email protected]>wrote:
>
>> I've used an x86_64 host with Ubuntu to build SystemTap modules and run
>> them on Android ARM, so it's doable. But, I don't think SystemTap is
>> relevant here if you're trying to do architectural simulation. SystemTap is
>> a profiling tool that uses kprobes; it doesn't really do userspace
>> profiling last time I checked.
>>
>> -Tony
>>
>> On Fri, Aug 17, 2012 at 1:05 PM, Amin Farmahini <[email protected]>wrote:
>>
>>> Ahn,
>>>
>>> I am not familiar with SystemTap, but I just took a look at its
>>> beginners guide and I believe you cannot use this tool for the kind of
>>> things Shervin would like to do. This is because "The host system must be
>>> the same architecture and running the same distribution of Linux as the
>>> target system in order for the built instrumentation module to work."
>>> My understanding could be wrong, though.
>>>
>>> Thanks,
>>> Amin
>>>
>>> On Fri, Aug 17, 2012 at 11:57 AM, Anh Nguyen <[email protected]>wrote:
>>>
>>>> Systemtap
>>>
>>>
>>>
>>> _______________________________________________
>>> gem5-users mailing list
>>> [email protected]
>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>>
>>
>>
>> _______________________________________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://m5sim.org/cgi-bin/mailman/private/gem5-users/attachments/20120817/1d721f9c/attachment.html>

------------------------------

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

End of gem5-users Digest, Vol 73, Issue 32
******************************************
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to