[gem5-users] Re: Capturing SimPoint and running on ARM CycleModel

2024-04-15 Thread 王理治 via gem5-users

Hi Jason,

I’m using ELFies with gem5. I have tried your example in gem5-hpca-2023 and it 
works. But I meets some trouble in generating ELFies with the Sniper simulator, 
can you provides any scripts to generate these ELFies with LoopPoint output 
csv/json files?

Thanks,
Liz Wang

发自我的 iPhone
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org


[gem5-users] Re: Capturing SimPoint and running on ARM CycleModel

2023-03-09 Thread Jonathan Kang via gem5-users
Know any resources for “the anatomy of an ELFie”? Alongside the anatomy of a 
Gem5 Checkpoint. That way I can possibly write something similar to pinball2elf 
but for gem5 -> ELFie…

From: Jason Lowe-Power 
Date: Thursday, March 9, 2023 at 9:56 AM
To: Jonathan Kang 
Cc: Giacomo Travaglini , The gem5 Users mailing 
list 
Subject: Re: [gem5-users] Capturing SimPoint and running on ARM CycleModel
Yes, that's correct. Cheers, Jason On Thu, Mar 9, 2023 at 9: 44 AM Jonathan 
Kang  wrote: I think I’d want the opposite: to get ELFies 
out of Gem5 CheckPoints. That’ll allow me to run it on an ARM Cycle Model. From
ZjQcmQRYFpfptBannerStart
This Message Is From an Untrusted Sender
You have not previously corresponded with this sender.
ZjQcmQRYFpfptBannerEnd
Yes, that's correct.

Cheers,
Jason

On Thu, Mar 9, 2023 at 9:44 AM Jonathan Kang 
mailto:mos...@meta.com>> wrote:
I think I’d want the opposite: to get ELFies out of Gem5 CheckPoints. That’ll 
allow me to run it on an ARM Cycle Model.

From the links you sent, it’s still Pin based and the resulting ELFies are x86 
right? I’d want to do this for ARM.

From: Jason Lowe-Power mailto:ja...@lowepower.com>>
Date: Thursday, March 9, 2023 at 8:15 AM
To: Giacomo Travaglini 
mailto:giacomo.travagl...@arm.com>>
Cc: Jonathan Kang mailto:mos...@meta.com>>, The gem5 Users 
mailing list mailto:gem5-users@gem5.org>>
Subject: Re: [gem5-users] Capturing SimPoint and running on ARM CycleModel
Hi Jonathan, We just did a tutorial on how to use ELFies with gem5. See https: 
//looppoint. github. io/hpca2023/ for details. We are able to load ELFies and 
run them in gem5. See https: //github. 
com/gem5-hpca-2023/gem5-tutorial-codespace/blob/master/elfie-refs/elfie. py
ZjQcmQRYFpfptBannerStart
This Message Is From an Untrusted Sender
You have not previously corresponded with this sender.
ZjQcmQRYFpfptBannerEnd
Hi Jonathan,

We just did a tutorial on how to use ELFies with gem5. See 
https://looppoint.github.io/hpca2023/<https://looppoint.github.io/hpca2023/> 
for details.

We are able to load ELFies and run them in gem5. See 
https://github.com/gem5-hpca-2023/gem5-tutorial-codespace/blob/master/elfie-refs/elfie.py
 for an example.

That said, we currently only support ELFies generated by the Sniper simulator. 
If you want details on how to do that, you'll have to check out the looppoint 
documentation above or contact the looppoint/ELFie authors.

Cheers,
Jason

On Thu, Mar 9, 2023 at 12:31 AM Giacomo Travaglini 
mailto:giacomo.travagl...@arm.com>> wrote:

Hi Jonathan,


On 08/03/2023 17:47, Jonathan Kang wrote:
Thanks Giacomo,

A few questions:


  1.  Who is Jason? So that I can contact him 



Jason Lowe-Power, here CCed




  1.  Regarding ELFie, I found these:

 *   
https://github.com/UT-LCA/Scalability-Phase-Simpoint-of-SPEC-CPU2017/releases
 *   https://github.com/intel/pinball2elf

