Interleaved memory

In computing, interleaved memory is a design which compensates for the relatively slow speed of dynamic random-access memory (DRAM) or core memory, by spreading memory addresses evenly across memory banks. That way, contiguous memory reads and writes use each memory bank in turn, resulting in higher memory throughput due to reduced waiting for memory banks to become ready for the operations.

It is different from multi-channel memory architectures, primarily as interleaved memory does not add more channels between the main memory and the memory controller. However, channel interleaving is also possible, for example in freescale i.MX6 processors, which allow interleaving to be done between two channels.[citation needed]

Overview

With interleaved memory, memory addresses are allocated to each memory bank in turn. For example, in an interleaved system with two memory banks (assuming word-addressable memory), if logical address 32 belongs to bank 0, then logical address 33 would belong to bank 1, logical address 34 would belong to bank 0, and so on. An interleaved memory is said to be n-way interleaved when there are n banks and memory location i resides in bank i mod n.

Memory interleaving example with 4 banks. Red banks are refreshing and can't be used.

Interleaved memory results in contiguous reads (which are common both in multimedia and execution of programs) and contiguous writes (which are used frequently when filling storage or communication buffers) actually using each memory bank in turn, instead of using the same one repeatedly. This results in significantly higher memory throughput as each bank has a minimum waiting time between reads and writes.

Interleaved DRAM

Main memory (random-access memory, RAM) is usually composed of a collection of DRAM memory chips, where a number of chips can be grouped together to form a memory bank. It is then possible, with a memory controller that supports interleaving, to lay out these memory banks so that the memory banks will be interleaved.

Data in DRAM is stored in units of pages. Each DRAM bank has a row buffer that serves as a cache for accessing any page in the bank. Before a page in the DRAM bank is read, it is first loaded into the row-buffer. If the page is immediately read from the row-buffer (or a row-buffer hit), it has the shortest memory access latency in one memory cycle. If it is a row buffer miss, which is also called a row-buffer conflict, it is slower because the new page has to be loaded into the row-buffer before it is read. Row-buffer misses happen as access requests on different memory pages in the same bank are serviced. A row-buffer conflict incurs a substantial delay for a memory access. In contrast, memory accesses to different banks can proceed in parallel with a high throughput.

The issue of row-buffer conflicts has been well studied with an effective solution.[1] The size of a row-buffer is normally the size of a memory page managed by the operating system. Row-buffer conflicts or misses come from a sequence of accesses to difference pages in the same memory bank. The study[1] shows that a conventional memory interleaving method would propagate address-mapping conflicts at a cache level to the memory address space, causing row-buffer misses in a memory bank. The permutation-based interleaved memory method solved the problem with a trivial microarchitecture cost.[1] Sun Microsystems adopted this the permutation interleaving method quickly in their products.[2] This patent-free method can be found in many commercial microprocessors, such as AMD, Intel and NVIDIA, for embedded systems, laptops, desktops, and enterprise servers.[3]

In traditional (flat) layouts, memory banks can be allocated a contiguous block of memory addresses, which is very simple for the memory controller and gives equal performance in completely random access scenarios, when compared to performance levels achieved through interleaving. However, in reality memory reads are rarely random due to locality of reference, and optimizing for close together access gives far better performance in interleaved layouts.

The way memory is addressed has no effect on the access time for memory locations which are already cached, having an impact only on memory locations which need to be retrieved from DRAM.

History

Early research into interleaved memory was performed at IBM in the 60s and 70s in relation to the IBM 7030 Stretch computer,[4] but development went on for decades improving design, flexibility and performance to produce modern implementations.

See also

References

  1. ^ a b c Zhao Zhang, Zhichun Zhu, and Xiaodong Zhang (2000). A Permutation-based Page Interleaving Scheme to Reduce Row-buffer Conflicts and Exploit Data Locality. MICRO' 33.{{cite conference}}: CS1 maint: multiple names: authors list (link)
  2. ^ "Sun letter to the Director of the Technology Transfer Office of the College of William and Mary" (PDF). July 15, 2005.
  3. ^ "Professor Xiaodong Zhang Receives 2020 ACM Microarchitecture Test of Time Award". Department of Computer Science and Engineering, College of Engineering, Ohio State University. January 19, 2021.
  4. ^ Mark Smotherman (July 2010). "IBM Stretch (7030) — Aggressive Uniprocessor Parallelism". clemson.edu. Retrieved 2013-12-07.

Read other articles:

