CN114616552A - 缓存存储器和分配写操作的方法 - Google Patents

缓存存储器和分配写操作的方法 Download PDF

Info

Publication number
CN114616552A
CN114616552A CN201980101851.6A CN201980101851A CN114616552A CN 114616552 A CN114616552 A CN 114616552A CN 201980101851 A CN201980101851 A CN 201980101851A CN 114616552 A CN114616552 A CN 114616552A
Authority
CN
China
Prior art keywords
write operation
historical
stream
operation stream
target
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.)
Pending
Application number
CN201980101851.6A
Other languages
English (en)
Inventor
朱桂杰
夏晶
信恒超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN114616552A publication Critical patent/CN114616552A/zh
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems

Landscapes

  • Engineering & Computer Science (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

本申请实施例公开了缓存存储器和分配写操作的方法,涉及存储技术领域,能够减小对SW采用静态的策略控制写分配或写不分配造成的缓存性能下降的影响。该缓存存储器包括:探测器,用于从接收的写操作中探测到目标写操作流,目标写操作流中所包含的多个写操作的地址具有规律性,目标写操作流是指对全修改缓存行进行的写操作;寄存器,用于存储至少一个历史写操作流的信息,至少一个历史写操作流用于指示目标写操作流之前的写操作流;仲裁器,用于根据历史写操作流的信息确定是否为目标写操作流分配缓存行。本申请实施例用于确定是否为写操作流分配缓存行。

Description

PCT国内申请,说明书已公开。

Claims (18)

  1. PCT国内申请,权利要求书已公开。
CN201980101851.6A 2019-11-29 2019-11-29 缓存存储器和分配写操作的方法 Pending CN114616552A (zh)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/122226 WO2021103020A1 (zh) 2019-11-29 2019-11-29 缓存存储器和分配写操作的方法

Publications (1)

Publication Number Publication Date
CN114616552A true CN114616552A (zh) 2022-06-10

Family

ID=76129904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201980101851.6A Pending CN114616552A (zh) 2019-11-29 2019-11-29 缓存存储器和分配写操作的方法

Country Status (2)

Country Link
CN (1) CN114616552A (zh)
WO (1) WO2021103020A1 (zh)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8904115B2 (en) * 2010-09-28 2014-12-02 Texas Instruments Incorporated Cache with multiple access pipelines
CN102053929A (zh) * 2010-12-17 2011-05-11 天津曙光计算机产业有限公司 一种基于Linux系统DM层的IO缓存操作方法和系统
CN103076992B (zh) * 2012-12-27 2016-09-28 杭州华为数字技术有限公司 一种内存数据缓冲方法及装置
GB2526849B (en) * 2014-06-05 2021-04-14 Advanced Risc Mach Ltd Dynamic cache allocation policy adaptation in a data processing apparatus
US20170255569A1 (en) * 2016-03-01 2017-09-07 Qualcomm Incorporated Write-allocation for a cache based on execute permissions

Also Published As

Publication number Publication date
WO2021103020A1 (zh) 2021-06-03

Similar Documents

Publication Publication Date Title
US10558577B2 (en) Managing memory access requests with prefetch for streams
US10540281B2 (en) Cache allocation based on quality-of-service monitoring
US10223278B2 (en) Selective bypassing of allocation in a cache
US9727466B2 (en) Interconnect and method of managing a snoop filter for an interconnect
US10216646B2 (en) Evicting appropriate cache line using a replacement policy utilizing belady's optimal algorithm
US20160055100A1 (en) System and method for reverse inclusion in multilevel cache hierarchy
KR20150032890A (ko) 비휘발성 메인 메모리 시스템에서의 적응성 캐시 교체를 위한 장치, 시스템 및 방법
US20170371807A1 (en) Cache data determining method and apparatus
CN109074320B (zh) 一种缓存替换方法,装置和系统
US20130166846A1 (en) Hierarchy-aware Replacement Policy
US20130311724A1 (en) Cache system with biased cache line replacement policy and method therefor
US6393522B1 (en) Method and apparatus for cache memory management
CN111382089A (zh) 用于专用最末级高速缓存器的旁路预测器
EP4046026A1 (en) Cache management based on reuse distance
WO2017218024A1 (en) Dynamically adjustable inclusion bias for inclusive caches
US11487671B2 (en) GPU cache management based on locality type detection
US9218292B2 (en) Least-recently-used (LRU) to first-dirty-member distance-maintaining cache cleaning scheduler
CN114616552A (zh) 缓存存储器和分配写操作的方法
CN110162272B (zh) 一种内存计算缓存管理方法及装置
CN112231241B (zh) 一种数据读取方法和装置、计算机可读存储介质
US10503640B2 (en) Selective data retrieval based on access latency
CN113778693B (zh) 缓存操作方法、缓存操作装置、电子设备及处理器
CN111221749A (zh) 数据块写入方法、装置、处理器芯片及Cache
CN118409981B (zh) 一种预取方法、装置、电子设备及可读存储介质
US20240211407A1 (en) Managing a Cache Using Per Memory Region Reuse Distance Estimation

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