#2 would seem to be able to generate ELFies from the x86 pinballs that were 
captured. However, I’m unfamiliar with how ELFies work. Do they still capture 
state and thus need to inject processor state prior to simulation? In which 
case the problem still exists that the ARM Cycle Model is incompatible….



The ELFie methodology generates guest bootcode which injects the architectural 
state before the beginning of the SimPoint



Kind Regards



Giacomo



Thanks,

Jonathan.

From: Giacomo Travaglini 
<mailto:giacomo.travagl...@arm.com>
Date: Wednesday, March 8, 2023 at 6:26 AM
To: The gem5 Users mailing list 
<mailto:gem5-users@gem5.org>
Cc: Jonathan Kang <mailto:mos...@meta.com>
Subject: Re: [gem5-users] Capturing SimPoint and running on ARM CycleModel
Hi Jonathan On 08/03/2023 01: 43, Jonathan Kang via gem5-users wrote: Hi all, 
I’m attempting to get SPEC 2k17 to run on our performance model that uses an 
ARM Cycle Model (A55). Obviously it’d take forever to run the whole binary so I 
was wondering
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
ZjQcmQRYFpfptBannerEnd

Hi Jonathan
On 08/03/2023 01:43, Jonathan Kang via gem5-users wrote:
Hi all,

I’m attempting to get SPEC 2k17 to run on our performance model that uses an 
ARM Cycle Model (A55). Obviously it’d take forever to run the whole binary so I 
was wondering if anyone has had experience capturing SimPoints using Gem5 and 
then running the resulting reduced binary on a Cycle Model. I know you can do 
it easily on Gem5 simple CPU in SE mode but I need it to work with our more 
accurate model.



You can easily generate SimPoints with gem5 as you correctly said. The problem 
is the checkpoint incompatibility between gem5 and Cycle Model. (restoring the 
gem5 checkpoint from the CA simulator).

It would be nice if we could generate an ELFie [1] from a gem5 checkpoint. As I 
have recently seen some commits mentioning ELFies you could ask Jason and his 
group if there's something going on...



Kind Regards



Giacomo



[1]: 
https://dl.acm.org/doi/abs/1

[gem5-users] Re: Capturing SimPoint and running on ARM CycleModel

2023-03-09 Thread Jason Lowe-Power via gem5-users
Yes, that's correct.

Cheers,
Jason

On Thu, Mar 9, 2023 at 9:44 AM Jonathan Kang  wrote:

