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:

NabiŻulkifliذو الكفل'alaihissalamKaligrafi Żulkifli 'alaihis-salam (keselamatan atasnya)MakamQabr Dzu'l Kifl, IraqPendahuluHarunPenggantiDawudNabi dan Rasul dalam Islam Nabi dalam Al-Qur'anMenyesuaikan antara nama Islam dan Alkitab. ʾĀdam (Adam) ʾIdrīs (Henokh?) Nūḥ (Nuh) Hūd (Eber?) Ṣāliḥ (Selah) ʾIbrāhīm (Abraham) Lūṭ (Lot) ʾIsmāʿīl (Ismael) ʾIsḥāq (Ishak) Yaʿqūb (Yakub) Yūsuf (Yusuf) Ayyūb (Ayub) Syu'aib (Yitro?) Mūsā (Musa) Hārūn (Harun) Zulkifl...

 

Bagian dari seriEskatologi AntaragamaAkhir zaman Apokaliptisisme Fenomena 2012MilenarianismeArmageddonPengadilan TerakhirKebangkitan orang matiYa'juj dan Ma'jujEskatologi Lia Eden Eskatologi HinduEskatologi Hindu Eskatologi IslamTempat 'Arasy Âkhirah Barzakh Firdaws `Adn Jannah Jahannam Jahim Kaʿbah Mahsyar Shirāth Pohon Neraka Tokoh Utama Dābbat al-Ard Dajjāl Dzu as-Suwayqatayn Imam Mahdī `Īsā Khawārij Muḥammad Yā'jūj dan Mā'jūj Malaikat Al-Arham Hamalat al-‘Arsy Izra'īl Is...

 

No One노원Album mini karya F.CuzDirilis11 Maret 2010Direkam2009-2010GenrePop, dance[1]LabelCAN&J EntertainmentKronologi F.Cuz No One (2010) Gorgeous (2010)String Module Error: Match not found2010 No One (bahasa Korea: 노원; ditulis sebagai NO ONE) adalah album mini pertama dari grup vokal pria asal Korea Selatan, F.Cuz. Album ini dirilis dalam format fisik dan digital pada tanggal 11 Maret 2010.[1] Versi Taiwan dirilis pada tanggal 21 Mei 2010; edisi ini termas...

المهبط الضوئي يقوم بتحويل الضوء إلى كهرباء، فعند سقوط فوتون واحد على المهبط الضوئي، يتحرر إلكترون من المهبط، بناء على ما اكتشفه أينشتاين في الظاهرة الكهروضوئية.[1] يكوّن المهبط الضوئي جزءا من صمام تضخيم ضوئي وفي أجهزة إلكترونية أخرى للتصوير في هيئة طبقة رقيقة لاصقة على

 

Zschadraß Stadt Colditz Koordinaten: 51° 8′ N, 12° 49′ O51.13777777777812.819166666667222Koordinaten: 51° 8′ 16″ N, 12° 49′ 9″ O Höhe: 222 m Fläche: 1,37 km²[1] Einwohner: 3247 (31. Dez. 2010) Bevölkerungsdichte: 2.370 Einwohner/km² Eingemeindung: 1. Januar 2011 Postleitzahl: 04680 Vorwahl: 034381 Kirche Zschadraß Zschadraß ist ein Ortsteil der Stadt Colditz im Süden des Landkreises Lei...

 

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (مايو 2020) العضو المنتخب (بالإنجليزية: The Elected Member)‏  المؤلف برنيس روبنز  اللغة الإنجليزية  تاريخ النشر 1969  النوع الأدبي رواية  الجوائز جائزة بوكر الأدبية ...

For other uses, see Arcade (disambiguation). Covered walk enclosed by a line of arches on one or both sides Norman blind arcade, Ely Cathedral An arcade is a succession of contiguous arches, with each arch supported by a colonnade of columns or piers. Exterior arcades are designed to provide a sheltered walkway for pedestrians; they include many loggias, but here arches are not an essential element. An arcade may feature arches on both sides of the walkway. Alternatively, a blind arcade super...

 

Jesse Helms Jesse Alexander Helms Jr. (18 Oktober 1921 – 4 Juli 2008) adalah seorang wartawan, eksekutif media dan politikus asal Amerika Serikat. Sebagai pemimpin dalam gerakan konservatif, ia menjabat sebagai senator dari Carolina Utara antara 1973 sampai 2003. Daftar pustaka Roy, Joaquín (2000). Cuba, the United States, and the Helms-Burton Doctrine. Gainesville: University Press of Florida. ISBN 978-0-8130-1760-0.  Shirley, Craig (January 20, 2005). Reagan's Rev...

 

KilotoraksTiga botol kilus dialirkan dari kilotoraksInformasi umumSpesialisasiPulmonologiTipeLuaran rendah, luaran tinggiPenyebabKomplikasi pembedahan, trauma, kanker, infeksi, kelainan pembuluh limfeAspek klinisGejala dan tandaTidak ada, sesak napasKomplikasiDehidrasi, malnutrisi, tingkat elektrolit abnormal, sistem imun melemahDiagnosisRontgen sinar X, CT scan, MRI toraks, pengambilan sampel cairanPerawatanMenghilangkan lemak dari diet, mengurangi aliran getah bening, selang dada, bedahPeng...

Artikel ini sudah memiliki referensi, tetapi tidak disertai kutipan yang cukup. Anda dapat membantu mengembangkan artikel ini dengan menambahkan lebih banyak kutipan pada teks artikel. (November 2023) (Pelajari cara dan kapan saatnya untuk menghapus pesan templat ini)Artikel atau bagian artikel ini diterjemahkan secara buruk. Kualitas terjemahannya masih kurang bagus. Bagian-bagian yang mungkin diterjemahkan dari bahasa lain masih perlu diperhalus dan disempurnakan. Anda dapat mempertimbangka...

 

1939 British filmThe Face at the WindowDirected byGeorge KingWritten byA. R. Rawlinson (scenario and dialogue)Randall Faye (treatment)Based onthe Famous Melodrama, The Face at the Window by F. Brooke WarrenProduced byGeorge KingStarringTod SlaughterCinematographyHone GlendinningEdited byJack HarrisMusic byJack BeaverProductioncompanyGeorge King ProductionsDistributed byBritish Lion Film Corporation (UK)Arthur Ziehm (U.S.)Release date April 1939 (1939-04) Running time65 minutesCountr...

 

2018 single by the ChainsmokersEverybody Hates MeSingle by the Chainsmokersfrom the album Sick Boy ReleasedMarch 16, 2018 (2018-03-16)Length3:44LabelDisruptorColumbiaComposer(s)Andrew TaggartLyricist(s)Emily WarrenAndrew TaggartProducer(s)The ChainsmokersShaun FrankThe Chainsmokers singles chronology You Owe Me (2018) Everybody Hates Me (2018) Somebody (2018) Music videoEverybody Hates Me on YouTube Everybody Hates Me is a song by American music production duo the Chainsmokers....

Place in GreeceAno Pogoni Άνω ΠωγώνιAno PogoniLocation within the regional unit Coordinates: 40°1′N 20°34′E / 40.017°N 20.567°E / 40.017; 20.567CountryGreeceAdministrative regionEpirusRegional unitIoanninaMunicipalityPogoni • Municipal unit137.084 km2 (52.928 sq mi)Elevation650 m (2,130 ft)Population (2011)[1] • Municipal unit1,490 • Municipal unit density11/km2 (28/sq mi)Ti...

 

1993 video gameRise of the PhoenixNorth American SNES cover artDeveloper(s)Koei[2]Publisher(s)Koei[2]Composer(s)SNES: Tomoki Hasegawa[3]Platform(s)SNES NEC PC-9801 FM Towns X68000 PlayStationReleaseNEC PC-9801: JP: 1993 SNES: JP: April 6, 1994[1]NA: February 1995[1] PlayStation: JP: March 26, 1998Genre(s)Turn-based historic strategy[1]Mode(s)Single-player,[2] Multiplayer[2] Rise of the Phoenix (項劉記, Kōryūki) is a multipla...

 

Si ce bandeau n'est plus pertinent, retirez-le. Cliquez ici pour en savoir plus. Cet article ne s'appuie pas, ou pas assez, sur des sources secondaires ou tertiaires (juillet 2014). Pour améliorer la vérifiabilité de l'article ainsi que son intérêt encyclopédique, il est nécessaire, quand des sources primaires sont citées, de les associer à des analyses faites par des sources secondaires. Fondation Suisse pour le ClimatHistoireFondation 2008CadreType Fondation de droit suisseForme ju...

American hip hop duoThis 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) 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: Dead Prez – news · newspapers · books · scholar · JSTOR (December 2008) (Learn how and ...

 

قلعة ذرامعلومات عامةنوع المبنى قَلْعَة تَاريْخِية قَديمَةالمكان منطقة عسير - أبهاالبلد  السعوديةتعديل - تعديل مصدري - تعديل ويكي بيانات قلعة ذرا، قعلة أثرية تقع في مدينة أبها جنوب المملكة العربية السعودية. بُنيت في القرن الرابع عشر الهجري الموافق القرن العشرين الميلاد...

 

American politician and lawyer (1813–1861) For other people named Stephen Douglas, see Stephen Douglas (disambiguation). Stephen A. DouglasPortrait by Julian VannersonUnited States Senatorfrom IllinoisIn officeMarch 4, 1847 – June 3, 1861Preceded byJames SempleSucceeded byOrville H. BrowningMember of the U.S. House of Representativesfrom Illinois's 5th districtIn officeMarch 4, 1843 – March 3, 1847Preceded byConstituency establishedSucceeded byWilliam Richa...

Este artículo o sección necesita referencias que aparezcan en una publicación acreditada.Este aviso fue puesto el 16 de noviembre de 2018. Gráfica que representa la densidad de estados frente a la energía para un gas de electrones libres tridimensional. La densidad de estados (DOS) en un sistema físico caracteriza el número existente de estados por cada intervalo de energía. En un sistema cuántico finito (partícula en un pozo) existe un número discreto de estados posibles de la ene...

 

2002 African Championships in AthleticsTrack events100 mmenwomen200 mmenwomen400 mmenwomen800 mmenwomen1500 mmenwomen5000 mmenwomen10,000 mmenwomen100 m hurdleswomen110 m hurdlesmen400 m hurdlesmenwomen3000 msteeplechasemen4×100 m relaymenwomen4×400 m relaymenwomenRoad events10 km walkwomen20 km walkmenField eventsHigh jumpmenwomenPole vaultmenwomenLong jumpmenwomenTriple jumpmenwomenShot putmenwomenDiscus throwmenwomenHammer throwmenwomenJavelin throwmenwomenCombined eventsHeptathlonwomenD...

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!