Re: [osol-discuss] Measuring cost of TLB misses

2010-08-27 Thread Kishore Kumar Pusukuri
Thank you, Marty.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Measuring cost of TLB misses

2010-08-24 Thread Kishore Kumar Pusukuri
Thank you, Bart.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Measuring cost of TLB misses

2010-08-24 Thread Marty Itzkowitz
You can also use Oracle Solaris Studio to profile your application
using one of the TLB HW counters.  Various counters are available
depending on the precise Opteron chip model.

To do such a profile:
collect -h l2dtlbm a.out args

will collect a statistical profile, and show which functions and source
lines had the most L2 DTLB misses.

Marty dot Itzkowitz at oracle dot com
Project Lead, Oracle Solaris Studio Performance Tools
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Measuring cost of TLB misses

2010-08-23 Thread Bart Smaalders

On 08/20/10 21:21, Kishore Kumar Pusukuri wrote:

Hi,
I am able to measure TLB miss-rate of a multi-threaded application
running on my multi-core AMD Opteron machine by reading performance
monitoring event counters using cpustat utility. However, I would like
to measure the amount of time spent on TLB misses? Specifically, I am
looking a way like the utility trapstat functions. Please share your ideas.



TLB miss costs (e.g. page table walk) costs can be estimated by writing
code that misses in both cache and tlb, and comparing steady state 
performance to that of otherwise similar code that misses only in cache.


Keep in mind that different size pages may take different amounts of 
time, and that modern processors do an amazing job of predicting

access patterns - so attempts to miss in cache will prob. need some
random component.

You may find http://icl.cs.utk.edu/projectsfiles/hpcc/RandomAccess/
to be interesting reading...

- Bart



--
Bart Smaalders  Solaris Kernel Performance
bart.smaald...@oracle.com   http://blogs.sun.com/barts
You will contribute more with mercurial than with thunderbird.
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Measuring cost of TLB misses

2010-08-20 Thread Kishore Kumar Pusukuri
Hi,
I am able to measure TLB miss-rate of a multi-threaded application running on 
my multi-core AMD Opteron machine by reading performance monitoring event 
counters using cpustat utility. However, I would like to measure the amount of 
time spent on TLB misses? Specifically, I am looking a way like the utility 
trapstat functions. Please share your ideas.

Thank you.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org