> I think I’d want the opposite: to get ELFies out of Gem5 CheckPoints.
> That’ll allow me to run it on an ARM Cycle Model.
>
>
>
> From the links you sent, it’s still Pin based and the resulting ELFies are
> x86 right? I’d want to do this for ARM.
>
>
>
> *From: *Jason Lowe-Power 
> *Date: *Thursday, March 9, 2023 at 8:15 AM
> *To: *Giacomo Travaglini 
> *Cc: *Jonathan Kang , The gem5 Users mailing list <
> gem5-users@gem5.org>
> *Subject: *Re: [gem5-users] Capturing SimPoint and running on ARM
> CycleModel
>
> Hi Jonathan, We just did a tutorial on how to use ELFies with gem5. See
> https: //looppoint. github. io/hpca2023/ for details. We are able to load
> ELFies and run them in gem5. See https: //github.
> com/gem5-hpca-2023/gem5-tutorial-codespace/blob/master/elfie-refs/elfie. py
>
> ZjQcmQRYFpfptBannerStart
>
> *This Message Is From an Untrusted Sender *
>
> You have not previously corresponded with this sender.
>
> ZjQcmQRYFpfptBannerEnd
>
> Hi Jonathan,
>
>
>
> We just did a tutorial on how to use ELFies with gem5. See
> https://looppoint.github.io/hpca2023/ for details.
>
>
>
> We are able to load ELFies and run them in gem5. See
> https://github.com/gem5-hpca-2023/gem5-tutorial-codespace/blob/master/elfie-refs/elfie.py
> for an example.
>
>
>
> That said, we currently only support ELFies generated by the Sniper
> simulator. If you want details on how to do that, you'll have to check out
> the looppoint documentation above or contact the looppoint/ELFie authors.
>
>
>
> Cheers,
>
> Jason
>
>
>
> On Thu, Mar 9, 2023 at 12:31 AM Giacomo Travaglini <
> giacomo.travagl...@arm.com> wrote:
>
> Hi Jonathan,
>
>
>
> On 08/03/2023 17:47, Jonathan Kang wrote:
>
> Thanks Giacomo,
>
>
>
> A few questions:
>
>
>
>1. Who is Jason? So that I can contact him 
>
>
>
> Jason Lowe-Power, here CCed
>
>
>
>
>
>1. Regarding ELFie, I found these:
>
>
>1.
>   
> https://github.com/UT-LCA/Scalability-Phase-Simpoint-of-SPEC-CPU2017/releases
>   2. https://github.com/intel/pinball2elf
>
>
>
> #2 would seem to be able to generate ELFies from the x86 pinballs that
> were captured. However, I’m unfamiliar with how ELFies work. Do they still
> capture state and thus need to inject processor state prior to simulation?
> In which case the problem still exists that the ARM Cycle Model is
> incompatible….
>
>
>
> The ELFie methodology generates guest bootcode which injects the
> architectural state before the beginning of the SimPoint
>
>
>
> Kind Regards
>
>
>
> Giacomo
>
>
>
>
>
> Thanks,
>
>
>
> Jonathan.
>
>
>
> *From: *Giacomo Travaglini 
> 
> *Date: *Wednesday, March 8, 2023 at 6:26 AM
> *To: *The gem5 Users mailing list 
> 
> *Cc: *Jonathan Kang  
> *Subject: *Re: [gem5-users] Capturing SimPoint and running on ARM
> CycleModel
>
> Hi Jonathan On 08/03/2023 01: 43, Jonathan Kang via gem5-users wrote: Hi
> all, I’m attempting to get SPEC 2k17 to run on our performance model that
> uses an ARM Cycle Model (A55). Obviously it’d take forever to run the whole
> binary so I was wondering
>
> ZjQcmQRYFpfptBannerStart
>
> *This Message Is From an External Sender *
>
> ZjQcmQRYFpfptBannerEnd
>
> Hi Jonathan
>
> On 08/03/2023 01:43, Jonathan Kang via gem5-users wrote:
>
> Hi all,
>
>
>
> I’m attempting to get SPEC 2k17 to run on our performance model that uses
> an ARM Cycle Model (A55). Obviously it’d take forever to run the whole
> binary so I was wondering if anyone has had experience capturing SimPoints
> using Gem5 and then running the resulting reduced binary on a Cycle Model.
> I know you can do it easily on Gem5 simple CPU in SE mode but I need it to
> work with our more accurate model.
>
>
>
> You can easily generate SimPoints with gem5 as you correctly said. The
> problem is the checkpoint incompatibility between gem5 and Cycle Model.
> (restoring the gem5 checkpoint from the CA simulator).
>
> It would be nice if we could generate an ELFie [1] from a gem5 checkpoint.
> As I have recently seen some commits mentioning ELFies you could ask Jason
> and his group if there's something going on...
>
>
>
> Kind Regards
>
>
>
> Giacomo
>
>
>
> [1]: https://dl.acm.org/doi/abs/10.1109/CGO51591.2021.9370340
>
>
>
>
>
> Thanks in advance!
>
>
>
> Jonathan Kang.
>
>
>
> ___
>
> gem5-use

[gem5-users] Re: Capturing SimPoint and running on ARM CycleModel

2023-03-09 Thread Jonathan Kang via gem5-users
I think I’d want the opposite: to get ELFies out of Gem5 CheckPoints. That’ll 
allow me to run it on an ARM Cycle Model.

From the links you sent, it’s still Pin based and the resulting ELFies are x86 
right? I’d want to do this for ARM.

From: Jason Lowe-Power 
Date: Thursday, March 9, 2023 at 8:15 AM
To: Giacomo Travaglini 
Cc: Jonathan Kang , The gem5 Users mailing list 

