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 <giacomo.travagl...@arm.com>
> <giacomo.travagl...@arm.com>
> *Date: *Wednesday, March 8, 2023 at 6:26 AM
> *To: *The gem5 Users mailing list <gem5-users@gem5.org>
> <gem5-users@gem5.org>
> *Cc: *Jonathan Kang <mos...@meta.com> <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
>
> 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

Reply via email to