How to track L1/L2 cache hit/miss on Solaris x86 Opteron

Here is a cpustat command that Amjad K. shared for tracking L1/L2 cache hit/miss on Solaris x86 Opteron. A special thanks to Amjad for this tip. Here is the command:

    %cpustat -c IC_itlb_L1_miss_L2_miss 1 5
    %cpustat -c IC_itlb_L1_miss_L2_hit,IC_itlb_L1_miss_L2_miss

If you are interested to track other events for Opteron, see the following listing. A special thanks to Chien Y. for this pointer.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s