Subject: Re: [gem5-users] Capturing SimPoint and running on ARM CycleModel
Hi Jonathan, We just did a tutorial on how to use ELFies with gem5. See https: 
//looppoint. github. io/hpca2023/ for details. We are able to load ELFies and 
run them in gem5. See https: //github. 
com/gem5-hpca-2023/gem5-tutorial-codespace/blob/master/elfie-refs/elfie. py
ZjQcmQRYFpfptBannerStart
This Message Is From an Untrusted Sender
You have not previously corresponded with this sender.
ZjQcmQRYFpfptBannerEnd
Hi Jonathan,

We just did a tutorial on how to use ELFies with gem5. See 
https://looppoint.github.io/hpca2023/<https://looppoint.github.io/hpca2023/> 
for details.

We are able to load ELFies and run them in gem5. See 
https://github.com/gem5-hpca-2023/gem5-tutorial-codespace/blob/master/elfie-refs/elfie.py
 for an example.

That said, we currently only support ELFies generated by the Sniper simulator. 
If you want details on how to do that, you'll have to check out the looppoint 
documentation above or contact the looppoint/ELFie authors.

Cheers,
Jason

On Thu, Mar 9, 2023 at 12:31 AM Giacomo Travaglini 
mailto:giacomo.travagl...@arm.com>> wrote:

Hi Jonathan,


On 08/03/2023 17:47, Jonathan Kang wrote:
Thanks Giacomo,

A few questions:


  1.  Who is Jason? So that I can contact him 



Jason Lowe-Power, here CCed




  1.  Regarding ELFie, I found these:

 *   
https://github.com/UT-LCA/Scalability-Phase-Simpoint-of-SPEC-CPU2017/releases
 *   https://github.com/intel/pinball2elf

#2 would seem to be able to generate ELFies from the x86 pinballs that were 
captured. However, I’m unfamiliar with how ELFies work. Do they still capture 
state and thus need to inject processor state prior to simulation? In which 
case the problem still exists that the ARM Cycle Model is incompatible….



The ELFie methodology generates guest bootcode which injects the architectural 
state before the beginning of the SimPoint



Kind Regards



Giacomo



Thanks,

Jonathan.

From: Giacomo Travaglini 
<mailto:giacomo.travagl...@arm.com>
Date: Wednesday, March 8, 2023 at 6:26 AM
To: The gem5 Users mailing list 
<mailto:gem5-users@gem5.org>
Cc: Jonathan Kang <mailto:mos...@meta.com>
Subject: Re: [gem5-users] Capturing SimPoint and running on ARM CycleModel
Hi Jonathan On 08/03/2023 01: 43, Jonathan Kang via gem5-users wrote: Hi all, 
I’m attempting to get SPEC 2k17 to run on our performance model that uses an 
ARM Cycle Model (A55). Obviously it’d take forever to run the whole binary so I 
was wondering
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
ZjQcmQRYFpfptBannerEnd

Hi Jonathan
On 08/03/2023 01:43, Jonathan Kang via gem5-users wrote:
Hi all,

I’m attempting to get SPEC 2k17 to run on our performance model that uses an 
ARM Cycle Model (A55). Obviously it’d take forever to run the whole binary so I 
was wondering if anyone has had experience capturing SimPoints using Gem5 and 
then running the resulting reduced binary on a Cycle Model. I know you can do 
it easily on Gem5 simple CPU in SE mode but I need it to work with our more 
accurate model.



You can easily generate SimPoints with gem5 as you correctly said. The problem 
is the checkpoint incompatibility between gem5 and Cycle Model. (restoring the 
gem5 checkpoint from the CA simulator).

It would be nice if we could generate an ELFie [1] from a gem5 checkpoint. As I 
have recently seen some commits mentioning ELFies you could ask Jason and his 
group if there's something going on...



Kind Regards



Giacomo



[1]: 
https://dl.acm.org/doi/abs/10.1109/CGO51591.2021.9370340<https://dl.acm.org/doi/abs/10.1109/CGO51591.2021.9370340>



Thanks in advance!

Jonathan Kang.


___

gem5-users mailing list -- gem5-users@gem5.org<mailto:gem5-users@gem5.org>

To unsubscribe send an email to 
gem5-users-le...@gem5.org<mailto:gem5-users-le...@gem5.org>
IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

[gem5-users] Re: Capturing SimPoint and running on ARM CycleModel

2023-03-09 Thread Jason Lowe-Power via gem5-users
Hi Jonathan,

