Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
22 Views

How do I find number of Instructions causing thread to suspend?

Jump to solution
I am studying factors causing a thread to suspend.

  1. How do I find the number of instructions causing a thread to suspend using VTune?
  2. How do I find the L1 & L2 cache miss latency for Xeon E 5405?
Thanks in advance,
Reshmi
0 Kudos

Accepted Solutions
Highlighted
Employee
22 Views
Hi Reshmi,


1. Thread is suspended, that should be one of these situations- wait for single or multiple objectives, enter a critical section, wait for an event signal. I don't think that VTune Performance Analyzer is helpful to find where the code is "halted".I strongly suggest touse Intel Thread Profiler to view results from time line, that displays all threads' activities, including thread's transition and support source view.

2. Xeon E5405 is Quad Core, please Modify Activity-> Configure Sampling-> Select "Event Ratio" tab -> Select "L2 Cache Ratios" from Ratio Groups-> Select "L2 Cache Miss Rate" -> click ">>" to add into "Selected Ratios". Thus, corresponding event L2_LINES_IN.SELF.ANY will be added into "Selected Events"

Do same thing for the ratio "L1 Data Cache Miss", then "L1D_REPL" will be added into "Selected Events"

Hope it helps

View solution in original post

0 Kudos
2 Replies
Highlighted
Employee
23 Views
Hi Reshmi,


1. Thread is suspended, that should be one of these situations- wait for single or multiple objectives, enter a critical section, wait for an event signal. I don't think that VTune Performance Analyzer is helpful to find where the code is "halted".I strongly suggest touse Intel Thread Profiler to view results from time line, that displays all threads' activities, including thread's transition and support source view.

2. Xeon E5405 is Quad Core, please Modify Activity-> Configure Sampling-> Select "Event Ratio" tab -> Select "L2 Cache Ratios" from Ratio Groups-> Select "L2 Cache Miss Rate" -> click ">>" to add into "Selected Ratios". Thus, corresponding event L2_LINES_IN.SELF.ANY will be added into "Selected Events"

Do same thing for the ratio "L1 Data Cache Miss", then "L1D_REPL" will be added into "Selected Events"

Hope it helps

View solution in original post

0 Kudos
Highlighted
Beginner
22 Views
Hi,

Thanks for your help. I went with the number of cycles for finding a probability in my model, instead of finding the number of instructions for specific events.

regards,
Reshmi
0 Kudos