- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hwo to measure the effect of "false sharing"?
any KPI in VTUNE?
any KPI in VTUNE?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - softarts
hwo to measure the effect of "false sharing"?
any KPI in VTUNE?
any KPI in VTUNE?
On the Core2 platform we use EXT_SNOOP.ALL_AGENTS.HITM event to identify snoop responses to bus transactions.HITM occurs when the snooped address at the responder's cache is in a Modified state. So, it reflects the number of modified data sharing cases.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Vladimir Tsymbal (Intel)
On the Core2 platform we use EXT_SNOOP.ALL_AGENTS.HITM event to identify snoop responses to bus transactions.HITM occurs when the snooped address at the responder's cache is in a Modified state. So, it reflects the number of modified data sharing cases.
which method should use?call graph or sampling?
thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - softarts
which method should use?call graph or sampling?
thanks!
Sampling. Vladimir has already named the event that you should sample. If you are unfamiliar with sampling, it is recommended that you read some introduction to sampling and try some basic tutorial before jumping into measuring false sharing. You will need to understand the difference between event and sample and know what the "sample-after-value" means, or it will be really hard to interpret the results. You can find such information in the documentation or the VTune book, and there come some examples with VTune.
Call-graph essentially measures the time that is spent in functions and captures how tfunction callsrelate to each other. It is therefore unsuited to identify false sharing.
Kind regards
thomas
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page