CN1896972A - Method and device for converting virtual address, reading and writing high-speed buffer memory - Google Patents
Method and device for converting virtual address, reading and writing high-speed buffer memory Download PDFInfo
- Publication number
- CN1896972A CN1896972A CNA2005100838630A CN200510083863A CN1896972A CN 1896972 A CN1896972 A CN 1896972A CN A2005100838630 A CNA2005100838630 A CN A2005100838630A CN 200510083863 A CN200510083863 A CN 200510083863A CN 1896972 A CN1896972 A CN 1896972A
- Authority
- CN
- China
- Prior art keywords
- memory
- address
- data
- random access
- virtual address
- 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
- 238000000034 method Methods 0.000 title claims abstract description 20
- 238000013519 translation Methods 0.000 claims abstract description 42
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 230000009466 transformation Effects 0.000 claims description 2
- 230000000593 degrading effect Effects 0.000 abstract 1
- 238000013507 mapping Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000000052 comparative effect Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- OUXCBPLFCPMLQZ-WOPPDYDQSA-N 4-amino-1-[(2r,3s,4s,5r)-4-hydroxy-5-(hydroxymethyl)-3-methyloxolan-2-yl]-5-iodopyrimidin-2-one Chemical compound C[C@H]1[C@H](O)[C@@H](CO)O[C@H]1N1C(=O)N=C(N)C(I)=C1 OUXCBPLFCPMLQZ-WOPPDYDQSA-N 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
Abstract
本发明公开了一种用于处理器中将虚拟地址转换为物理地址及读写高速缓冲存储器的方法及装置。本发明利用局部性原理,一方面将需要变换成物理地址的虚拟地址同虚拟地址历史记录相比较,如果同属一个虚拟页表,则不访问翻译后援缓冲器的随机存储器部分,减少了对翻译后援缓冲器中随机存储器的访问次数;同时如果虚拟地址进一步与虚拟地址历史记录同属于一个高速缓冲存储器行,则不访问高速缓冲存储器的随机存储器部分,而是直接对高速缓冲存储器行缓冲区进行读写操作。这样显著减少对翻译后援缓冲器和高速缓冲存储器中随机存储器的访问次数,从而同时降低了翻译后援缓冲器和高速缓冲存储器的功耗,而又不会降低处理器的性能。
The invention discloses a method and a device for converting a virtual address into a physical address and reading and writing a cache memory in a processor. The present invention utilizes the principle of locality. On the one hand, the virtual address that needs to be transformed into a physical address is compared with the historical record of the virtual address. If they belong to the same virtual page table, the random memory part of the translation backup buffer is not accessed, which reduces the need for translation backup. The number of accesses to random memory in the buffer; at the same time, if the virtual address further belongs to the same cache line as the virtual address history record, the random memory part of the cache is not accessed, but the cache line buffer is directly read write operation. This significantly reduces the number of accesses to random access memory in the translation lookaside buffer and cache memory, thereby reducing power consumption in both the translation lookaside buffer and cache memory without degrading processor performance.
Description
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100838630A CN100377117C (en) | 2005-07-14 | 2005-07-14 | Method and device for converting virtual and real addresses and reading and writing cache memory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100838630A CN100377117C (en) | 2005-07-14 | 2005-07-14 | Method and device for converting virtual and real addresses and reading and writing cache memory |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1896972A true CN1896972A (en) | 2007-01-17 |
CN100377117C CN100377117C (en) | 2008-03-26 |
Family
ID=37609501
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100838630A Active CN100377117C (en) | 2005-07-14 | 2005-07-14 | Method and device for converting virtual and real addresses and reading and writing cache memory |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100377117C (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101246452B (en) * | 2007-02-12 | 2010-12-15 | 国际商业机器公司 | Method and apparatus for fast performing MMU analog, and total system simulator |
CN102054192A (en) * | 2009-10-27 | 2011-05-11 | 中兴通讯股份有限公司 | Information storage method and device of electronic tag |
CN101911025B (en) * | 2008-01-11 | 2012-11-07 | 国际商业机器公司 | Dynamic address translation with fetch protection |
CN102884506A (en) * | 2010-05-11 | 2013-01-16 | 高通股份有限公司 | Configuring surrogate memory accessing agents using instructions for translating and storing data values |
CN105302744A (en) * | 2014-06-26 | 2016-02-03 | Hgst荷兰公司 | Invalidation data area for cache |
CN107195159A (en) * | 2017-07-13 | 2017-09-22 | 蚌埠依爱消防电子有限责任公司 | A kind of method for inspecting of fire protection alarm system and fire protection alarm system |
CN109032963A (en) * | 2017-06-12 | 2018-12-18 | Arm有限公司 | Access control |
CN112416436A (en) * | 2020-12-02 | 2021-02-26 | 海光信息技术股份有限公司 | Information processing method, information processing apparatus, and electronic device |
CN117331854A (en) * | 2023-10-11 | 2024-01-02 | 上海合芯数字科技有限公司 | Cache processing method, device, electronic equipment and medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GR20130100707A (en) | 2013-12-23 | 2015-07-31 | Arm Limited, | Address translation in a data processing apparatus |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002312237A (en) * | 2001-04-11 | 2002-10-25 | Toshiba Corp | Processor |
JP4085328B2 (en) * | 2003-04-11 | 2008-05-14 | ソニー株式会社 | Information processing apparatus and method, recording medium, program, and imaging apparatus |
CN1280735C (en) * | 2003-12-04 | 2006-10-18 | 中国科学院计算技术研究所 | Initiator triggered remote memory access virtual-physical address conversion method |
-
2005
- 2005-07-14 CN CNB2005100838630A patent/CN100377117C/en active Active
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101246452B (en) * | 2007-02-12 | 2010-12-15 | 国际商业机器公司 | Method and apparatus for fast performing MMU analog, and total system simulator |
US8301864B2 (en) | 2007-02-12 | 2012-10-30 | International Business Machines Corporation | Apparatus and method for executing rapid memory management unit emulation and full-system simulator |
CN101911025B (en) * | 2008-01-11 | 2012-11-07 | 国际商业机器公司 | Dynamic address translation with fetch protection |
CN102054192A (en) * | 2009-10-27 | 2011-05-11 | 中兴通讯股份有限公司 | Information storage method and device of electronic tag |
CN102054192B (en) * | 2009-10-27 | 2016-01-20 | 中兴通讯股份有限公司 | A kind of information storage means of electronic tag and device |
CN102884506A (en) * | 2010-05-11 | 2013-01-16 | 高通股份有限公司 | Configuring surrogate memory accessing agents using instructions for translating and storing data values |
US8924685B2 (en) | 2010-05-11 | 2014-12-30 | Qualcomm Incorporated | Configuring surrogate memory accessing agents using non-priviledged processes |
CN102884506B (en) * | 2010-05-11 | 2015-04-15 | 高通股份有限公司 | Configuring surrogate memory accessing agents using instructions for translating and storing data values |
US11372771B2 (en) | 2014-06-26 | 2022-06-28 | Western Digital Technologies, Inc. | Invalidation data area for cache |
CN105302744B (en) * | 2014-06-26 | 2019-01-01 | Hgst荷兰公司 | The invalid data area of Cache |
US10445242B2 (en) | 2014-06-26 | 2019-10-15 | Western Digital Technologies, Inc. | Invalidation data area for cache |
US10810128B2 (en) | 2014-06-26 | 2020-10-20 | Western Digital Technologies, Inc. | Invalidation data area for cache |
CN105302744A (en) * | 2014-06-26 | 2016-02-03 | Hgst荷兰公司 | Invalidation data area for cache |
CN109032963A (en) * | 2017-06-12 | 2018-12-18 | Arm有限公司 | Access control |
CN109032963B (en) * | 2017-06-12 | 2023-09-05 | Arm有限公司 | Access control |
CN107195159A (en) * | 2017-07-13 | 2017-09-22 | 蚌埠依爱消防电子有限责任公司 | A kind of method for inspecting of fire protection alarm system and fire protection alarm system |
CN112416436A (en) * | 2020-12-02 | 2021-02-26 | 海光信息技术股份有限公司 | Information processing method, information processing apparatus, and electronic device |
CN112416436B (en) * | 2020-12-02 | 2023-05-09 | 海光信息技术股份有限公司 | Information processing method, information processing device and electronic equipment |
CN117331854A (en) * | 2023-10-11 | 2024-01-02 | 上海合芯数字科技有限公司 | Cache processing method, device, electronic equipment and medium |
CN117331854B (en) * | 2023-10-11 | 2024-04-30 | 上海合芯数字科技有限公司 | Cache processing method, device, electronic equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN100377117C (en) | 2008-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210406170A1 (en) | Flash-Based Coprocessor | |
CN1158607C (en) | Techniques for improving memory access in virtual memory system | |
US8984254B2 (en) | Techniques for utilizing translation lookaside buffer entry numbers to improve processor performance | |
US20170235681A1 (en) | Memory system and control method of the same | |
US6965970B2 (en) | List based method and apparatus for selective and rapid cache flushes | |
US8185692B2 (en) | Unified cache structure that facilitates accessing translation table entries | |
CN104166634A (en) | Management method of mapping table caches in solid-state disk system | |
US8583874B2 (en) | Method and apparatus for caching prefetched data | |
CN1955948A (en) | Digital data processing device and method for managing cache data | |
CN1369808A (en) | Tranfer translation sideviewing buffer for storing memory type data | |
CN1509436A (en) | Method and system for speculatively invalidating a cache line in a cache | |
CN101510176B (en) | Control method of general-purpose operating system for accessing CPU two stage caching | |
CN1093961C (en) | Enhanced memory performace of processor by elimination of outdated lines in second-level cathe | |
CN1831824A (en) | Cache database data organization method | |
CN107589908A (en) | The merging method that non-alignment updates the data in a kind of caching system based on solid-state disk | |
CN1896972A (en) | Method and device for converting virtual address, reading and writing high-speed buffer memory | |
CN104504076A (en) | Method for implementing distributed caching with high concurrency and high space utilization rate | |
CN1278241C (en) | Memory page management device and method for tracking memory access | |
Carniel et al. | A generic and efficient framework for flash-aware spatial indexing | |
US6990551B2 (en) | System and method for employing a process identifier to minimize aliasing in a linear-addressed cache | |
CN118535089B (en) | A hybrid storage read cache design method based on elastic memory | |
JP2008512758A (en) | Virtual address cache and method for sharing data stored in virtual address cache | |
Tan et al. | APMigration: Improving performance of hybrid memory performance via an adaptive page migration method | |
CN1269043C (en) | Remapping method of memory address | |
KR101102260B1 (en) | Method for sharing data using virtual address cache and unique task identifier |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
EE01 | Entry into force of recordation of patent licensing contract |
Assignee: Beijing Loongson Zhongke Technology Service Center Co., Ltd. Assignor: Institute of Computing Technology, Chinese Academy of Sciences Contract fulfillment period: 2009.12.16 to 2028.12.31 Contract record no.: 2010990000062 Denomination of invention: Method and device for converting virtual address, reading and writing high-speed buffer memory Granted publication date: 20080326 License type: exclusive license Record date: 20100128 |
|
LIC | Patent licence contract for exploitation submitted for record |
Free format text: EXCLUSIVE LICENSE; TIME LIMIT OF IMPLEMENTING CONTACT: 2009.12.16 TO 2028.12.31; CHANGE OF CONTRACT Name of requester: BEIJING LOONGSON TECHNOLOGY SERVICE CENTER CO., LT Effective date: 20100128 |
|
EC01 | Cancellation of recordation of patent licensing contract |
Assignee: Longxin Zhongke Technology Co., Ltd. Assignor: Institute of Computing Technology, Chinese Academy of Sciences Contract record no.: 2010990000062 Date of cancellation: 20141231 |
|
EM01 | Change of recordation of patent licensing contract |
Change date: 20141231 Contract record no.: 2010990000062 Assignee after: Longxin Zhongke Technology Co., Ltd. Assignee before: Beijing Loongson Zhongke Technology Service Center Co., Ltd. |
|
LICC | Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20070117 Assignee: Longxin Zhongke Technology Co., Ltd. Assignor: Institute of Computing Technology, Chinese Academy of Sciences Contract record no.: 2015990000066 Denomination of invention: Method and device for converting virtual address, reading and writing high-speed buffer memory Granted publication date: 20080326 License type: Common License Record date: 20150211 |
|
TR01 | Transfer of patent right |
Effective date of registration: 20200820 Address after: 100095, Beijing, Zhongguancun Haidian District environmental science and technology demonstration park, Liuzhou Industrial Park, No. 2 building Patentee after: LOONGSON TECHNOLOGY Corp.,Ltd. Address before: 100080 Haidian District, Zhongguancun Academy of Sciences, South Road, No. 6, No. Patentee before: Institute of Computing Technology, Chinese Academy of Sciences |
|
TR01 | Transfer of patent right | ||
EC01 | Cancellation of recordation of patent licensing contract |
Assignee: LOONGSON TECHNOLOGY Corp.,Ltd. Assignor: Institute of Computing Technology, Chinese Academy of Sciences Contract record no.: 2015990000066 Date of cancellation: 20200928 |
|
EC01 | Cancellation of recordation of patent licensing contract | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 100095 Building 2, Longxin Industrial Park, Zhongguancun environmental protection technology demonstration park, Haidian District, Beijing Patentee after: Loongson Zhongke Technology Co.,Ltd. Address before: 100095 Building 2, Longxin Industrial Park, Zhongguancun environmental protection technology demonstration park, Haidian District, Beijing Patentee before: LOONGSON TECHNOLOGY Corp.,Ltd. |