WO1993018458A1 - Dispositif d'antememoire - Google Patents

Dispositif d'antememoire Download PDF

Info

Publication number
WO1993018458A1
WO1993018458A1 PCT/FR1993/000212 FR9300212W WO9318458A1 WO 1993018458 A1 WO1993018458 A1 WO 1993018458A1 FR 9300212 W FR9300212 W FR 9300212W WO 9318458 A1 WO9318458 A1 WO 9318458A1
Authority
WO
WIPO (PCT)
Prior art keywords
bank
banks
data
bci
cache memory
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.)
Ceased
Application number
PCT/FR1993/000212
Other languages
English (en)
French (fr)
Inventor
André SEZNEC
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.)
Institut national de recherche en sciences et technologies du numérique
Original Assignee
Institut national de recherche en sciences et technologies du numérique
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 Institut national de recherche en sciences et technologies du numérique filed Critical Institut national de recherche en sciences et technologies du numérique
Priority to EP93905448A priority Critical patent/EP0630498B1/fr
Priority to US08/302,695 priority patent/US6272592B1/en
Priority to DE69303815T priority patent/DE69303815T2/de
Priority to JP5515384A priority patent/JPH08504042A/ja
Publication of WO1993018458A1 publication Critical patent/WO1993018458A1/fr
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; 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/126—Replacement control using replacement algorithms with special data handling, e.g. priority of data or instructions, handling errors or pinning
    • G06F12/127—Replacement control using replacement algorithms with special data handling, e.g. priority of data or instructions, handling errors or pinning using additional replacement algorithms
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; 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/0864—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches using pseudo-associative means, e.g. set-associative or hashing
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; 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

