Share to: share facebook share twitter share wa share telegram print page

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:

Tehreek-e-Labbaik Pakistan کالعدم تحریک لبیک پاکستانBerkas:Tehreek-e-Labbaik Pakistan logo.pngSingkatanTLPAmeerSaad Hussain RizviPendiriKhadim Hussain RizviDibentuk1 Agustus 2015Dilarang15 April 2021[1][2]Didahului olehKhadim Hussain RizviKantor pusatLahoreIdeologiIslamismeAnti-Ahmadiyah[3]Posisi politikSayap kanan jauh[4][5][6]AgamaIslam Sunni (khususnya Barelvi)Majelis Sindh3 / 168Majelis Nasional0 / 342 Lambang...

В Википедии есть статьи о других людях с фамилией Уорд. Анита Уордангл. Anita Ward Основная информация Дата рождения 20 декабря 1956(1956-12-20) (66 лет) Место рождения Мемфис, Теннесси Страна  США Профессии певица, музыкант Годы активности 1979 – наст. время Жанры диско, R&a...

MSV Duisburgo Datos generalesNombre Meidericher Sportverein 02 e. V. DuisburgApodo(s) Die Zebras (Las Cebras)Fundación 1 de enero de 2014 (9 años)Entrenador Thomas GerstnerInstalacionesEstadio PCC-StadionCapacidad 3 000 espectadoresUbicación Duisburgo, AlemaniaUniforme Titular Alternativo Última temporadaLiga Bundesliga Femenina(2020-21) 12.º (descendido) Actualidad  Bundesliga Femenina 2020-21Página web oficial[editar datos en Wikidata] El MSV Duisburg Frauen e...

Кононенко Данило Андрійович — перший голова Кримського республіканського Товариства української мови. Кримське республіканське Товариство української мови Зміст 1 Історія 1.1 Початок XX ст. 1.2 Кінець XX ст. — початок XXI ст. 2 Див. також 3 Література 4 Примітки Іст

Reutov Реу́тов Igreja de Nossa Senhora de Kazan em Reutov. Subdivisão Moscou Área 9 km² População (2010) 87 314 habitantes Densidade 9.702 hab/km² Altitude 160 metros Fundação 1573 Website [1] Cidade da Rússia Reutov (em russo: Реу́тов) é uma cidade da Rússia situada no óblast de Moscou. Localiza-se ao sul da cidade de Moscou, e tem uma população de cerca de 87,314 habitantes[1] (2010). Cidades-irmãs Reutov é geminada com as seguintes cidades: Mansfield, Rei...

St. Martinus kan verwijzen naar: Martinus van Tours - een christelijk heilige Wijngaard St. Martinus Fanfare St. Martinus Urmond - een fanfareorkest uit Urmond Koninklijke Sint-Martinusfanfare, Halle - een fanfareorkest uit Halle (Vlaams-Brabant) St. Martinus Achtmaal - een fanfareorkest uit Achtmaal Société St. Martin Fanfare de Stein - een fanfareorkest uit Stein (Limburg) Zie ook Sint-Maarten (doorverwijspagina) Sint-Martinuskerk (doorverwijspagina) Bekijk alle artikelen waarvan de titel...

Sinfonietta kan verwijzen naar: Sinfonietta, een kleine symfonie waarbij afgeweken wordt van de vierdelige vorm of de orkestgrootte Sinfonietta (Janáček), een compositie van Leos Janáček Sinfonietta (Moeran) Sinfonietta voor blaasinstrumenten, een compositie van Willem van Otterloo Sinfonietta (Penderecki), een compositie van Krzysztof Penderecki Sinfonietta nr. 1 (Penderecki) Sinfonietta nr. 2 (Penderecki) Sinfonietta (Phillips), een compositie van Montague Phillips Sinfonietta (Roussel)...

First edition The Philosophy of Chance, with subtitle Literature in the Light of Empiricism (Polish: Filozofia przypadku. Literatura w świetle empirii) is an essay by Polish author Stanisław Lem on the literary theory and the influence of literature on the modern culture. However, as literary critic Henryk Markiewicz noted, the subtitle is somewhat misleading:[1] starting with Lem's take on literary theory, the essay turns into the General Theory of Everything: of the Universe, evol...

Ця стаття не містить посилань на джерела. Ви можете допомогти поліпшити цю статтю, додавши посилання на надійні (авторитетні) джерела. Матеріал без джерел може бути піддано сумніву та вилучено. (жовтень 2015) Науково-популярне видання — видання відомостей теоретичних т

Robert LightbodyNineteenth century printBorn22 January 1802[1]Liverpool, LancashireDied5 July 1874(1874-07-05) (aged 72)LudlowAcademic workMain interestsGeology Robert Lightbody (22 January 1802 – 5 July 1874) was a British amateur geologist and member of the Ludlow Natural History Society. Early life Lightbody was born in Liverpool in 1802.[2] His parents, John Lightbody and Harriet Hughes, were non-conformists and members of the Unitarian Church. In 1829 Lightbody sti...

