Patents
US 8,185,693 B2#17281725 Most CitedActiveUnited States (USPTO)Utility

Cache-line aware collection for runtime environments

6Forward Citations (#17281725 Global)
0.4/yrCitation Velocity (#18706451 Global)
1.78Citation PageRank (#17527911 Global)
9Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

Target data is allocated into caches of a shared-memory multiprocessor system during a runtime environment. The target data includes a plurality of data items that are allocated onto separate cache lines. Each data item is allocated on a separate cache line regardless of the size of the cache line of the system. The data items become members of a wrapper types when data items are value types. The runtime environment maintains a set of wrapper types of various sizes that are of typical cache line sizes. Garbage data is inserted into the cache line in cases where data items are reference types and data is stored on a managed heap. The allocation also configures garbage collectors in the runtime environment not to slide multiple data items onto the same cache line. Other examples are included where a developer can augment the runtime environment to be aware of cache line sizes.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 6.

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method, comprising: allocating target data having a plurality of data items in caches of a shared-memory multiprocessor system while executing under a runtime environment, the allocating including: determining a system runtime cache line size; and creating a cache line aware collection including an array of a plurality of elements such that each element has an element size that is an integer multiple of the determined system cache line size, and wherein each of the array of elements includes a unique one of the plurality of data items in the target data, wherein the creating the cache line a

  2. Claim 2Depends on #1

    The method of claim 1 wherein determining a system runtime cache line size includes a call to the shared-memory multiprocessor system.

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • Akhter, et al., "Understanding and Avoiding Memory Issues with Multi-core Processors", retrieved at <<http://www.ddj.com/embedded/212400410>>, Dec. 11, 2008, pp. 4.
  • Akhter, et al., "Understanding and Avoiding Memory Issues with Multi-core Processors", retrieved at >, Dec. 11, 2008, pp. 4.
  • Hung, et al., "Reduction of False Sharing by using Process Affinity in Page-based Distributed Shared Memory Multiprocessor Systems", retrieved at <<http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=00562899>>, IEEE, 1996, pp. 383-390.
  • Hung, et al., "Reduction of False Sharing by using Process Affinity in Page-based Distributed Shared Memory Multiprocessor Systems", retrieved at >, IEEE, 1996, pp. 383-390.
  • Kandemir, et al., "Reducing False Sharing and Improving Spatial Locality in a Unified Compilation Framework", retrieved at <<http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=01195407>>, IEEE Transactions on Parallel and Distributed Systems, vol. 14, No. 4, Apr. 2003, pp. 337-354.