Definitions

  • the invention relates to the technical field of cache, or cache memory.
  • main memory is often of the order of several tens of processor cycles, or even hundreds of processor cycles.
  • a known solution for masking the latency of access to information in main memory consists in using cache memories.
  • a cache memory is a quick access memory and of generally reduced size in which is stored a part of all the information stored in the main memory.
  • the cache responds to said request either by connecting the main address contained in this request and a line of data in the cache when the desired data is present and valid in the cache, or by signaling its absence in the opposite case. In the latter case, the processor addresses the main memory to access the desired data. The data line in main memory containing the desired data can then be loaded into the cache memory.
  • the object of the invention is precisely to improve the average success rate when accessing data in the cache memories.
  • a cache device using multi-bank organization is provided.
  • the cache device comprises: - at least one input / output to receive a request comprising a main address, and possibly data; - at least one input / output to an addressable main memory or to another addressable cache memory;
  • a plurality of memory banks each having a number L of lines capable of containing data, these lines being individually designable by a local address, in each bank;
  • At least two predetermined laws are substantially distinct according to the banks considered and the two banks considered are addressed separately, which improves the average success rate when accessing the data in the cache memory.
  • FIG. 1 is a schematic view of a known computer system
  • FIG. 2 is a schematic view of a cache memory agenate according to a known organization called “fully associative"
  • - Figure 3 is a schematic view of a cache memory arranged according to a known organization called "direct mapped";
  • FIG. 4 is a schematic view of a multi-bank cache arranged according to a known organization called "associative by set";
  • FIG. 5 is a schematic view of a multi-bank cache arranged according to an associative organization by assembly modified according to the invention.
  • FIG. 6 is a schematic view of a law for connecting the main address contained in a request to a local address in a bench according to the invention.
  • the reference SI designates a computer system using an AM cache memory.
  • the cache memory AM comprises L individualized lines in LO to LL each containing M words of B bits.
  • the AM cache includes 64 lines of 8 words of 16 bits.
  • the product L ⁇ B ⁇ M defines the size in bits of the cache memory.
  • Data D as well as possibly indicators T (tag) are stored in the lines of the cache memory.
  • the indicators T are used for example to determine the main address AP in main memory of the data stored in the line of the cache memory, and to indicate the validity of said data. It should be noted that it is the main address which is stored in the indicator and which makes it possible to make the connection between the data in the cache memory and its address in main memory.
  • a processor PRO When a processor PRO wishes to access data stored in main memory MP, it first of all makes a request REQ comprising the main address AP of said said desired data in main memory MP, and possibly data.
  • the request REQ is then received by means forming input / output ESRQ connected to means CAL suitable for responding to the request by connecting by predetermined laws for the cache memory, the main address AP that this request contains and local addresses AL from the AM cache.
  • Loading means CHA load the cache memory according to the requests received.
  • the processor accesses said desired data.
  • the processor addresses the main memory via the ESMP input / output means to access the desired data in main memory.
  • the data line in main memory containing the desired data can then be loaded into the cache memory according to the predetermined laws.
  • the organization of the cache memory differs according to its degree of associativity.
  • FIG 2 there is shown a cache memory arranged according to a so-called fully associative organization.
  • the loading means CHA load the data lines from the main memory into any line of the cache memory and this regardless of the main address of the data line in main memory.
  • Such an organization requires very large access mechanisms to the cache memory and a prohibitive access time when the number of cache lines is large because it is necessary to read the indicator for the presence of data T of all the lines of the cache memory and to compare the main address AP with the local address AL of the data line of the cache memory, this main address as well as the line validity information being stored in an indicator associated with the data line.
  • FIG 3 there is shown a cache arranged according to the organization called direct mapped.
  • the loading means CHA load or "map" the data lines in main memory into lines of the cache memory whose local address AL is directly deduced from the main address AP, most often in taking the least significant significant bits.
  • the so-called "direct mapped" organization is relatively simple. Indeed, from a cache data line, a single word and its associated presence indicator T are first read. Then, the local address AL of the line indicator thus read is compared with the main address AP to be loaded. In the case of an affirmative comparison, the line of data in main memory is loaded into the line of the cache memory thus referenced.
  • FIG. 4 shows a possible representation of a cache memory arranged according to the multi-bank organization called associative by set.
  • the cache memory AM is subdivided into X banks BCi with i less than X and greater than 0 each having a number Li of lines capable of containing data D.
  • the number of lines Li is the same in all the banks. Alternatively, it could be different depending on the benches considered.
  • the BCi benches are very quick to access. They are made for example in static RAM technology with an access time of the order of 6 to 12 10 -9 seconds.
  • LI lines can be individually designated by a local ALI address.
  • the cache memory is subdivided into two banks individualized in BCI and BC2 each having 8 lines individualized in L10 to L17 for BCI and L20 to L27 for BC2.
  • the means CL respond to a request REQ containing a main address and possibly data by connecting, by a predetermined law f, the main address AP contained in this request and the same local address AL in each of the banks BCi, the line thus designated in the bank BCi being the only line of said bank BCi capable of containing the data referenced by the main address AP.
  • a data line in main memory can be carded in any of the lines of the set consisting of the local address lines AL in the banks BCi.
  • the local address AL is determined by the main address AP, most often the local address is directly deduced from the least significant bits of the main address AP.
  • SHEET OF R is carried out jointly according to the same predetermined law f.
  • the data lines in main memory are loaded into one or the other of the banks and this at the same local address in each bank.
  • the average success rate when accessing the data in the cache memory can sometimes be relatively low.
  • the Applicant has posed the problem of providing a solution to this problem.
  • the solution to this problem in accordance with the invention consists in introducing into a multi-bank organization of the cache memory the use of distinct local addressing functions for the memory banks and therefore a separate addressing of the banks.
  • FIG. 5 schematically represents a cache memory arranged according to a scrambled associative organization according to the invention.
  • the calculation means CAL1 responds to a request by connecting, by a predetermined law FI, the main address AP that the request contains to a local address ALI in the BCI bank, the line thus designated in the bank BCI being the only line of said BCI bank capable of containing the data referenced by the main address AP.
  • the calculation means CAL2 responds to a request by connecting by a predetermined law F2, the main address AP that this request contains to a local address AL2 in the bank BC2, the line thus designated in the bank BC2 being the only line of said bank BC2 capable of containing the data referenced by the main address AP.
  • the Applicant has found that by replacing the joint addressing of the banks described with reference to FIG. 4 by a separate addressing and by making the two laws distinct according to the two banks considered, the success rate during the access to data in the cache is improved.
  • the data lines in main memory are now loaded in one or the other of the banks and this at local addresses which may be different from one bank to another.
  • a law fi connecting the main address of a data line to the local address in the bank BCi is said to be equitable, if for each line of the bank BCi, the number of data lines D can be mapped in said line is unique and equal to that of all the lines of the BCi bank.
  • the Applicant has found that the laws fi must be dispersive with respect to each other.
  • a law Fi is called the law of dispersion with respect to the law Fj, if the law Fj, restricted to all the lines that can be charted in a predetermined line of the bank BCi, is equitable.
  • each bit of fi is obtained by the EXCLUSIVE OR of at most 4 bits of the binary decomposition of the main address AP.
  • FIG. 6 A mechanism for implementing this law in accordance with the invention is shown in FIG. 6.
  • Each gate P has 3 or 4 inputs each receiving one of the bits of the chains x, y or z and an output delivering a bit t.
  • an input of the gate P1 and an input of the gate P2 receive for example the bit x6.
  • FIG. 6 The layout of the inputs of the XOR doors shown in FIG. 6 is an exemplary embodiment of the invention. Of course, other locations in accordance with the invention make it possible to verify the properties of the laws mentioned above.
  • the behavior of a two-bank cache arranged according to the invention has a success rate much higher than that of an associative cache per set of two banks, and at little almost comparable to that of an associative cache by set with four benches.
  • the behavior of a four-bank cache arranged according to the invention has a higher success rate than that of an associative cache per set of four banks, and roughly comparable to that of an associative cache per set of eight banks .

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)
PCT/FR1993/000212 1992-03-13 1993-03-02 Dispositif d'antememoire Ceased WO1993018458A1 (fr)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP93905448A EP0630498B1 (fr) 1992-03-13 1993-03-02 Dispositif d'antememoire
US08/302,695 US6272592B1 (en) 1992-03-13 1993-03-02 Cache memory device
DE69303815T DE69303815T2 (de) 1992-03-13 1993-03-02 Cache-speichereinrichtung
JP5515384A JPH08504042A (ja) 1992-03-13 1993-03-02 キャッシュメモリ装置

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
FR92/03054 1992-03-13
FR9203054A FR2688612A1 (fr) 1992-03-13 1992-03-13 Dispositif d'antememoire.