We just did a tutorial on how to use ELFies with gem5. See
https://looppoint.github.io/hpca2023/ for details.

We are able to load ELFies and run them in gem5. See
https://github.com/gem5-hpca-2023/gem5-tutorial-codespace/blob/master/elfie-refs/elfie.py
for an example.

That said, we currently only support ELFies generated by the Sniper
simulator. If you want details on how to do that, you'll have to check out
the looppoint documentation above or contact the looppoint/ELFie authors.

Cheers,
Jason

On Thu, Mar 9, 2023 at 12:31 AM Giacomo Travaglini <
giacomo.travagl...@arm.com> wrote:

> Hi Jonathan,
>
>
> On 08/03/2023 17:47, Jonathan Kang wrote:
>
> Thanks Giacomo,
>
>
>
> A few questions:
>
>
>
>1. Who is Jason? So that I can contact him 
>
>
> Jason Lowe-Power, here CCed
>
>
>
>
>1. Regarding ELFie, I found these:
>   1.
>   
> https://github.com/UT-LCA/Scalability-Phase-Simpoint-of-SPEC-CPU2017/releases
>   2. https://github.com/intel/pinball2elf
>
>
>
> #2 would seem to be able to generate ELFies from the x86 pinballs that
> were captured. However, I’m unfamiliar with how ELFies work. Do they still
> capture state and thus need to inject processor state prior to simulation?
> In which case the problem still exists that the ARM Cycle Model is
> incompatible….
>
>
> The ELFie methodology generates guest bootcode which injects the
> architectural state before the beginning of the SimPoint
>
>
> Kind Regards
>
>
> Giacomo
>
>
>
>
> Thanks,
>
>
>
> Jonathan.
>
>
>
> *From: *Giacomo Travaglini 
> 
> *Date: *Wednesday, March 8, 2023 at 6:26 AM
> *To: *The gem5 Users mailing list 
> 
> *Cc: *Jonathan Kang  
> *Subject: *Re: [gem5-users] Capturing SimPoint and running on ARM
> CycleModel
>
> Hi Jonathan On 08/03/2023 01: 43, Jonathan Kang via gem5-users wrote: Hi
> all, I’m attempting to get SPEC 2k17 to run on our performance model that
> uses an ARM Cycle Model (A55). Obviously it’d take forever to run the whole
> binary so I was wondering
>
> ZjQcmQRYFpfptBannerStart
>
> *This Message Is From an External Sender *
>
> ZjQcmQRYFpfptBannerEnd
>
> Hi Jonathan
>
> On 08/03/2023 01:43, Jonathan Kang via gem5-users wrote:
>
> Hi all,
>
>
>
> I’m attempting to get SPEC 2k17 to run on our performance model that uses
> an ARM Cycle Model (A55). Obviously it’d take forever to run the whole
> binary so I was wondering if anyone has had experience capturing SimPoints
> using Gem5 and then running the resulting reduced binary on a Cycle Model.
> I know you can do it easily on Gem5 simple CPU in SE mode but I need it to
> work with our more accurate model.
>
>
>
> You can easily generate SimPoints with gem5 as you correctly said. The
> problem is the checkpoint incompatibility between gem5 and Cycle Model.
> (restoring the gem5 checkpoint from the CA simulator).
>
> It would be nice if we could generate an ELFie [1] from a gem5 checkpoint.
> As I have recently seen some commits mentioning ELFies you could ask Jason
> and his group if there's something going on...
>
>
>
> Kind Regards
>
>
>
> Giacomo
>
>
>
> [1]: https://dl.acm.org/doi/abs/10.1109/CGO51591.2021.9370340
>
>
>
>
>
> Thanks in advance!
>
>
>
> Jonathan Kang.
>
>
>
> ___
>
> gem5-users mailing list -- gem5-users@gem5.org
>
> To unsubscribe send an email to gem5-users-le...@gem5.org
>
> IMPORTANT NOTICE: The contents of this email and any attachments are
> confidential and may also be privileged. If you are not the intended
> recipient, please notify the sender immediately and do not disclose the
> contents to any other person, use it for any purpose, or store or copy the
> information in any medium. Thank you.
>
> IMPORTANT NOTICE: The contents of this email and any attachments are
> confidential and may also be privileged. If you are not the intended
> recipient, please notify the sender immediately and do not disclose the
> contents to any other person, use it for any purpose, or store or copy the
> information in any medium. Thank you.
>
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org