Untuk lagu kebangsaan Italia, lihat Il Canto degli Italiani. FdI beralih ke halaman ini. Untuk kegunaan lain, lihat FDI. Fratelli d'Italia SingkatanFdIPresidenGiorgia MeloniKoordinatorGiovanni Donzelli [it]PendiriGiorgia MeloniIgnazio La RussaGuido CrosettoDibentuk21 Desember 2012; 11 tahun lalu (2012-12-21)Dipisah dariIl Popolo della LibertàKantor pusatVia della Scrofa 39, RomaSurat kabarLa Voce del PatriotaSayap pelajarAksi MahasiswaAksi UniversitasSayap pemudaPemuda...

 

Советский (русский) условный (знак) танковая армия, применяемый в документах, Буквы должны быть заглавными — ТА. Танковая колонна из танков Т-34-85, зима 1943 — 1944 годов. Танковая армия (ТА)[1][2] — оперативное формирование (объединение, армия) танковых войск (ТВ), ...

 

German prelate of the Catholic Church (born 1952) Heinrich Timmerevers (2016) Heinrich Timmerevers (born 25 August 1952) is a German prelate of the Catholic Church. A bishop since 2001, he has been the 50th Bishop of Dresden-Meissen since 2016. Early life and career Timmerevers was born in Nikolausdorf in Kreis Cloppenburg in Lower Saxony, Germany, on 25 August 1952, the second of six children in a family of farmers in an all-Catholic community. He attended Clemens-August-Gymnasium in Cloppen...

كأس إسكتلندا 1889–90 تفاصيل الموسم كأس إسكتلندا  البلد المملكة المتحدة  عدد المشاركين 158   كأس إسكتلندا 1888–89  كأس إسكتلندا 1890–91  تعديل مصدري - تعديل   كأس اسكتلندا 1889–90 (بالإنجليزية: 1889–90 Scottish Cup)‏ هو موسم من كأس اسكتلندا. كان عدد الأندية المشاركة فيه  158.[1&...

 

Stasiun Furano富良野駅The station building and forecourt in September 2011LokasiFurano, HokkaidoJapanOperator JR HokkaidoJalur ■ Jalur Utama Nemuro ■ Jalur Furano Letak54.6 km from TakikawaLayananBus terminalInformasi lainStatusStaffedKode stasiunT30SejarahDibuka01 Agustus 1900 (1900-08-01)Nama sebelumnyaShimo-Furano (until 1942)PenumpangFY2013696 daily[butuh rujukan] Lokasi pada petaStasiun FuranoLokasi di JepangSunting kotak info • L • BBantuan penggunaan ...

 

† Человек прямоходящий Научная классификация Домен:ЭукариотыЦарство:ЖивотныеПодцарство:ЭуметазоиБез ранга:Двусторонне-симметричныеБез ранга:ВторичноротыеТип:ХордовыеПодтип:ПозвоночныеИнфратип:ЧелюстноротыеНадкласс:ЧетвероногиеКлада:АмниотыКлада:Синапсиды�...

Questa voce sull'argomento Unione europea è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Segui i suggerimenti del progetto di riferimento. L'Ufficio delle pubblicazioni dell'Unione europea è un organismo interistituzionale dell'Unione europea. Da un punto di vista amministrativo, l'Ufficio è un servizio della Commissione europea. Questo ufficio svolge le mansioni di casa editrice per istituzione e gli altri organismi dell'Unione europea. L'ufficio ...

 

EusebiusArchbishop of Milan18th-century painting of Saint EusebiusAppointed449 ADTerm ended462PredecessorLazarusSuccessorGerontiusPersonal detailsDied8 August 462SainthoodFeast day12 AugustVenerated inCatholic Church Eusebius (Italian: Eusebio) was Archbishop of Milan from 449 to 462. He is honoured as a saint and his feast day is 12 August.[1] Life According to the writings of Ennodius, bishop of Pavia in early 6th-century, Eusebius was Greek. He probably participated, as bishop of M...

 

Intermediate appellate court of Kansas The Kansas Court of Appeals is the intermediate-level statewide appellate court for the U.S. state of Kansas. History The Kansas Legislature created the first Kansas Court of Appeals in 1895, to help the Kansas Supreme Court with an increasingly heavy caseload. The original statute that created the court contained a sunset provision that allowed the court to expire in 1901.[1] The Court of Appeals was reestablished permanently in 1977 as a seven-...

Danish badminton player This biography of a living person needs additional citations for verification. Please help by adding reliable sources. Contentious material about living persons that is unsourced or poorly sourced must be removed immediately from the article and its talk page, especially if potentially libelous.Find sources: Tine Baun – news · newspapers · books · scholar · JSTOR (January 2023) (Learn how and when to remove this message) Badmint...

 

Municipality of WoollahraNew South WalesJumlah penduduk53,332 • Kepadatan4.400/km2 (11.000/sq mi)Luas12 km2 (4,6 sq mi)WalikotaAndrew PetrieIbu kota dewanDouble BayDaerahMetropolitan SydneyDaerah pemilihan negara bagianVaucluse, SydneyDivisi FederalWentworthSitus webMunicipality of Woollahra Wilayah Pemerintah Daerah di Australia di sekitar Municipality of Woollahra: Mosman City of Sydney Municipality of Woollahra Waverley City of Randwick Municipality of Wooll...

 

Disque de débris autour de HD 181327, une étoile de type F[1]. Une étoile jaune-blanc de la séquence principale est une étoile de type spectral FV. F est le type spectral à proprement parler, qui lui donne son nom de jaune-blanc, et V (lire « cinq » en chiffres romains) est sa classe de luminosité, signifiant que c'est une « étoile naine », à comprendre ici dans le sens d'étoile de la séquence principale. Caractéristiques Propriétés typiques des étoiles ...

This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) The topic of this article may not meet Wikipedia's general notability guideline. Please help to demonstrate the notability of the topic by citing reliable secondary sources that are independent of the topic and provide significant coverage of it beyond a mere trivial mention. If notability cannot be shown, the article is likely to be merged,...

 

