Hi Teo,

That error is because you're still using MESI_Two_Level. You need to
recompile gem5 to use a different protocol.

I.e., to use MESI_Two_Level you could do the following:
> scons build/X86_MESI_Two_Level/gem5.opt
> build/X86_MESI_Two_Level/gem5.opt  <config script>

To use MOESI_hammer you could do the following:
> scons build/X86_MOESI_hammer/gem5.opt --default=X86 PROTOCOL=MOESI_hammer
> build/X86_MOESI_hammer/gem5.opt <config script>

In the second case, the parameters to scons mean the following:
- `--default=X86`: Use the file build_opts/X86 to get the default
parameters for the build
- `PROTOCOL=MOESI_hammer`: Override the "PROTOCOL" variable with
MOESI_hammer

Hopefully this helps!

Cheers,
Jason


On Sun, Oct 11, 2020 at 12:28 PM Θοδωρής Τροχάτος via gem5-users <
gem5-users@gem5.org> wrote:

> Hi all! I am new to the gem5 community and I am currently reproducing
> various things from InvisiSpec paper...
>
> I was wondering, how can I generate checkpoints in X86_MESI_Two_Level (I
> am using ruby memory model in my simulations) ?
> I know that checkpoints in Ruby can only be generated in MOESI_hammer, but
> I can't generate checkpoints with MOESI_hammer, either.
> I always get the error *"panic: Runtime Error at
> MESI_Two_Level-L1cache.sm:279: Invalid RubyRequestType."*
>
> Any ideas?
>
> Thanks in advance,
> Teo.
>
> --
> -------------------------------------
> *Τροχάτος Θεόδωρος*
> *Σχολή Ηλεκτρολόγων Μηχανικών & Μηχανικών Υπολογιστών*
> *Εθνικό Μετσόβιο Πολυτεχνείο*
> -------------------------------------
> _______________________________________________
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to