Re: [Gems-users] Help: simulation is hanged in LL or EL protocols


Date: Mon, 17 May 2010 08:52:14 +0800
From: ritchie wang <ritchie.arch@xxxxxxxxx>
Subject: Re: [Gems-users] Help: simulation is hanged in LL or EL protocols
Hi Marc,

Thanks for your response!

I will check my work as your suggest.

Best regards.
Ritchie Wang
20100517

2010/5/15 Marc Lupon <mlupon@xxxxxxxxxx>:
> Hi Ritchie,
>
> Polina is right, your simulation can't be hanged due to those operations.
>
> Moreover, remember that GEMS "fakes" lazy version management, given
> that it always uses the same "eager" coherence protocol to detect
> conflicts --transactional modifications are never placed in the L1
> cache during the transaction. However, OS "escape" memory accesses
> still require the update of Simics memory (eager version management), which
> may be a problem when executing lazy transactions. Hence, be   careful when
> transactions switch to PRIV_MODE, and be sure that these
> operations are handled correctly.
>
> For example, lazy transactions can't be aborted when they are executing OS
> code. Notice that this situation never happens in eager HTM systems because
> only user-mode memory accesses provoke conflicts. However, it may happen in
> lazy HTMs that defer the resolution of conflicts until commit time. In order
> to reduce the amount of OS operations, you should
> use the memory allocation library provided in STAMP benchmark suite
> instead of the conventional malloc library.
>
> I hope that this helps,
>
> --
> Marc Lupon
> Computer Architecture Department
> Universitat Politecnica de Catalunya
>
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> Use Google to search the GEMS Users mailing list by adding
> "site:https://lists.cs.wisc.edu/archive/gems-users/"; to your search.
>
>
[← Prev in Thread] Current Thread [Next in Thread→]