Publications (1)

Publication Number Publication Date
WO1993018458A1 true WO1993018458A1 (fr) 1993-09-16

Family

ID=9427676

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/FR1993/000212 Ceased WO1993018458A1 (fr) 1992-03-13 1993-03-02 Dispositif d'antememoire

Country Status (6)

Country Link
US (1) US6272592B1 (enExample)
EP (1) EP0630498B1 (enExample)
JP (1) JPH08504042A (enExample)
DE (1) DE69303815T2 (enExample)
FR (1) FR2688612A1 (enExample)
WO (1) WO1993018458A1 (enExample)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3065518B2 (ja) 1994-12-09 2000-07-17 インターナショナル・ビジネス・マシーンズ・コーポレ−ション 複数のハッシュ関数を用いるキャッシュ・メモリ管理方法及びシステム

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10372358B2 (en) * 2015-11-16 2019-08-06 International Business Machines Corporation Access processor

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0080062A2 (en) * 1981-11-23 1983-06-01 International Business Machines Corporation Page controlled cache directory addressing
EP0334479A2 (en) * 1988-03-24 1989-09-27 Nortel Networks Corporation Pseudo set-associative memory cacheing arrangement

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4315312A (en) * 1979-12-19 1982-02-09 Ncr Corporation Cache memory having a variable data block size
US4430712A (en) * 1981-11-27 1984-02-07 Storage Technology Corporation Adaptive domain partitioning of cache memory space
US4894770A (en) * 1987-06-01 1990-01-16 Massachusetts Institute Of Technology Set associative memory
US5133061A (en) * 1987-10-29 1992-07-21 International Business Machines Corporation Mechanism for improving the randomization of cache accesses utilizing abit-matrix multiplication permutation of cache addresses
US5287482A (en) * 1989-01-13 1994-02-15 International Business Machines Corporation Input/output cache
US5434990A (en) * 1990-08-06 1995-07-18 Ncr Corporation Method for serially or concurrently addressing n individually addressable memories each having an address latch and data latch
TW219986B (enExample) * 1991-06-17 1994-02-01 Digital Equipment Corp
US5353424A (en) * 1991-11-19 1994-10-04 Digital Equipment Corporation Fast tag compare and bank select in set associative cache
US5367653A (en) * 1991-12-26 1994-11-22 International Business Machines Corporation Reconfigurable multi-way associative cache memory

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0080062A2 (en) * 1981-11-23 1983-06-01 International Business Machines Corporation Page controlled cache directory addressing
EP0334479A2 (en) * 1988-03-24 1989-09-27 Nortel Networks Corporation Pseudo set-associative memory cacheing arrangement

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
IEEE TRANSACTIONS ON COMPUTERS vol. 38, no. 12, Décembre 1989, NEW YORK US pages 1612 - 1630 M. D. HILL ET AL. 'Evaluating associativity in CPU caches' *
PROCEEDINGS OF THE IEEE 1990 CUSTOM INTEGRATED CIRCUITS CONFERENCE, 13 - 16 Mai 1990, Boston, US, pages 2421 - 2424, IEEE, New York, US; E.REESE et al.: 'A sub-10ns cache SRAM, for high performance 32 bit microprocessors' *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3065518B2 (ja) 1994-12-09 2000-07-17 インターナショナル・ビジネス・マシーンズ・コーポレ−ション 複数のハッシュ関数を用いるキャッシュ・メモリ管理方法及びシステム