Super Collider Студийный альбом Megadeth Дата выпуска 4 июня 2013 Дата записи 18 декабря 2012 — 13 марта 2013 Место записи Vic's Garage, Сан-Маркос, Калифорния, США Жанры хэви-метал, хард-рок Длительность 45:14 56:57 (эксклюзивное издание) Продюсеры Джонни Кей, Дэйв Мастейн Страна  США Язык песен а...

 

Sports team that is financed and run by a manufacturer or other organization in a broad sense For the motorsports term, see Factory-backed. Players of PSV posing with the European Cup together with Frits Philips, chairman of the BOD of Philips, after their 1988 European Cup Final victory over Benfica in Stuttgart A works team, sometimes also referred to as factory team and company team, is a sports team that is financed and run by a manufacturer or other business, institution, or organization...

Legislatura 2020-2024Stato Romania ElezioniParlamentari 2020 Inizio21 dicembre 2020 Capo di StatoKlaus Iohannis GoverniCîțu (2020-2021)Ciucă (2021-2023)Ciolacu (2023-in carica) Camera dei deputatiPresidente Ludovic Orban (PNL) (2020-2021) Florin Claudiu Roman (PNL), ad interim (2021) Sorin Grindeanu (PSD), ad interim (2021) Marcel Ciolacu (PSD) (2021-2023) Alfred Simonis (PSD), ad interim (2023 - in carica) Membri329 deputati PSD110 / 329 PNL93 / 329 USR+55 / 329 AUR32 / 329 UDMR...

 

Giuseppe ZinettiZinetti al Pescara a fine anni 1980Nazionalità Italia Altezza183 cm Peso79 kg Calcio RuoloPreparatore dei portieri (ex Portiere) Termine carriera1994 - giocatore CarrieraGiovanili 19??-19?? Rezzato19??-19?? Bologna Squadre di club1 1974-1976 Bologna0 (0)1976-1977→  Imola20 (-?)1977-1983 Bologna124 (-122)1983-1984→  Triestina17 (-15)1984-1987 Bologna101 (-82)1987-1990 Pescara60 (-68)1990-1993 Roma30 (-32)1993-1994 Ascoli2 (...

 

Olympic boxing tournament Light middleweight boxingat the Games of the XXI OlympiadVenueMaurice Richard Arena, MontrealDates22–31 JulyCompetitors23 from 23 nationsMedalists Jerzy Rybicki  Poland Tadija Kačar  Yugoslavia Rolando Garbey  Cuba Viktor Savchenko  Soviet Union← 19721980 → Boxing at the1976 Summer OlympicsLight flyweightmenFlyweightmenBantamweightmenFeatherweightmenLightweightmenLight welterweightmenWelterweightmenLight middlewe...

Questa voce sull'argomento ciclisti australiani è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Kevin NicholsNazionalità Australia Ciclismo su pista Palmarès Competizione Ori Argenti Bronzi Giochi olimpici 1 0 0 Vedi maggiori dettagli  Modifica dati su Wikidata · Manuale Kevin John Nichols (Grafton, 4 luglio 1955) è un ex pistard australiano. Ha vinto una medaglia d'oro olimpica nel ciclismo su pista, alle Olimpiadi 1984 tenutosi a ...

 

Polish racing driver (born 2006) Tymek KucharczykKucharczyk at the Hungaroring in 2024Nationality PolishBorn (2006-02-27) 27 February 2006 (age 18)Łodygowice, PolandFormula Regional European Championship careerDebut season2023Current teamSaintéloc RacingStarts2Wins0Podiums0Poles0Fastest laps0Best finishTBD in 2023Previous series20232022GB3 ChampionshipF4 Spanish Championship Tymoteusz Antoni Tymek Kucharczyk[1] (born 27 February 2006) is a Polish racing driver who currently com...