CN111602377A - 高速缓存中资源调整方法、数据访问方法及装置 - Google Patents

高速缓存中资源调整方法、数据访问方法及装置 Download PDF

Info

Publication number
CN111602377A
CN111602377A CN201780097989.4A CN201780097989A CN111602377A CN 111602377 A CN111602377 A CN 111602377A CN 201780097989 A CN201780097989 A CN 201780097989A CN 111602377 A CN111602377 A CN 111602377A
Authority
CN
China
Prior art keywords
cache
lines
data
line
mark
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
Application number
CN201780097989.4A
Other languages
English (en)
Other versions
CN111602377B (zh
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 CN111602377A publication Critical patent/CN111602377A/zh
Application granted granted Critical
Publication of CN111602377B publication Critical patent/CN111602377B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

本发明实施例公开了一种高速缓存中资源调整方法及装置,该高速缓存可实现数据去重,包括数据域和标志域,该方法包括:在检测针对缓存行的数据去重操作且所述数据域中空闲数据行的数量满足第一条件的情况下,将所述数据域中P个空闲数据行划分出Q个标志行,基于高速缓存与内存的映射方式,配置所述Q个标志行与内存中数据块的映射关系,以使所述数据域中的所述P个空闲数据行复用为所述Q个标志行。本发明实施例公开了一种高速缓存中数据访问方法及装置。实施本发明实施例可以实现数据域复用为标志域,进而增大cache的可访地址空间,增大cache的容量,提升数据处理效率。

Description

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

Claims (38)

  1. PCT国内申请,权利要求书已公开。
CN201780097989.4A 2017-12-27 2017-12-27 高速缓存中资源调整方法、数据访问方法及装置 Active CN111602377B (zh)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/119013 WO2019127104A1 (zh) 2017-12-27 2017-12-27 高速缓存中资源调整方法、数据访问方法及装置

Publications (2)

Publication Number Publication Date
CN111602377A true CN111602377A (zh) 2020-08-28
CN111602377B CN111602377B (zh) 2021-12-24

Family

ID=67064289

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780097989.4A Active CN111602377B (zh) 2017-12-27 2017-12-27 高速缓存中资源调整方法、数据访问方法及装置

Country Status (2)

Country Link
CN (1) CN111602377B (zh)
WO (1) WO2019127104A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112037119A (zh) * 2020-09-09 2020-12-04 绍兴埃瓦科技有限公司 一种基于高速缓冲存储器结构的图像处理方法及系统
CN112948437A (zh) * 2021-03-03 2021-06-11 苏州合数科技有限公司 一种大数据高并发下全域频控系统及方法
CN115794675A (zh) * 2023-01-19 2023-03-14 北京象帝先计算技术有限公司 写数据方法、装置、图形处理系统、电子组件及电子设备
WO2023066124A1 (zh) * 2021-10-18 2023-04-27 上海壁仞智能科技有限公司 缓存管理方法、缓存管理装置、处理器
CN117453423A (zh) * 2023-12-25 2024-01-26 北京趋动智能科技有限公司 Gpu显存管理方法和系统,存储介质和电子设备

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111241009B (zh) * 2019-12-31 2023-05-16 西安翔腾微电子科技有限公司 一种数据反馈方法及装置
CN112579481B (zh) * 2020-12-07 2023-01-20 海光信息技术股份有限公司 数据处理方法、数据处理装置和计算装置
CN113297211B (zh) * 2021-03-03 2023-12-22 苏州合数科技有限公司 一种大数据高并发下人群画像存储及定向系统及方法
CN113778912B (zh) * 2021-08-25 2024-05-07 深圳市中科蓝讯科技股份有限公司 cache映射架构动态调整方法及cache控制器
CN113791989B (zh) * 2021-09-15 2023-07-14 深圳市中科蓝讯科技股份有限公司 基于cache的缓存数据处理方法、存储介质及芯片

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1499382A (zh) * 2002-11-05 2004-05-26 华为技术有限公司 廉价冗余磁盘阵列系统中高效高速缓存的实现方法
US20080133843A1 (en) * 2006-11-30 2008-06-05 Ruchi Wadhawan Cache Used Both as Cache and Staging Buffer
CN103150269A (zh) * 2011-12-06 2013-06-12 广东新岸线计算机系统芯片有限公司 一种数据缓存控制方法和系统
CN104346404A (zh) * 2013-08-08 2015-02-11 华为技术有限公司 一种访问数据的方法、设备及系统
CN106227676A (zh) * 2016-09-22 2016-12-14 大唐微电子技术有限公司 一种高速缓存以及从高速缓存中读取数据的方法和装置
CN107291630A (zh) * 2016-03-30 2017-10-24 华为技术有限公司 一种高速缓冲存储器处理方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8832376B2 (en) * 2012-03-16 2014-09-09 Infineon Technologies Ag System and method for implementing a low-cost CPU cache using a single SRAM
US9298637B2 (en) * 2013-03-13 2016-03-29 International Business Machines Corporation Dynamic caching module selection for optimized data deduplication
US9729659B2 (en) * 2013-03-14 2017-08-08 Microsoft Technology Licensing, Llc Caching content addressable data chunks for storage virtualization

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1499382A (zh) * 2002-11-05 2004-05-26 华为技术有限公司 廉价冗余磁盘阵列系统中高效高速缓存的实现方法
US20080133843A1 (en) * 2006-11-30 2008-06-05 Ruchi Wadhawan Cache Used Both as Cache and Staging Buffer
CN103150269A (zh) * 2011-12-06 2013-06-12 广东新岸线计算机系统芯片有限公司 一种数据缓存控制方法和系统
CN104346404A (zh) * 2013-08-08 2015-02-11 华为技术有限公司 一种访问数据的方法、设备及系统
CN107291630A (zh) * 2016-03-30 2017-10-24 华为技术有限公司 一种高速缓冲存储器处理方法及装置
CN106227676A (zh) * 2016-09-22 2016-12-14 大唐微电子技术有限公司 一种高速缓存以及从高速缓存中读取数据的方法和装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
武杨: "高速缓冲存储器Cache设计的关键技术分析", 《中国科技信息》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112037119A (zh) * 2020-09-09 2020-12-04 绍兴埃瓦科技有限公司 一种基于高速缓冲存储器结构的图像处理方法及系统
CN112948437A (zh) * 2021-03-03 2021-06-11 苏州合数科技有限公司 一种大数据高并发下全域频控系统及方法
CN112948437B (zh) * 2021-03-03 2023-12-19 苏州合数科技有限公司 一种大数据高并发下全域频控系统及方法
WO2023066124A1 (zh) * 2021-10-18 2023-04-27 上海壁仞智能科技有限公司 缓存管理方法、缓存管理装置、处理器
CN115794675A (zh) * 2023-01-19 2023-03-14 北京象帝先计算技术有限公司 写数据方法、装置、图形处理系统、电子组件及电子设备
CN117453423A (zh) * 2023-12-25 2024-01-26 北京趋动智能科技有限公司 Gpu显存管理方法和系统,存储介质和电子设备
CN117453423B (zh) * 2023-12-25 2024-04-19 北京趋动智能科技有限公司 Gpu显存管理方法和系统,存储介质和电子设备

Also Published As

Publication number Publication date
WO2019127104A1 (zh) 2019-07-04
CN111602377B (zh) 2021-12-24

Similar Documents

Publication Publication Date Title
CN111602377B (zh) 高速缓存中资源调整方法、数据访问方法及装置
EP3414665B1 (en) Profiling cache replacement
US10884940B2 (en) Method and apparatus for using compression to improve performance of low voltage caches
US10169232B2 (en) Associative and atomic write-back caching system and method for storage subsystem
US7711902B2 (en) Area effective cache with pseudo associative memory
CN110730956B (zh) 用于降低存储器系统中的页面迁移开销的机制
EP1654660B1 (en) A method of data caching
US8412907B1 (en) System, method and computer program product for application-level cache-mapping awareness and reallocation
CN113853593A (zh) 支持清空写入未命中条目的受害者高速缓存
US7552286B2 (en) Performance of a cache by detecting cache lines that have been reused
US10007614B2 (en) Method and apparatus for determining metric for selective caching
KR100978156B1 (ko) 스누프 필터에서의 실효를 감소시키기 위한 라인 스와핑 스킴을 위한 방법, 장치, 시스템 및 컴퓨터 판독 가능 기록 매체
CN1940892A (zh) 逐出高速缓存的行的电路布置、数据处理系统和方法
KR101509628B1 (ko) 프로세서의 하이 어소시에이티브 캐시 메모리를 위한 scr 매커니즘
US7197605B2 (en) Allocating cache lines
US7721047B2 (en) System, method and computer program product for application-level cache-mapping awareness and reallocation requests
CN115357196A (zh) 动态可扩展的组相联高速缓存方法、装置、设备及介质
CN113138851A (zh) 一种缓存管理方法及装置
KR101976320B1 (ko) 라스트 레벨 캐시 메모리 및 이의 데이터 관리 방법
WO2010098152A1 (ja) キャッシュメモリシステムおよびキャッシュメモリ制御方法
KR20230148736A (ko) 연산 스토리지 장치가 있는 교차 계층 키-밸류 스토어 아키텍처를 위한 시스템 및 방법
CN116910019A (zh) 用于具有计算存储设备的跨层键-值存储库的系统和方法
CN116069719A (zh) 处理器、内存控制器、片上系统芯片和数据预取方法

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