Hi Shougang,

The cache is gem5 doesn't support write through, you would have to
implement it yourself. The write through flag in the packet is only used
for cache maintenance operations but it might be useful for implementing
write-through requests in general.

Nikos

On 28/03/2019 18:28, yuan wrote:
> Hi, there,
>
> I am wondering how to enable write through policy in gem5? I tried to
> use pkt->SetWritethrough() for each write request in cache class. But it
> seems that these write requests never go down stream to the lower level
> cache and eventually to memory controller. Does anyone know how to
> enable write through in gem5?
>
> Best,
>
> Shougang
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
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
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to