Re: [gem5-users] RUBY and MISS rate calculation!

2012-11-21 Thread Malek Musleh
That is correct. Malek On Wed, Nov 21, 2012 at 4:53 AM, Pavlos Maniotis wrote: > Thank you Malek, one more question: as you said, your patch supports > MESI/MOESI protocols so I suppose that it does not work with the > MI_example protocol, right? > > Pavlos > > On Tue, 2012-11-20 at 13:19 -0500,

Re: [gem5-users] RUBY and MISS rate calculation!

2012-11-21 Thread Pavlos Maniotis
Thank you Malek, one more question: as you said, your patch supports MESI/MOESI protocols so I suppose that it does not work with the MI_example protocol, right? Pavlos On Tue, 2012-11-20 at 13:19 -0500, Malek Musleh wrote: > Pavlos, > > That patch also prints the absolute values for the > hits

Re: [gem5-users] RUBY and MISS rate calculation!

2012-11-20 Thread Malek Musleh
Pavlos, That patch also prints the absolute values for the hits/misses/accesses, and solves that misnomer issue. The only thing it does not change is the member name profileMiss() of the CacheMemory class because I wasn't sure what developers intend to do with the naming convention. You can look

Re: [gem5-users] RUBY and MISS rate calculation!

2012-11-20 Thread Pavlos Maniotis
Now I understand, thanks a lot. I will try to install the patch and see what results I will get. But it is very strange that such a bug exists in gem5 (you said "Currently, ruby counts (refers to) all cache accesses as 'misses' which..."). It would be also helpful to print cache accesses and cac

Re: [gem5-users] RUBY and MISS rate calculation!

2012-11-20 Thread Malek Musleh
Pavlos, Did you look at the changes in CacheProfiler.cc? Currently, ruby counts (refers to) all cache accesses as 'misses' which is a bit misleading. This patch changes that to correctly account for when a cache access is a 'hit' versus a 'miss' (as in it has to go up to the next level memory to s

Re: [gem5-users] RUBY and MISS rate calculation!

2012-11-20 Thread Pavlos Maniotis
Hello Malek, Thanks for the reply. ruby.stats file reports the absolute number of cache misses but I need its proportion to all cache accesses. I can't understand how this patch will help me. Will it print the cache ratio (%) in ruby.stats file? Pavlos On Tue, 2012-11-20 at 11:38 -0500, Mal

Re: [gem5-users] RUBY and MISS rate calculation!

2012-11-20 Thread Malek Musleh
Hi Pavlos, I have a patch posted here for this: http://reviews.gem5.org/r/1467/ I only added support for MESI/MOESI Protocols, but you can extend to the other ones also. Malek On Tue, Nov 20, 2012 at 11:09 AM, Pavlos Maniotis wrote: > Hello everyone, > > Is there anybody who knows how to calc

[gem5-users] RUBY and MISS rate calculation!

2012-11-20 Thread Pavlos Maniotis
Hello everyone, Is there anybody who knows how to calculate miss ratio using ruby? I think a step by step explanation would help a lot of us working on gem5. Thanks in advance, Pavlos ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cg

Re: [gem5-users] Ruby and miss rate calculation

2012-10-31 Thread Malek Musleh
No not yet, It has yet to be reviewed. Note the comment about 'misses' versus 'accesses'. Malek On Wed, Oct 31, 2012 at 10:17 AM, Pavlos Maniotis wrote: > Thank you Malek, I'll check this out. > > One more question: > Is this patch included in the latest development release? > > Thanks again,

Re: [gem5-users] Ruby and miss rate calculation

2012-10-31 Thread Pavlos Maniotis
Thank you Malek, I'll check this out. One more question: Is this patch included in the latest development release? Thanks again, Pavlos On Wed, 2012-10-31 at 10:06 -0400, Malek Musleh wrote: > Hi Pavlos, > > I have posted a patch on the review board that does this for > MOESI/MESI Protocols.

Re: [gem5-users] Ruby and miss rate calculation

2012-10-31 Thread Malek Musleh
Hi Pavlos, I have posted a patch on the review board that does this for MOESI/MESI Protocols. Take a look here: http://reviews.gem5.org/r/1467/ Malek On Tue, Oct 30, 2012 at 12:22 PM, Pavlos Maniotis wrote: > Hello everyone, > > Could somebody please help me on how to calculate the > miss rate

[gem5-users] Ruby and miss rate calculation

2012-10-30 Thread Pavlos Maniotis
Hello everyone, Could somebody please help me on how to calculate the miss rate for L1 cache? I think I should divide "system.l1_cntrl0.cacheMemory_total_misses" with total accesses to L1 to get the miss rate. What events do I have to sum to get the total accesses? Should I sum all L1 events