CN113973502A - 一种高速缓存冲撞处理方法及装置 - Google Patents
一种高速缓存冲撞处理方法及装置 Download PDFInfo
- Publication number
- CN113973502A CN113973502A CN202080001161.6A CN202080001161A CN113973502A CN 113973502 A CN113973502 A CN 113973502A CN 202080001161 A CN202080001161 A CN 202080001161A CN 113973502 A CN113973502 A CN 113973502A
- Authority
- CN
- China
- Prior art keywords
- cache
- virtual address
- cache line
- information
- memory
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 27
- 238000000034 method Methods 0.000 claims abstract description 43
- 230000006870 function Effects 0.000 claims description 25
- 238000012545 processing Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 8
- 230000010365 information processing Effects 0.000 claims description 5
- 238000013461 design Methods 0.000 description 21
- 238000010586 diagram Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 8
- 238000013507 mapping Methods 0.000 description 8
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000005457 optimization Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012552 review Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/38—Concurrent instruction execution, e.g. pipeline or look ahead
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Abstract
本申请实施例公开了一种高速缓存冲撞处理方法及装置,涉及芯片技术领域。该方法可以包括:获取高速缓存的冲撞信息;根据冲撞信息在多个第一缓存行中确定满足预设条件的第二缓存行;该第二缓存行为发生高速缓存冲撞频率较高的缓存行;将第二缓存行在内存中对应的第一虚拟地址中的存储对象,从第一虚拟地址重定位至高速缓存中的第三缓存行在内存中对应的第二虚拟地址;该第三缓存行为发生高速缓存冲撞频率较低的缓存行。这样,可以减少高速缓存冲撞引起的高速缓存缺失,优化CPU的前端性能,从而获得实际运行场景下CPU的良好性能和功耗收益。
Description
PCT国内申请,说明书已公开。
Claims (17)
- PCT国内申请,权利要求书已公开。
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2020/092167 WO2021237424A1 (zh) | 2020-05-25 | 2020-05-25 | 一种高速缓存冲撞处理方法及装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113973502A true CN113973502A (zh) | 2022-01-25 |
CN113973502B CN113973502B (zh) | 2023-11-17 |
Family
ID=78745118
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202080001161.6A Active CN113973502B (zh) | 2020-05-25 | 2020-05-25 | 一种高速缓存冲撞处理方法及装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113973502B (zh) |
WO (1) | WO2021237424A1 (zh) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107092493A (zh) * | 2017-05-26 | 2017-08-25 | 郑州云海信息技术有限公司 | 一种调整服务器系统性能与功耗的bios选项的系统及方法 |
CN107479860A (zh) * | 2016-06-07 | 2017-12-15 | 华为技术有限公司 | 一种处理器芯片以及指令缓存的预取方法 |
US20190004968A1 (en) * | 2017-06-30 | 2019-01-03 | EMC IP Holding Company LLC | Cache management method, storage system and computer program product |
US20190121748A1 (en) * | 2017-10-23 | 2019-04-25 | Advanced Micro Devices, Inc. | Hybrid lower-level cache inclusion policy for cache hierarchy having at least three caching levels |
CN109684235A (zh) * | 2018-12-27 | 2019-04-26 | 长沙理工大学 | 一种计算机系统应用高速缓存的方法、装置及设备 |
CN110716887A (zh) * | 2019-09-11 | 2020-01-21 | 无锡江南计算技术研究所 | 一种支持写暗示的硬件高速缓存数据装入方法 |
-
2020
- 2020-05-25 CN CN202080001161.6A patent/CN113973502B/zh active Active
- 2020-05-25 WO PCT/CN2020/092167 patent/WO2021237424A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107479860A (zh) * | 2016-06-07 | 2017-12-15 | 华为技术有限公司 | 一种处理器芯片以及指令缓存的预取方法 |
CN107092493A (zh) * | 2017-05-26 | 2017-08-25 | 郑州云海信息技术有限公司 | 一种调整服务器系统性能与功耗的bios选项的系统及方法 |
US20190004968A1 (en) * | 2017-06-30 | 2019-01-03 | EMC IP Holding Company LLC | Cache management method, storage system and computer program product |
US20190121748A1 (en) * | 2017-10-23 | 2019-04-25 | Advanced Micro Devices, Inc. | Hybrid lower-level cache inclusion policy for cache hierarchy having at least three caching levels |
CN109684235A (zh) * | 2018-12-27 | 2019-04-26 | 长沙理工大学 | 一种计算机系统应用高速缓存的方法、装置及设备 |
CN110716887A (zh) * | 2019-09-11 | 2020-01-21 | 无锡江南计算技术研究所 | 一种支持写暗示的硬件高速缓存数据装入方法 |
Also Published As
Publication number | Publication date |
---|---|
CN113973502B (zh) | 2023-11-17 |
WO2021237424A1 (zh) | 2021-12-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Kim et al. | Exploring the design space of page management for {Multi-Tiered} memory systems | |
US11169710B2 (en) | Method and apparatus for SSD storage access | |
JP6009589B2 (ja) | マルチレベルのキャッシュ階層におけるキャストアウトを低減するための装置および方法 | |
US8365181B2 (en) | Method and system for guiding scheduling decisions in clusters of computers using dynamic job profiling | |
CN104809179A (zh) | 访问哈希表的装置和方法 | |
US9727465B2 (en) | Self-disabling working set cache | |
US9880879B1 (en) | Identifying task instance outliers based on metric data in a large scale parallel processing system | |
WO2023108938A1 (zh) | 解决高速缓冲存储器地址二义性问题的方法和装置 | |
EP3850492A1 (en) | Caching streams of memory requests | |
JP2020500368A (ja) | データプリフェッチング方法、装置、およびシステム | |
US20220358178A1 (en) | Data query method, electronic device, and storage medium | |
CN113656330B (zh) | 确定访问地址的方法和装置 | |
WO2022057749A1 (zh) | 内存缺页异常的处理方法、装置、设备及存储介质 | |
US9380126B2 (en) | Data collection and distribution management | |
US11720409B2 (en) | Resource processing method and apparatus, and storage medium | |
CN110750498B (zh) | 对象访问方法、装置及存储介质 | |
CN113973502B (zh) | 一种高速缓存冲撞处理方法及装置 | |
CN110427394B (zh) | 数据操作方法及装置 | |
CN115576872B (zh) | 多级缓存的访问检测方法及装置 | |
US9514047B2 (en) | Apparatus and method to dynamically expand associativity of a cache memory | |
CN101963953B (zh) | 一种移动富媒体播放器的缓存优化方法 | |
CN112799533B (zh) | 触控点确定方法和触控设备 | |
Xi et al. | CARIC-DA: Core affinity with a range index for cache-conscious data access in a multicore environment | |
Basak | Benchmarking, Performance Analysis, and Domain-Specific Architectures for Graph Processing Applications | |
Naderan-Tahan et al. | Why Does Data Prefetching Not Work for Modern Workloads? |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |