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

Distributed memory

An illustration of a distributed memory system of three computers.

In computer science, distributed memory refers to a multiprocessor computer system in which each processor has its own private memory.[1] Computational tasks can only operate on local data, and if remote data are required, the computational task must communicate with one or more remote processors. In contrast, a shared memory multiprocessor offers a single memory space used by all processors. Processors do not have to be aware where data resides, except that there may be performance penalties, and that race conditions are to be avoided.

In a distributed memory system there is typically a processor, a memory, and some form of interconnection that allows programs on each processor to interact with each other. The interconnect can be organised with point to point links or separate hardware can provide a switching network. The network topology is a key factor in determining how the multiprocessor machine scales. The links between nodes can be implemented using some standard network protocol (for example Ethernet), using bespoke network links (used in for example the transputer), or using dual-ported memories.

Programming distributed memory machines

The key issue in programming distributed memory systems is how to distribute the data over the memories. Depending on the problem solved, the data can be distributed statically, or it can be moved through the nodes. Data can be moved on demand, or data can be pushed to the new nodes in advance.

As an example, if a problem can be described as a pipeline where data x is processed subsequently through functions f, g, h, etc. (the result is h(g(f(x)))), then this can be expressed as a distributed memory problem where the data is transmitted first to the node that performs f that passes the result onto the second node that computes g, and finally to the third node that computes h. This is also known as systolic computation.

Data can be kept statically in nodes if most computations happen locally, and only changes on edges have to be reported to other nodes. An example of this is simulation where data is modeled using a grid, and each node simulates a small part of the larger grid. On every iteration, nodes inform all neighboring nodes of the new edge data.

Distributed shared memory

Similarly, in distributed shared memory each node of a cluster has access to a large shared memory in addition to each node's limited non-shared private memory.

Shared memory vs. distributed memory vs. distributed shared memory

  • The advantage of (distributed) shared memory is that it offers a unified address space in which all data can be found.
  • The advantage of distributed memory is that it excludes race conditions, and that it forces the programmer to think about data distribution.
  • The advantage of distributed (shared) memory is that it is easier to design a machine that scales with the algorithm

Distributed shared memory hides the mechanism of communication, it does not hide the latency of communication.

See also

References

  1. ^ Pardo, David; Matuszyk, Paweł J.; Puzyrev, Vladimir; Torres-Verdín, Carlos; Nam, Myung Jin; Calo, Victor M. (2021). "Parallel implementation". Modeling of Resistivity and Acoustic Borehole Logging Measurements Using Finite Element Methods. Elsevier. doi:10.1016/C2019-0-02722-7. ISBN 978-0-12-821454-1 – via ScienceDirect. Distributed memory refers to a computing system in which each processor has its memory. Computational tasks efficiently operate with local data, but when remote data is required, the task must communicate (using explicit messages) with remote processors to transfer data. This type of parallel computing is standard on supercomputers equipped with many thousands of computing nodes.

Read other articles:

В Википедии есть статьи о других людях с такой фамилией, см. Купуния. Тамара Андреевна Купуниягруз. თამარ ყუფუნია Дата рождения 21 сентября 1902(1902-09-21) Место рождения село Зуби, Хобский район Грузинская ССР Дата смерти 26 ноября 1985(1985-11-26) (83 года) Гражданство  ССС...

Pour les articles homonymes, voir Lubotzky. Alexander LubotzkyAlexander LubotzkyFonctionMembre de la Knesset14e Knesset (d)17 juin 1996 - 7 juin 1999BiographieNaissance 28 juin 1956 (67 ans)Tel Aviv, IsraelNationalité IsraélienFormation Université Bar-IlanActivités Mathématicien, professeur d'université, pédagogue, homme politique, chercheurPère Iser Lubocki (en)Enfant Asael LubotzkyParentèle Murray Roston (en) (beau-père)Autres informationsA travaillé pour Université Ya...

Опис файлу Опис Всеукраїнська науково-практична конференція у ВННІЕ ТНЕУ, 2015 р. Джерело Власна робота Час створення 2015 Автор зображення RomanivTaras Ліцензія див. нижче Ліцензування Я, власник авторських прав на цей твір, публікую його на умовах таких ліцензій: Дозволено копіюв

