Great, now I see the reason that they check for non-caching cpu in scripts.
We used to use AtomicSimpleCPU and fastmem option for checkpointing, and
NonCachingSimpleCPU is a replacement for this.

Thanks Daniel and Abhishek,
Ali

On Sun, Mar 15, 2020 at 8:23 AM Daniel Carvalho <oda...@yahoo.com.br> wrote:

> In particular, the following description seems to be relevant to your
> questions:
>
> "Simple CPU model based on the atomic CPU. Unlike the atomic CPU, this
> model causes the memory system to bypass caches and is therefore slightly
> faster in some cases. However, its main purpose is as a substitute for
> hardware virtualized CPUs when stress-testing the memory system."
>
>
> You can find further details in the commit that introduced
> NonCachingSimpleCPU:
> https://gem5-review.googlesource.com/c/public/gem5/+/12419
>
>
> When checkpoints/simpoints are taken, the cache contents are not stored,
> therefore it would not matter if you created the checkpoints with them.
> Then, when you restore the checkpoints, you must provide the real desired
> configuration, which would include the cache hierarchy and your
> non-cache-bypassing CPU type. As such, when the checkpoints are restored,
> the caches will be empty, so you should provide a warmup period to fill
> them.
>
>
> Regards,
>
> Daniel
> Em sábado, 14 de março de 2020 23:04:40 GMT+1, Abhishek Singh <
> abhishek.singh199...@gmail.com> escreveu:
>
>
> Hi,
>
> I do not know the reason for that. But if you want to create simpoints
> which will be used by O3CPU, you should use the AtomicSimpleCPU with
> "--caches" option and also add "--l2cache" if your O3CPU is using L2 cache.
>
> Best regards,
>
> Abhishek
>
>
> On Sat, Mar 14, 2020 at 5:53 PM Ali Hajiabadi <ahajiabad...@gmail.com>
> wrote:
>
> Thanks for your reply. But se.py script checks that the CPU type is
> non-caching. Is there a reason for that? Can I ignore those checks?
>
> On Sun, Mar 15, 2020 at 5:41 AM Abhishek Singh <
> abhishek.singh199...@gmail.com> wrote:
>
> Hi,
> I would advise using Atomic Simple Cpu with “—caches” option to create
> Simpoints
>
>
> On Sat, Mar 14, 2020 at 5:35 PM Ali Hajiabadi <ahajiabad...@gmail.com>
> wrote:
>
> Hi everyone,
>
> What is the difference between using NonCachingSimpleCPU
> and AtomicSimpleCPU in order to profile and taking simpoints and
> checkpoints? I want to use checkpoints to simulate and evaluate my own
> modified version of O3 core model. Which CPU type is the best to profile
> and take checkpoints? I don't want to bypass caches in my O3 model.
>
> Also, I am using RISCV implementation of gem5.
>
> Thanks,
> Ali
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to