Also Published As

Publication number Publication date
FR2688612A1 (fr) 1993-09-17
DE69303815T2 (de) 1997-03-13
EP0630498A1 (fr) 1994-12-28
JPH08504042A (ja) 1996-04-30
US6272592B1 (en) 2001-08-07
DE69303815D1 (de) 1996-08-29
FR2688612B1 (enExample) 1997-02-14
EP0630498B1 (fr) 1996-07-24

Similar Documents

Publication Publication Date Title
US6772144B2 (en) Method and apparatus for applying an adaptive layout process to a layout template
US12248696B2 (en) Techniques to repurpose static random access memory rows to store a look-up-table for processor-in-memory operations
FR2860894A1 (fr) Procede pour utiliser des indicateurs de fonction afin de determiner la compatibilite entre des revisions du bios et du materiel installe pendant une mise a jour de la memoire flash
FR2680891A1 (fr) Interruptions transparentes pour le systeme avec adressage de la memoire etendue integree.
JP2863795B2 (ja) メモリ拡張ロジックを有する同期sram
FR2968808A1 (fr) Circuit électronique a architecture neuromorphique
EP0547974B1 (fr) Procédé de classification des architectures d'ordinateur
WO2005020088A3 (en) Decoupled store address and data in a multiprocessor system
TWI907746B (zh) 用於訓練神經網路的系統以及方法
FR2480459A1 (fr) Systeme de traitement de donnees a un dispositif d'appariement d'adresses de memoire de controle
FR2690541A1 (fr) Procédé d'élaboration automatique d'une représentation implicite des impliquants premiers d'une fonction.
EP0630498B1 (fr) Dispositif d'antememoire
FR2835937A1 (fr) Identification d'entrees perimees dans un cache informatique
JPH09120687A (ja) データ処理システムのための内容アドレス可能メモリ
WO2011161386A1 (fr) Dispositif, chaine et procede de traitement de donnees, et programme d'ordinateur correspondant
EP0317413B1 (fr) Dispositif de traitement de données relatives à des éléments d'image
EP0780775B1 (fr) Architecture d'un système de tableaux de processeurs à structures parallèles multiples
FR2613094A1 (fr) Remappage de memoire dans un systeme de micro-ordinateur
CN118486343A (zh) 存储元数据的存储器及存储器的操作方法
FR2621714A1 (fr) Circuit pour la commande interactive d'un ensemble d'elements de commande
US20030061436A1 (en) Transportation of main memory and intermediate memory contents
EP2499570A1 (fr) Procede et dispositif d'optimisation d'execution d'applications logicielles dans une architecture multiprocesseur comprenant plusieurs controleurs d'entree/sortie et unites de calcul secondaires
EP0333537A1 (fr) Dispositif de traitement numérique de signaux
CN112596881A (zh) 存储部件及人工智能处理器
US5764526A (en) Dynamic propagation delay calculation using an array of storage cells

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): JP US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): DE GB NL

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
WWE Wipo information: entry into national phase

Ref document number: 1993905448

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 08302695

Country of ref document: US

WWP Wipo information: published in national office

Ref document number: 1993905448

Country of ref document: EP

WWG Wipo information: grant in national office

Ref document number: 1993905448

Country of ref document: EP