There was a question just a couple of weeks ago on the mailing list on just this same topic. Please look in the archives to see that discussion, as it may be helpful. The short answer is that the best (and perhaps only) way to understand exactly what the stats are counting is to look at the source code. If you still have specific questions after looking at the mailing list archives and the source, feel free to ask them here.
Steve On Tue, May 11, 2010 at 9:53 AM, Phani Deepak Parasuramuni <[email protected]> wrote: > hi, > I recently started using M5 for my project to analyze the L2 cache-hit > ratio for barnes-hut application on a quad-core(future goal, currently > trying with dual-core). > > I am presently using the following configuration: > > ALPHA_FS/m5.fast > A dual-core timing CPU(--num_cpus=2 -t) with private L1(d & i) caches & a > shared L2 cache( --caches --l2cache) > compiler & linux-system stuff put up on m5sim.org > > I got the system configuration up & running, and now the problem is I am not > able to interpret the stats.txt file from M5. I specifically need to extract > the L2 cache-hit ratio. So should i be looking at >> >> L2 hit ratio = system.l2.ReadReq_hits::total / >> system.l2.ReadReq_accesses::total > > or >> >> L2 hit ratio = system.l2.overall_hits::total / >> system.l2.overall_accesses::total > > ? > It 'll be greatly helpful if someone can point me to the documentation > page(if any) that describes the different parameters in the stats.txt file. > Thanks, > Phani. > _______________________________________________ > m5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users > _______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
