CN104246723A - 片内共享缓存的管理方法及装置 - Google Patents
片内共享缓存的管理方法及装置 Download PDFInfo
- Publication number
- CN104246723A CN104246723A CN201280072414.4A CN201280072414A CN104246723A CN 104246723 A CN104246723 A CN 104246723A CN 201280072414 A CN201280072414 A CN 201280072414A CN 104246723 A CN104246723 A CN 104246723A
- Authority
- CN
- China
- Prior art keywords
- user
- memory cell
- memory
- storage
- resource
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/0284—Multiple user address space allocation, e.g. using different base addresses
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/10—Providing a specific technical effect
- G06F2212/1041—Resource optimization
- G06F2212/1044—Space efficiency improvement
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/17—Embedded application
- G06F2212/174—Telecommunications system
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)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Memory System (AREA)
Abstract
Description
Claims (10)
- 权利要求书1、 一种片内共享緩存的管理方法, 其中, 将共享的存储空间划分为由 多个存储单元组成的存储资源池; 设置记录所述存储资源池中空闲的存储 单元的存储表; 以及, 设置每个用户占用存储单元情况的资源占用表; 所 述方法包括:分配存储资源时, 从所述存储表中为所述用户选取所需的存储单元, 并将所选取的存储单元记录于所述资源占用表中所述用户的对应项下; 所述用户使用完所分配的存储单元后, 从所述资源占用表中该用户的 对应项下读取所述用户占用的存储单元, 并记录到所述存储表中。
- 2、 根据权利要求 1所述的方法, 其中, 所述方法还包括: 为所述存储 资源池中的各存储单元设置标识;所述存储表中记录空闲的存储单元的标识信息;所述资源占用表中记录所述用户占用存储单元的标识信息。
- 3、 根据权利要求 2所述的方法, 其中, 所述设置每个用户占用存储单 元情况的资源占用表, 为:为每个用户设置该用户最多能占用的存储单元数量个存储项, 每个存 储项记录一个该用户所占用的存储单元的标识信息。
- 4、 根据权利要求 1至 3任一项所述的方法, 其中, 所述存储资源池中 各存储单元的大小相同, 且所述存储单元的大小与用户的最小存储需求相 匹配。
- 5、 根据权利要求 4所述的方法, 其中, 所述存储单元的大小与用户的 最小存储需求相匹配, 为:所述存储单元的大小与用户的最小存储需求相同; 或者, 所述存储单 元的大小大于用户的最小存储需求。
- 6、 一种片内共享緩存的管理装置, 其中, 所述装置包括设置单元、 分 配单元、 回收单元和记录单元, 其中:设置单元, 用于将共享的存储空间划分为由多个存储单元组成的存储 资源池; 设置记录所述存储资源池中空闲的存储单元的存储表; 以及, 设 置每个用户占用存储单元情况的资源占用表;分配单元, 用于在为用户分配存储资源时, 从所述存储表中为所述用 户选取所需的存储单元;回收单元, 用于在所述用户使用完所分配的存储单元后, 从所述资源 占用表中该用户的对应项下读取所述用户占用的存储单元;记录单元, 用于所述分配单元将所选取的存储单元记录于所述资源占 用表中所述用户的对应项下; 以及, 将所述回收单元选取的存储单元记录 到所述存储表中。
- 7、 根据权利要求 6所述的装置, 其中, 所述设置单元还用于, 为所述 存储资源池中的各存储单元设置标识;所述记录单元还用于, 在所述存储表中记录空闲的存储单元的标识信 息; 在所述资源占用表中记录所述用户占用存储单元的标识信息。
- 8、 根据权利要求 7所述的装置, 其中, 所述设置单元设置资源占用表 为, 为每个用户设置该用户最多能占用的存储单元数量个存储项, 每个存 储项记录一个该用户所占用的存储单元的标识信息。
- 9、 根据权利要求 6至 8任一项所述的装置, 其中, 所述存储资源池中 各存储单元的大小相同, 且所述存储单元的大小与用户的最小存储需求相 匹配。
- 10、 根据权利要求 9所述的装置, 其中, 所述存储单元的大小与用户 的最小存储需求相匹配, 为:所述存储单元的大小与用户的最小存储需求相同; 或者, 所述存储单 元的大小大于用户的最小存储需求。
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2012/074226 WO2013155673A1 (zh) | 2012-04-17 | 2012-04-17 | 片内共享缓存的管理方法及装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104246723A true CN104246723A (zh) | 2014-12-24 |
CN104246723B CN104246723B (zh) | 2018-08-10 |
Family
ID=49382797
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201280072414.4A Expired - Fee Related CN104246723B (zh) | 2012-04-17 | 2012-04-17 | 片内共享缓存的管理方法及装置 |
Country Status (4)
Country | Link |
---|---|
EP (1) | EP2840502A4 (zh) |
CN (1) | CN104246723B (zh) |
IN (1) | IN2014DN09685A (zh) |
WO (1) | WO2013155673A1 (zh) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016097805A1 (en) | 2014-12-14 | 2016-06-23 | Via Alliance Semicoductor Co., Ltd. | Cache memory budgeted by ways on memory access type |
EP3230874B1 (en) | 2014-12-14 | 2021-04-28 | VIA Alliance Semiconductor Co., Ltd. | Fully associative cache memory budgeted by memory access type |
US9898411B2 (en) | 2014-12-14 | 2018-02-20 | Via Alliance Semiconductor Co., Ltd. | Cache memory budgeted by chunks based on memory access type |
EP3055775B1 (en) | 2014-12-14 | 2019-08-21 | VIA Alliance Semiconductor Co., Ltd. | Cache replacement policy that considers memory access type |
US9811468B2 (en) | 2014-12-14 | 2017-11-07 | Via Alliance Semiconductor Co., Ltd. | Set associative cache memory with heterogeneous replacement policy |
CN108737476B (zh) * | 2017-04-21 | 2022-07-05 | 杭州海康威视数字技术股份有限公司 | 云存储系统、媒体数据存储方法及系统 |
CN109862591B (zh) * | 2019-02-28 | 2021-04-13 | 电子科技大学 | 一种基于Qos空口切片的带宽借用与缓存共享方法 |
CN112311610B (zh) * | 2020-12-25 | 2021-05-18 | 视联动力信息技术股份有限公司 | 一种非ip体系下实现qos保障的通信方法和装置 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1855881A (zh) * | 2005-04-28 | 2006-11-01 | 华为技术有限公司 | 动态共享存储器存储空间的实现方法 |
US20110246742A1 (en) * | 2010-04-01 | 2011-10-06 | Kogen Clark C | Memory pooling in segmented memory architecture |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1271524C (zh) * | 2003-03-19 | 2006-08-23 | 华为技术有限公司 | 一种静态内存管理方法 |
CN1232908C (zh) * | 2003-09-29 | 2005-12-21 | 港湾网络有限公司 | 路由器流量管理芯片缓存管理的实现方法 |
CN100449504C (zh) * | 2005-01-05 | 2009-01-07 | 华为技术有限公司 | 一种基于bitmap表的缓存管理方法 |
US8838928B2 (en) * | 2008-02-08 | 2014-09-16 | Freescale Semiconductor, Inc. | Memory management and method for allocation using free-list |
US8271760B2 (en) * | 2009-06-04 | 2012-09-18 | Petit Brent J | Spatial locality of file system block allocations for related items |
-
2012
- 2012-04-17 IN IN9685DEN2014 patent/IN2014DN09685A/en unknown
- 2012-04-17 CN CN201280072414.4A patent/CN104246723B/zh not_active Expired - Fee Related
- 2012-04-17 EP EP12874716.9A patent/EP2840502A4/en not_active Withdrawn
- 2012-04-17 WO PCT/CN2012/074226 patent/WO2013155673A1/zh active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1855881A (zh) * | 2005-04-28 | 2006-11-01 | 华为技术有限公司 | 动态共享存储器存储空间的实现方法 |
US20110246742A1 (en) * | 2010-04-01 | 2011-10-06 | Kogen Clark C | Memory pooling in segmented memory architecture |
Also Published As
Publication number | Publication date |
---|---|
IN2014DN09685A (zh) | 2015-07-31 |
CN104246723B (zh) | 2018-08-10 |
EP2840502A4 (en) | 2015-06-03 |
WO2013155673A1 (zh) | 2013-10-24 |
EP2840502A1 (en) | 2015-02-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104246723A (zh) | 片内共享缓存的管理方法及装置 | |
CN104461390B (zh) | 将数据写入叠瓦状磁记录smr硬盘的方法及装置 | |
CN105589812B (zh) | 磁盘碎片整理方法、装置及主机 | |
US7733892B2 (en) | Buffer management method based on a bitmap table | |
CN104317742A (zh) | 一种优化空间管理的自动精简配置方法 | |
CN104731896B (zh) | 一种数据处理方法及系统 | |
CN102217256B (zh) | 队列调度的方法和装置 | |
CN103425435B (zh) | 磁盘存储方法及磁盘存储系统 | |
CN107436725A (zh) | 一种数据写、读方法、装置及分布式对象存储集群 | |
CN107315533A (zh) | 一种数据存储方法及装置 | |
CN105183565A (zh) | 计算机、服务质量控制方法及装置 | |
CN106502806B (zh) | 一种总线协议命令处理装置及相关方法 | |
CN104090847A (zh) | 一种固态存储设备的地址分配方法 | |
CN106708968A (zh) | 分布式数据库系统和分布式数据库系统中的数据处理方法 | |
EP2511826B1 (en) | Level-to-level management method and system of storage resources | |
CN103049390A (zh) | 应用元数据的数据处理方法及存储系统 | |
CN102650931A (zh) | 一种写入数据的方法及系统 | |
CN107506145B (zh) | 一种物理存储调度方法及云主机创建方法 | |
CN103218305B (zh) | 存储空间的分配方法 | |
CN112835695B (zh) | Pod间通信的方法和分布式计算系统 | |
CN104750432B (zh) | 一种数据存储方法及装置 | |
CN107515728A (zh) | 发挥闪存设备内部并发特性的数据管理方法和装置 | |
CN103778120B (zh) | 全局文件标识生成方法、生成装置及相应的分布式文件系统 | |
CN106407191A (zh) | 一种数据处理方法及服务器 | |
CN103677655A (zh) | 一种二维数组数据流在存储器上的读写方法及装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20151111 Address after: Dameisha Yantian District of Shenzhen City, Guangdong province 518085 Building No. 1 Applicant after: SANECHIPS TECHNOLOGY Co.,Ltd. Address before: 518057 Nanshan District science and Technology Industrial Park, Guangdong high tech Industrial Park, ZTE building Applicant before: ZTE Corp. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20141224 Assignee: Xi'an Chris Semiconductor Technology Co.,Ltd. Assignor: SANECHIPS TECHNOLOGY Co.,Ltd. Contract record no.: 2019440020036 Denomination of invention: Management method and apparatus for on-chip shared cache Granted publication date: 20180810 License type: Common License Record date: 20190619 |
|
EE01 | Entry into force of recordation of patent licensing contract | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180810 |
|
CF01 | Termination of patent right due to non-payment of annual fee |