Hi Qingsen, 1. Check src/mem/cache/Cache.py (if you’re on a recent version of gem5) or src/mem/cache/BaseCache.py (for older versions). Each parameter has a unit very clearly defined.
2. The latencies of the cache are quite complex for the various different flows from request to response and similarly for snoops. In essence the hit latency is the time taken to turn around a request to response on a hit, and response latency is the time from the cache receiving a response, to sending an upward response on a fill. For more details see src/mem/cache/cache.cc 3. All time-related stats are in Ticks. Andreas From: gem5-users <[email protected]<mailto:[email protected]>> on behalf of Qingsen Wang <[email protected]<mailto:[email protected]>> Reply-To: gem5 users mailing list <[email protected]<mailto:[email protected]>> Date: Thursday, 26 November 2015 at 01:56 To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: [gem5-users] Some questions about cache Greetings, I have some quick questions about cache. 1. For the cache configuration (as shown below from configs\common\Caches.py), what is the unit of latency? Is it in nano-seconds or cycles? class L2Cache(BaseCache): assoc = 8 hit_latency = 20 response_latency = 20 mshrs = 20 tgts_per_mshr = 12 write_buffers = 8 2. What is the difference between hit_latency and response latency? (Some one has asked this question before but I still can't find the answer) 3. As in the result file stats.txt, I found system.l2.overall_avg_miss_latency::total 83965.126869 # average overall miss latency Similar to the first question, what is the unit of the value 83965.126869 ? Thanks in advance for anyone's help! Have a great day! (Or have a good holiday if you in US) Regards, Qingsen. 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