العلاقات الزيمبابوية السيراليونية زيمبابوي سيراليون   زيمبابوي   سيراليون تعديل مصدري - تعديل   العلاقات الزيمبابوية السيراليونية هي العلاقات الثنائية التي تجمع بين زيمبابوي وسيراليون.[1][2][3][4][5] مقارنة بين البلدين هذه مقارنة عامة ومرجعية

Gazave Entidad subnacional GazaveLocalización de Gazave en Francia Coordenadas 43°02′13″N 0°25′02″E / 43.036944444444, 0.41722222222222Entidad Comuna de Francia • País  Francia • Región Mediodía-Pirineos • Departamento Altos Pirineos • Distrito distrito de Bagnères-de-Bigorre • Cantón cantón de Barthe-de-Neste • Mancomunidad Communauté de communes Neste BaronniesAlcalde Roger Grenier(2008 2014)Superficie  &#...

زوتكيركيو    شعار الاسم الرسمي (بالفرنسية: Zutkerque)‏    الإحداثيات 50°51′13″N 2°04′03″E / 50.853611111111°N 2.0675°E / 50.853611111111; 2.0675[1]  [2] تقسيم إداري  البلد فرنسا[3]  التقسيم الأعلى باد كاليهكاليه (1 يناير 2017–)  خصائص جغرافية  المساحة 16.41 كيلومتر مر

У Вікіпедії є статті про інші значення цього терміна: Кур'єр.Кур'єррос. Курьер Жанр трагікомедіяРежисер Шахназаров Карен Георгійович[1]Сценарист Бородянський Олександр ЕмануїловичdУ головних ролях Олег Басілашвілі, Немоляєва Анастасія Миколаївна, Чурикова І...

Dewan Perwakilan Rakyat Daerah Kabupaten Ogan Komering Ulu SelatanDewan Perwakilan RakyatKabupaten Ogan Komering Ulu Selatan2019-2024JenisJenisUnikameral SejarahSesi baru dimulai19 Agustus 2019PimpinanKetuaHeri Martadinata, S.E. (Demokrat) sejak 9 Oktober 2019 Wakil Ketua IYohana Yuda Yanti, S.E. (Golkar) sejak 9 Oktober 2019 Wakil Ketua IICarles Minarko, S.E. (PPP) sejak 9 Oktober 2019 KomposisiAnggota40Partai & kursi  PDI-P (4)   NasDem (3)   PK...

Nobeoka 延岡市Kota BenderaLambangLokasi Nobeoka di Prefektur MiyazakiNegara JepangWilayahKyūshūPrefektur MiyazakiPemerintahan • WalikotaYōji YomiyamaLuas • Total868 km2 (335 sq mi)Populasi (Oktober 1, 2015) • Total125.159 • Kepadatan144,2/km2 (3,730/sq mi)Zona waktuUTC+9 (Waktu Standar Jepang)Kode pos882-8686Simbol • PohonIlex rotunda• BungaCannaNomor telepon0982-34-2111Alamat2-1 Higashihonk...

Magazine usually focused on gossip regarding celebrities 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 article's lead section may need to be rewritten. Please help improve the lead and read the lead layout guide. (October 2013) (Learn how and when to remove this template message) This article needs additional citations for verification. Please help improve this article by adding cit...

Book by Drew Karpyshyn Mass Effect: Retribution Original cover of Mass Effect: RetributionAuthorDrew KarpyshynCountryCanadaLanguageEnglishSeriesMass EffectGenreScience fictionPublisherDel Rey BooksPublication date27 July 2010[1]Media typePrint (Paperback)Pages356ISBN978-0-345-52072-2Preceded byMass Effect: Ascension Followed byMass Effect: Deception  Mass Effect: Retribution is a science fiction novel by Canadian writer Drew Karpyshyn set in the Mass Effect un...

Sibet AttenaSarcophagus of Sibet Attena in the St. Magnus Church in EsensBornc. 1425Died(1473-11-08)8 November 1473BuriedSt. Magnus Church in EsensNoble familyDornumSpouse(s)Onna StedesdorfMargaret of WesterwoldeFatherSibet of DornumMotherFrouwa of Manslagt Sibet Attena (also: Latin: Sibo; c. 1425 – 8 November 1473) was an East Frisian chieftain. He was a son of Sibet of Dornum (old Sibet) (d. 1433) and Frouwa of Manslagt, a daughter of Enno Cirksena. From his father he inhe...