Twenty-year smoothed plots of averaged ring-width (dashed) and tree-ring density (thick line), averaged across all sites, and shown as standardized anomalies from a common base (1881–1940), and compared with equivalent-area averages of mean April–September temperature anomalies (thin solid line). From Briffa et al. 1998.[1] The divergence problem is an anomaly from the field of dendroclimatology, the study of past climate through observations of old trees, primarily the properties...

This article needs to be updated. Please help update this article to reflect recent events or newly available information. (May 2017) Sydney FC 2010 football seasonSydney FC2010 seasonManagerAlen StajcicW-League1 (of 7)← 20092011–12 → The 2010–11 season was Sydney FC's third season in the W-League, the Australian national women's soccer league. Fixtures Regular season 6 November 2010 Brisbane Roar2 – 4Sydney FC Butt 14'Harch 49'Chapman  90...

Arms of the Stuarts of Ochiltree Lord Ochiltree (or Ochiltrie) of Lord Stuart of Ochiltree was a title in the Peerage of Scotland.[1] In 1542 Andrew Stewart, 2nd Lord Avondale (see the Earl Castle Stewart for earlier history of the family) exchanged the lordship of Avondale with Sir James Hamilton for the lordship of Ochiltrie and by Act of Parliament was ordained to be styled Lord Stuart of Ochiltrie. His great-grandson, the third Lord Stuart of Ochiltrie, resigned the feudal barony ...

2021 EP by Bodom After Midnight Paint the Sky with BloodEP by Bodom After MidnightReleased23 April 2021 (2021-04-23)RecordedNovember 2020StudioFinnvox, iStudio (Helsinki, Finland)GenreMelodic death metalLength14:53LabelNapalm, WardProducerJoonas ParkkonenBodom After Midnight chronology Hexed (as Children of Bodom)(2019) Paint the Sky with Blood(2021) Professional ratingsReview scoresSourceRatingBlabbermouth.net7.5/10[1]Kerrang!4/5[2]Metal Hammer[3] P...

Overview of crime in the United Arab Emirates UAE police vehicle The crime rate in the United Arab Emirates is relatively low[1][2] compared to more highly industrialized nations.[2] Incidents of petty crime such as pickpocketing are low.[1] The United States Department of State states: Crime generally is not a problem for travelers in the UAE. However, the U.S. Embassy advises U.S. citizens to take normal precautions against theft, such as not leaving a wallet...

This article relies excessively on references to primary sources. Please improve this article by adding secondary or tertiary sources. Find sources: Tamatsukuri Station – news · newspapers · books · scholar · JSTOR (December 2022) (Learn how and when to remove this template message)Railway station in Osaka, Japan Tamatsukuri Station玉造駅North entrance of the JR stationGeneral informationLocationOsakaJapanOperated by JR West Osaka Metro Line(s) Osak...

Union CanalMap of Pennsylvania's historic canals and connecting railroadsSpecificationsLocks93StatusAbandoned except for historic interestHistoryOriginal ownerUnion Canal CompanyPrincipal engineerCanvass WhiteConstruction began1811Date completed1828Date closed1885GeographyStart pointReading, Pennsylvania, U.S.End pointMiddletown, Pennsylvania, U.S.Branch(es)Branch Canal to Pine GroveConnects toSchuylkill Canal, Pennsylvania Canal (Eastern Division) The Union Canal was a towpath canal that exi...

1983 compilation album by the BBC Radiophonic Workshop For other music used in Doctor Who, see List of Doctor Who music releases. Doctor Who: The MusicCompilation album by BBC Radiophonic WorkshopReleased1983Recorded1963, 1972, 1980–1983GenreElectronic musicLength40:24 / 51:24LabelBBC RecordsProducerDick MillsCompilerDick MillsBBC Radiophonic Workshop chronology BBC Sound Effects No. 26 - Sci-Fi Sound Effects(1981) Doctor Who: The Music(1983) The Soundhouse(1983) Doctor Who soundtrack c...

Art technique of slowly transitioning between color hues, shades, or textures Crystal Gradation by Paul Klee, watercolour, 1921. In the visual arts, gradation is the technique of gradually transitioning from one hue to another, or from one shade to another, or one texture to another. Space, distance, atmosphere, volume, and curved or rounded forms are some of the visual effects created with gradation.[1] A gradient illustration, showing a gradation spectrum from black to white. Artist...

American actor (1903–1973) Paul NewlanNewlan in I'm from Arkansas (1944)BornPaul Emory Tiny Newlan(1903-06-29)June 29, 1903Plattsmouth, Nebraska, U.S.DiedNovember 23, 1973(1973-11-23) (aged 70)Studio City, California, U.S.Resting placeCoyle Cemetery Logan County, OklahomaOccupationActorYears active1920–1971 Paul Emory Tiny Newlan (June 29, 1903 – November 23, 1973) was an American film and TV character actor from Plattsmouth, Nebraska.[1] He was best known for ...

Kembali kehalaman sebelumnya