JP4327669B2 - キャッシュ装置及び方法 - Google Patents
キャッシュ装置及び方法 Download PDFInfo
- Publication number
- JP4327669B2 JP4327669B2 JP2004190856A JP2004190856A JP4327669B2 JP 4327669 B2 JP4327669 B2 JP 4327669B2 JP 2004190856 A JP2004190856 A JP 2004190856A JP 2004190856 A JP2004190856 A JP 2004190856A JP 4327669 B2 JP4327669 B2 JP 4327669B2
- Authority
- JP
- Japan
- Prior art keywords
- tag
- lru
- pointer
- cache
- value
- 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.)
- Expired - Fee Related
Links
Images
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/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/12—Replacement control
- G06F12/121—Replacement control using replacement algorithms
- G06F12/123—Replacement control using replacement algorithms with age lists, e.g. queue, most recently used [MRU] list or least recently used [LRU] list
- G06F12/125—Replacement control using replacement algorithms with age lists, e.g. queue, most recently used [MRU] list or least recently used [LRU] list being generated by decoding an array or storage
-
- 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/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/12—Replacement control
- G06F12/121—Replacement control using replacement algorithms
- G06F12/123—Replacement control using replacement algorithms with age lists, e.g. queue, most recently used [MRU] list or least recently used [LRU] list
-
- 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/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/0802—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F12/0866—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches for peripheral storage systems, e.g. disk cache
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)
Description
2 キャッシュ装置
3 記憶装置
4 CPUとその周辺
5 制御回路
6a インターフェース部
6b キャッシュ処理部
7b キャッシュメモリ
8a インデックス1表
8b、8c、8d インデックス1表のセル
11a タグ表
11b、11c、11d サブタグ表
16 LRU表
19 最終LRU
20a、20b サブLRU表
23 グローバルポインタ
Claims (9)
- キャッシュメモリに記憶しているデータのタグをサーチする手段と、前記サーチの結果、ヒットであればヒットしたタグのアドレスを出力し、ヒットではない場合には事前に用意したLRUであるタグのアドレスを出力する手段と、次回のサーチのため、現時点でのLRUであるタグを決定する手段と、アクセスされたデータのタグに対応させた形で、アクセスされる度に、アクセス順に増加するポインタ値を記憶する手段を含み、前記LRUであるタグは、前記ポインタ値を用いて決定される、キャッシュ装置。
- 請求項1記載のキャッシュ装置において、さらに、全てのポインタ値のうちの最大値が所定の値に達したときに、全てのポインタ値を修正する手段を含む、キャッシュ装置。
- キャッシュメモリに記憶しているデータのタグをサーチする段階と、前記サーチの結果、ヒットであればヒットしたタグのアドレスを出力し、ヒットではない場合には事前に用意したLRUであるタグのアドレスを出力する段階と、次回のサーチのため、現時点でのLRUであるタグを決定する段階と、アクセスされたデータのタグに対応させた形で、アクセスされる度に、アクセス順に増加するポインタ値を記憶する段階と、前記LRUであるタグを、前記ポインタ値を用いて決定する段階を含む、キャッシュ方法。
- 請求項3記載のキャッシュ方法において、さらに、全てのポインタ値のうちの最大値が所定の値に達したときに、全てのポインタ値を修正する段階を含む、キャッシュ方法。
- 請求項4記載のキャッシュ方法において、前記アクセスされたデータに対応して記憶されるポインタ値として、現在の時刻に対応したグローバルポインタ値を有するグローバルポインタが現在有するグローバルポインタ値を与える段階と、前記グローバルポインタが有するグローバルポインタ値に1を加える段階と、前記グローバルポインタ値が所定の値に達したときに、前記グローバルポインタ値と、前記データに対応して記憶された全てのポインタ値から、第2の所定の値だけ減ずるシフト処理を行う段階とを含む、キャッシュ方法。
- 請求項5記載のキャッシュ方法において、前記シフト処理は分散して順次行われる、キャッシュ方法。
- 請求項4乃至6のいずれか1に記載のキャッシュ方法において、前記記憶されたポインタ値は、その大きさに基づいて、ポインタ値が大きいグループであるMRUグループと、小さいグループであるLRUグループと、MRUグループとLRUグループとの間の中間グループとに分類し、前記MRUグループに属するタグがヒットされた場合には、該ヒットされたタグのポインタ値は更新せず、前記中間グループとLRUグループに属するタグがヒットされたときには該ヒットされたタグのポインタ値を更新し、前記MRUグループに属するポインタ値のうちの最小のポインタ値を前記中間グループに移す、キャッシュ方法。
- 請求項4乃至7のいずれか1に記載のキャッシュ方法において、前記ポインタ値が、同サイズのサブLRU表に分割されているLRU表に記憶される段階と、前記各サブLRU表から最小のポインタ値を抽出して、該抽出されたポインタ値により、同サイズの中間サブLRU表に分割されている中間LRU表を作成する段階と、さらに前記各中間サブLRU表から最小のポインタ値を抽出して次の中間LRU表を作成する段階を繰り返し、最終LRUであるタグを抽出する段階を含む、キャッシュ方法。
- 請求項8記載のキャッシュ方法において、データがアクセスされることにより前記LRU表のポインタ値のいずれかが更新されたとき、前記サブLRU表と各中間サブLRU表のうち該更新されたポインタ値に関係する表のみを更新する段階を含む、キャッシュ方法。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004190856A JP4327669B2 (ja) | 2004-06-29 | 2004-06-29 | キャッシュ装置及び方法 |
US11/597,494 US7627719B2 (en) | 2004-06-29 | 2005-02-18 | Cache device and method for determining LRU identifier by pointer values |
PCT/CN2005/000199 WO2006000138A1 (fr) | 2004-06-29 | 2005-02-18 | Tampon et procede associe |
CNB200580017597XA CN100476756C (zh) | 2004-06-29 | 2005-02-18 | 缓存装置及方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004190856A JP4327669B2 (ja) | 2004-06-29 | 2004-06-29 | キャッシュ装置及び方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006012006A JP2006012006A (ja) | 2006-01-12 |
JP4327669B2 true JP4327669B2 (ja) | 2009-09-09 |
Family
ID=35779180
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004190856A Expired - Fee Related JP4327669B2 (ja) | 2004-06-29 | 2004-06-29 | キャッシュ装置及び方法 |
Country Status (4)
Country | Link |
---|---|
US (1) | US7627719B2 (ja) |
JP (1) | JP4327669B2 (ja) |
CN (1) | CN100476756C (ja) |
WO (1) | WO2006000138A1 (ja) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8782143B2 (en) * | 2008-12-17 | 2014-07-15 | Adobe Systems Incorporated | Disk management |
JP4734432B2 (ja) * | 2009-02-18 | 2011-07-27 | 株式会社東芝 | データ記憶システム |
US8700646B2 (en) * | 2009-08-12 | 2014-04-15 | Apple Inc. | Reference file for formatted views |
CN105740352A (zh) * | 2016-01-26 | 2016-07-06 | 华中电网有限公司 | 用于智能电网调度控制系统的历史数据服务系统 |
CN109032969A (zh) * | 2018-06-16 | 2018-12-18 | 温州职业技术学院 | 一种基于k值动态监测的lru-k算法的缓存方法 |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4322795A (en) * | 1980-01-24 | 1982-03-30 | Honeywell Information Systems Inc. | Cache memory utilizing selective clearing and least recently used updating |
JP3199465B2 (ja) * | 1992-07-22 | 2001-08-20 | 株式会社日立製作所 | 情報処理装置 |
US5701426A (en) * | 1995-03-31 | 1997-12-23 | Bull Information Systems Inc. | Data processing system and method using cache miss address prediction and forced LRU status in a cache memory to improve cache hit ratio |
US6138213A (en) * | 1997-06-27 | 2000-10-24 | Advanced Micro Devices, Inc. | Cache including a prefetch way for storing prefetch cache lines and configured to move a prefetched cache line to a non-prefetch way upon access to the prefetched cache line |
US6754776B2 (en) * | 2001-05-17 | 2004-06-22 | Fujitsu Limited | Method and system for logical partitioning of cache memory structures in a partitoned computer system |
JP3989312B2 (ja) * | 2002-07-05 | 2007-10-10 | 富士通株式会社 | キャッシュメモリ装置およびメモリ割付方法 |
CN1499382A (zh) * | 2002-11-05 | 2004-05-26 | 华为技术有限公司 | 廉价冗余磁盘阵列系统中高效高速缓存的实现方法 |
US20050071564A1 (en) * | 2003-09-25 | 2005-03-31 | International Business Machines Corporation | Reduction of cache miss rates using shared private caches |
US7010649B2 (en) * | 2003-10-14 | 2006-03-07 | International Business Machines Corporation | Performance of a cache by including a tag that stores an indication of a previously requested address by the processor not stored in the cache |
-
2004
- 2004-06-29 JP JP2004190856A patent/JP4327669B2/ja not_active Expired - Fee Related
-
2005
- 2005-02-18 US US11/597,494 patent/US7627719B2/en not_active Expired - Fee Related
- 2005-02-18 CN CNB200580017597XA patent/CN100476756C/zh not_active Expired - Fee Related
- 2005-02-18 WO PCT/CN2005/000199 patent/WO2006000138A1/zh active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2006000138A1 (fr) | 2006-01-05 |
JP2006012006A (ja) | 2006-01-12 |
US20070233958A1 (en) | 2007-10-04 |
CN100476756C (zh) | 2009-04-08 |
CN1961296A (zh) | 2007-05-09 |
US7627719B2 (en) | 2009-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5717893A (en) | Method for managing a cache hierarchy having a least recently used (LRU) global cache and a plurality of LRU destaging local caches containing counterpart datatype partitions | |
CN102754086B (zh) | 页面大小可变的虚拟内存系统 | |
US20100211616A1 (en) | Performance by Avoiding Disk I/O for Deduplicated File Blocks | |
JP4920378B2 (ja) | 情報処理装置およびデータ検索方法 | |
US9734059B2 (en) | Methods and apparatus for data cache way prediction based on classification as stack data | |
CN101510176B (zh) | 通用操作系统对cpu二级缓存访问的控制方法 | |
CN105550155B (zh) | 用于多处理器系统的探听过滤器以及相关探听过滤方法 | |
CN1936869A (zh) | 用于翻译地址的方法和系统 | |
CN1734431A (zh) | 用于软件可控动态可锁高速缓冲存储器线替换系统的方法 | |
US6842826B1 (en) | Method and apparatus for providing efficient management of least recently used (LRU) algorithm insertion points corresponding to defined times-in-cache | |
US8086641B1 (en) | Integrated search engine devices that utilize SPM-linked bit maps to reduce handle memory duplication and methods of operating same | |
CN103942161B (zh) | 只读缓存的去冗余系统及方法以及缓存的去冗余方法 | |
CN103914483A (zh) | 文件存储方法、装置及文件读取方法、装置 | |
CN115168248B (zh) | 支持simt架构的高速缓冲存储器及相应处理器 | |
CN104504076A (zh) | 一种高并发和高空间利用率的分布式缓存方法 | |
CN112148217A (zh) | 全闪存储系统的重删元数据的缓存方法、装置及介质 | |
JP4327669B2 (ja) | キャッシュ装置及び方法 | |
KR102321346B1 (ko) | 대용량 ssd 장치를 위한 데이터 저널링 방법 | |
CN106201918A (zh) | 一种基于大数据量和大规模缓存快速释放的方法和系统 | |
US6598124B1 (en) | System and method for identifying streaming-data | |
CN110727610B (zh) | 高速缓存存储器、存储系统和高速缓存存储器的逐出方法 | |
US7953721B1 (en) | Integrated search engine devices that support database key dumping and methods of operating same | |
CN114077378A (zh) | 一种构建索引方法及装置 | |
WO2015129109A1 (ja) | インデックス管理装置 | |
WO2002027498A2 (en) | System and method for identifying and managing streaming-data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20061127 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20070731 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20081125 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090122 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20090512 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090611 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120619 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120619 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150619 Year of fee payment: 6 |
|
LAPS | Cancellation because of no payment of annual fees |