[gem5-users] Re: Capturing SimPoint and running on ARM CycleModel

2023-03-09 Thread Giacomo Travaglini via gem5-users

Hi Jonathan,


On 08/03/2023 17:47, Jonathan Kang wrote:
Thanks Giacomo,

A few questions:


 1.  Who is Jason? So that I can contact him 


Jason Lowe-Power, here CCed



 1.  Regarding ELFie, I found these:
*   
https://github.com/UT-LCA/Scalability-Phase-Simpoint-of-SPEC-CPU2017/releases
*   https://github.com/intel/pinball2elf

#2 would seem to be able to generate ELFies from the x86 pinballs that were 
captured. However, I’m unfamiliar with how ELFies work. Do they still capture 
state and thus need to inject processor state prior to simulation? In which 
case the problem still exists that the ARM Cycle Model is incompatible….


The ELFie methodology generates guest bootcode which injects the architectural 
state before the beginning of the SimPoint


Kind Regards


Giacomo


Thanks,

Jonathan.

From: Giacomo Travaglini 
<mailto:giacomo.travagl...@arm.com>
Date: Wednesday, March 8, 2023 at 6:26 AM
To: The gem5 Users mailing list 
<mailto:gem5-users@gem5.org>
Cc: Jonathan Kang <mailto:mos...@meta.com>
Subject: Re: [gem5-users] Capturing SimPoint and running on ARM CycleModel
Hi Jonathan On 08/03/2023 01: 43, Jonathan Kang via gem5-users wrote: Hi all, 
I’m attempting to get SPEC 2k17 to run on our performance model that uses an 
ARM Cycle Model (A55). Obviously it’d take forever to run the whole binary so I 
was wondering
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender

ZjQcmQRYFpfptBannerEnd

Hi Jonathan
On 08/03/2023 01:43, Jonathan Kang via gem5-users wrote:
Hi all,

I’m attempting to get SPEC 2k17 to run on our performance model that uses an 
ARM Cycle Model (A55). Obviously it’d take forever to run the whole binary so I 
was wondering if anyone has had experience capturing SimPoints using Gem5 and 
then running the resulting reduced binary on a Cycle Model. I know you can do 
it easily on Gem5 simple CPU in SE mode but I need it to work with our more 
accurate model.



You can easily generate SimPoints with gem5 as you correctly said. The problem 
is the checkpoint incompatibility between gem5 and Cycle Model. (restoring the 
gem5 checkpoint from the CA simulator).

It would be nice if we could generate an ELFie [1] from a gem5 checkpoint. As I 
have recently seen some commits mentioning ELFies you could ask Jason and his 
group if there's something going on...



Kind Regards



Giacomo



[1]: https://dl.acm.org/doi/abs/10.1109/CGO51591.2021.9370340



Thanks in advance!

Jonathan Kang.



___

gem5-users mailing list -- gem5-users@gem5.org<mailto:gem5-users@gem5.org>

To unsubscribe send an email to 
gem5-users-le...@gem5.org<mailto:gem5-users-le...@gem5.org>
IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org


[gem5-users] Re: Capturing SimPoint and running on ARM CycleModel

2023-03-08 Thread Jonathan Kang via gem5-users
Thanks Giacomo,

A few questions:


  1.  Who is Jason? So that I can contact him 
  2.  Regarding ELFie, I found these:
 *   
https://github.com/UT-LCA/Scalability-Phase-Simpoint-of-SPEC-CPU2017/releases
 *   https://github.com/intel/pinball2elf

#2 would seem to be able to generate ELFies from the x86 pinballs that were 
captured. However, I’m unfamiliar with how ELFies work. Do they still capture 
state and thus need to inject processor state prior to simulation? In which 
case the problem still exists that the ARM Cycle Model is incompatible….

Thanks,

Jonathan.