Góra Miłek Widok na Górę Miłek rezerwat leśny Typ fitocenotyczny[1] Podtyp zbiorowisk leśnych[1] Państwo  Polska Województwo  dolnośląskie Położenie Wojcieszów Mezoregion Góry Kaczawskie Data utworzenia 1994 Akt prawny M.P. z 1994 r. nr 16, poz. 115 Powierzchnia 141,35 ha Ochrona czynna Położenie na mapie WojcieszowaGóra Miłek Położenie na mapie PolskiGóra Miłek Położenie na mapie województwa dolnośląskiegoGóra Miłek Położenie ...

Cadenas de amargura Serie de televisiónGénero TelenovelaCreado por José Cuauhtémoc BlancoMaría del Carmen PeñaGuion por Cuauhtémoc Blanco (adaptación)María del Carmen Peña (adaptación)Dirigido por Luis Vélez (foro)Eduardo Gallegos (locación)Protagonistas Diana BrachoDaniela CastroDelia CasanovaRaúl AraizaCynthia KlitboFernando LujánHilda AguirreRaymundo CapetilloTema principal The Blade Artist(compuesto por Dwight Bernard Mikkelsen)Ambientación 1981-1991País de origen México...

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: New Boy film – news · newspapers · books · scholar · JSTOR (March 2020) (Learn how and when to remove this template message) 2007 Irish filmNew BoyPosterDirected bySteph GreenScreenplay bySteph GreenStory byRoddy DoyleProduced byTamara AnghieStarringOlutun...

American educator This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Myles Horton – news · newspapers · books · scholar · JSTOR (May 2020) (Learn how and when to remove this template message) Portrait of Myles Horton, founder of Highlander Folk School. Photographer Unknown. WHS Image ID 52275 [1] Myles Horton i...

Rumah baris batu cokelat di Bedford-Stuyvesant, Brooklyn Batu cokelat adalah sebuah batu pasir zaman Trias atau Jura yang dulunya merupakan bahan bangunan yang populer. Istilah batu cokelat atau brownstone ini juga digunakan di Amerika Serikat untuk menyebut sebuah rumah teras (rumah baris) yang dibangun dengan material ini. Ada banyak rumah batu cokelat di beberapa permukiman New York City, khususnya di Brooklyn (Park Slope, Fort Greene, Cobble Hill, Prospect Heights, Brooklyn Heights, dan B...

American game show This article uses bare URLs, which are uninformative and vulnerable to link rot. Please consider converting them to full citations to ensure the article remains verifiable and maintains a consistent citation style. Several templates and tools are available to assist in formatting, such as reFill (documentation) and Citation bot (documentation). (August 2022) (Learn how and when to remove this template message) RiotSlide Show/Riot logoGenreGame showEntertainmentBased onFrenc...

American politician Jennifer McCormickMcCormick in 201844th Indiana Superintendent of Public InstructionIn officeJanuary 9, 2017 – January 11, 2021GovernorEric HolcombPreceded byGlenda RitzSucceeded byOffice abolished Personal detailsPolitical partyDemocratic (since 2021)Other politicalaffiliationsRepublican (until 2021)SpouseTrentChildren1EducationPurdue University (BA)Ball State University (MA)Indiana State University (PhD) Jennifer McCormick is an American politician and educato...

Kisaran ukuran genom (dalam pasangan basa) dari berbagai bentuk kehidupan Ukuran genom atau Jumlah genom adalah jumlah total DNA yang terkandung dalam satu salinan lengkap genom. Biasanya diukur dalam bentuk massa dengan satuan pikogram (sepertriliun (10−12) dari gram, disingkat pg) atau dalam Dalton (namun, satuan ini jarang digunakan) atau sebagai jumlah total pasangan basa nukleotida, biasanya dalam megabase (jutaan pasangan basa, disingkat Mb atau Mbp). Satu pikogram sama dengan 978 meg...

Kembali kehalaman sebelumnya