cirosantilli2 / issues

Hello! If you have anything to say to me, feel free to open an issue, and I will reply. For gem5 issues, prefer asking on Stack Overflow or the mailing list: https://www.gem5.org/mailing_lists/ or: https://github.com/cirosantilli2/gem5-issues
1 stars 0 forks source link

How to set the cache to use the write-through strategy in gem5? #14

Open Gerrie-Cui opened 3 years ago

Gerrie-Cui commented 3 years ago

Dear cirosantilli2, I would like to consult how to use write-through caching strategy in gem5. If it can’t be set, can you give me some suggestions to modify it to achieve it? Thank you.

https://lists.gem5.org/archives/list/gem5-users@gem5.org/thread/OZRPPL5GQVUICOVTXWOUUMVRI36LTSTU/

cirosantilli2 commented 3 years ago

Yujie,

I'm sorry but I'm not too sure about this.

It seems that write through is a property of the packet, so if that is correct, it is the packet creator (CPU) that decides that.

I recommend giving further details on why you want to do this and repost on the mailing list, with more information about the use case people might be able to help better.