From: Giacomo Travaglini 
Date: Wednesday, March 8, 2023 at 6:26 AM
To: The gem5 Users mailing list 
Cc: Jonathan Kang 
Subject: Re: [gem5-users] Capturing SimPoint and running on ARM CycleModel
Hi Jonathan On 08/03/2023 01: 43, Jonathan Kang via gem5-users wrote: Hi all, 
I’m attempting to get SPEC 2k17 to run on our performance model that uses an 
ARM Cycle Model (A55). Obviously it’d take forever to run the whole binary so I 
was wondering
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
ZjQcmQRYFpfptBannerEnd

Hi Jonathan
On 08/03/2023 01:43, Jonathan Kang via gem5-users wrote:
Hi all,

I’m attempting to get SPEC 2k17 to run on our performance model that uses an 
ARM Cycle Model (A55). Obviously it’d take forever to run the whole binary so I 
was wondering if anyone has had experience capturing SimPoints using Gem5 and 
then running the resulting reduced binary on a Cycle Model. I know you can do 
it easily on Gem5 simple CPU in SE mode but I need it to work with our more 
accurate model.



You can easily generate SimPoints with gem5 as you correctly said. The problem 
is the checkpoint incompatibility between gem5 and Cycle Model. (restoring the 
gem5 checkpoint from the CA simulator).

It would be nice if we could generate an ELFie [1] from a gem5 checkpoint. As I 
have recently seen some commits mentioning ELFies you could ask Jason and his 
group if there's something going on...



Kind Regards



Giacomo



[1]: 
https://dl.acm.org/doi/abs/10.1109/CGO51591.2021.9370340<https://dl.acm.org/doi/abs/10.1109/CGO51591.2021.9370340>



Thanks in advance!

Jonathan Kang.



___

gem5-users mailing list -- gem5-users@gem5.org<mailto:gem5-users@gem5.org>

To unsubscribe send an email to 
gem5-users-le...@gem5.org<mailto:gem5-users-le...@gem5.org>
IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org


[gem5-users] Re: Capturing SimPoint and running on ARM CycleModel

2023-03-08 Thread Giacomo Travaglini via gem5-users

Hi Jonathan

On 08/03/2023 01:43, Jonathan Kang via gem5-users wrote:
Hi all,

I’m attempting to get SPEC 2k17 to run on our performance model that uses an 
ARM Cycle Model (A55). Obviously it’d take forever to run the whole binary so I 
was wondering if anyone has had experience capturing SimPoints using Gem5 and 
then running the resulting reduced binary on a Cycle Model. I know you can do 
it easily on Gem5 simple CPU in SE mode but I need it to work with our more 
accurate model.


You can easily generate SimPoints with gem5 as you correctly said. The problem 
is the checkpoint incompatibility between gem5 and Cycle Model. (restoring the 
gem5 checkpoint from the CA simulator).

It would be nice if we could generate an ELFie [1] from a gem5 checkpoint. As I 
have recently seen some commits mentioning ELFies you could ask Jason and his 
group if there's something going on...


Kind Regards


Giacomo


[1]: https://dl.acm.org/doi/abs/10.1109/CGO51591.2021.9370340


Thanks in advance!

Jonathan Kang.



___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to 
gem5-users-le...@gem5.org


IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org


[gem5-users] Re: Capturing SimPoint and running on ARM CycleModel

2023-03-08 Thread 봉하승 via gem5-users
Hi Jonathan,

I have experience simulating SimPoint area through O3CPU in se mode.(use
the checkpoint function of gem5)
I don't know if it's only in my case, but not all Benchmarks in spec2017
had a smooth simulation process with SimPoint.
I'm still looking for a way to fix some of the workloads.

Regards,
Haseung

2023년 3월 8일 (수) 오전 10:46, Jonathan Kang via gem5-users 님이
작성:

> Hi all,
>
>
>
> I’m attempting to get SPEC 2k17 to run on our performance model that uses
> an ARM Cycle Model (A55). Obviously it’d take forever to run the whole
> binary so I was wondering if anyone has had experience capturing SimPoints
> using Gem5 and then running the resulting reduced binary on a Cycle Model.
> I know you can do it easily on Gem5 simple CPU in SE mode but I need it to
> work with our more accurate model.
>
>
>
> Thanks in advance!
>
>
>
> Jonathan Kang.
> ___
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
>
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org