- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When cache locking exactly occur?
When data reside in *current* core's cache? Or when data reside in *any* core's cache? Or when cache line have some particular status? Or when?
Dmitriy V'jukov
When data reside in *current* core's cache? Or when data reside in *any* core's cache? Or when cache line have some particular status? Or when?
Dmitriy V'jukov
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are here any specialists on Intel multicore processors?
Maybe Intel has *another* forum, where Intel's specialists answering to community questions about Intel processors? ...
Dmitriy V'jukov
Maybe Intel has *another* forum, where Intel's specialists answering to community questions about Intel processors? ...
Dmitriy V'jukov
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
what do you mean by "when"? the cache line that the program tries to lock can be initially at any place including memory or the disk,and will be brought to the current core's cache once accessed by the locking instruction.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
anshgm:
what do you mean by "when"? the cache line that the program tries to lock can be initially at any place including memory or the disk,and will be brought to the current core's cache once accessed by the locking instruction.
Let's assume cache line in current core cache, or in foreign core cache, or in both. I.e. memory location actively used by program. Are there any techniques to increase probability of cache line locking instead of bus locking? I mean techniques from point of view of system programmer.
For example, if cache line in current core cache in modified or exclusive state then cache line locking WILL occur.
Or if cache line in ANY core cache in modified or exclusive state then cache line locking WILL occur.
Or if cache line in shared state then cache line locking WILL occur.
Dmitriy V'jukov

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