xpenguin

Can I use different unit_mask for each core? (For counting L3 cache misses for each core)

Discussion created by xpenguin on Oct 18, 2010
Latest reply on Apr 16, 2011 by jeffwang
Can I use different unit_mask for each core? (For counting L3 cache misses for each core)

I use Magny-core CPU, i.e., Opteron 6168.

 

I want to count L3 cache misses for each core, i.e., how many L3 cache misses do each core trigger?

 

However, by default, the performance counter in Magny-core broadcasts the event triggerred by L3 cache misses to all cores.

In other topics, some suggests multiplexing events(http://forums.amd.com/devforum/messageview.cfm?catid=218&threadid=98029), but, multiplexing events is not good idea for me since I use VMM.

 

Can I set unit_mask of L3 cache miss event differently for each core? and will it work correctly?

 

 

 

 

Outcomes