[Gems-users] State transitions per cycle and Instruction Profiling


Date: Tue, 28 Aug 2007 02:54:59 -0700 (PDT)
From: Enric Herrero <enricherrero@xxxxxxxx>
Subject: [Gems-users] State transitions per cycle and Instruction Profiling
Hi,
I have a couple of questions about Ruby:

I've seen that the variable Lx_CACHE_TRANSITIONS_PER_RUBY_CYCLE is set to 32 and that is recommended to set it higher if it's a protocol that uses zz_recycle... actions. I would like to set it to a more realistic value (smaller) to limit the number of snoops/cycle but I don't see why this is not desirable if I use the zz_recycle... actions.

The second question is about profiling instructions. I already have the values for the data cache with REMOVE_SINGLE_CYCLE_DCACHE_FAST_PATH=true but it seems that for instructions the profiler only takes into account the misses and I allways get a 100% miss rate for the instruction cache. That's why I added a call to the counter in the doRequest function of the Sequencer. The call is activated when (hit && request.getType() == CacheRequestType_IFETCH) == true. If I understood well this requests never go to the mandatory queue. Do you think it's correct?

Thank you for your help!

Enric



Sé un Mejor Amante del Cine
¿Quieres saber cómo? ¡Deja que otras personas te ayuden! .
[← Prev in Thread] Current Thread [Next in Thread→]