Cache management method and device
A management method, a technology of physical addresses, applied in the field of Cache (cache) management
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0078] This embodiment provides a cache management method. In this embodiment, a plurality of cache subunits are set in the cache, and each cache subunit includes a plurality of cache lines; wherein, the length of the cache line included in each cache subunit is the same as that of other cache subunits The included cache line lengths are different from each other; each of the cache subunits is used to store data of a corresponding level, and the level is the spatial locality level of the data, wherein the cache subunit is the same as the level The corresponding relationship is: the cache line length included in the cache subunit is positively correlated with the spatial locality strength of the data.
[0079] For ease of understanding, this embodiment provides a schematic diagram of an organization manner of different cache line lengths in a cache for reference. Such as figure 2 As shown, the cache subunit 201, the cache subunit 202, and the cache subunit 203 constitute the...
Embodiment 2
[0092] exist image 3 On the basis of the illustrated embodiments, the embodiments of the present invention further provide a cache management method. Such as Figure 4 As shown, the method provided in this embodiment includes:
[0093] 401. Set multiple cache subunits in the cache; wherein, each cache subunit includes multiple cache lines, and the length of the cache lines included in each cache subunit is different from the lengths of the cache lines included in other cache subunits. same.
[0094] Specifically, the cache can be divided by way, the multiple cache subunits are determined, and the cache line length of each cache subunit is set;
[0095] And / or, divide the cache according to group set, determine the multiple cache subunits, and set the cache line length of each cache subunit.
[0096] 402. The cache receives the access request, and determines the data to be accessed that needs to be accessed by the access request.
[0097] It is worth noting that the metho...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com