Hi Amin,
The writing back of dirty cache state using functional accesses is already part
of the draining afaik. I am not sure that is very useful as a cache flush
mechanism though. I'd suggest to do it "properly" If you care about performance.
Andreas
From: Amin Farmahini <[email protected]<mailto:[email protected]>>
Reply-To: gem5 users mailing list
<[email protected]<mailto:[email protected]>>
Date: Monday, July 22, 2013 8:29 PM
To: gem5 users mailing list <[email protected]<mailto:[email protected]>>
Subject: [gem5-users] Cache flushing in classic cache model
Hi,
I'd like to implement a cache flushing mechanism to writeback dirty lines to
memory in classic cache model. I am using timing memory model, but currently
don't care about getting the correct timing. As a first step, I would like to
get the correct functionality without worrying about timing (i.e., all
writebacks happen instantly). To implement it, I am thinking of iterating
through all lines and then write back the dirty ones using functional accesses.
I don't know if a similar mechanism is already implemented or if there is a
better way to implement cache flushing?
Overall, any insights on this would be appreciated.
Thanks,
Amin
-- 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
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users