Multiprocessing

Multiprocessing is the use of two or more central processing units (CPUs) within a single computer system.[1][2] The term also refers to the ability of a system to support more than one processor or the ability to allocate tasks between them. There are many variations on this basic theme, and the definition of multiprocessing can vary with context, mostly as a function of how CPUs are defined (multiple cores on one die, multiple dies in one package, multiple packages in one system unit, etc.).

According to some on-line dictionaries, a multiprocessor is a computer system having two or more processing units (multiple processors) each sharing main memory and peripherals, in order to simultaneously process programs.[3][4] A 2009 textbook defined multiprocessor system similarly, but noting that the processors may share "some or all of the system’s memory and I/O facilities"; it also gave tightly coupled system as a synonymous term.[5]

At the operating system level, multiprocessing is sometimes used to refer to the execution of multiple concurrent processes in a system, with each process running on a separate CPU or core, as opposed to a single process at any one instant.[6][7] When used with this definition, multiprocessing is sometimes contrasted with multitasking, which may use just a single processor but switch it in time slices between tasks (i.e. a time-sharing system). Multiprocessing however means true parallel execution of multiple processes using more than one processor.[7] Multiprocessing doesn't necessarily mean that a single process or task uses more than one processor simultaneously; the term parallel processing is generally used to denote that scenario.[6] Other authors prefer to refer to the operating system techniques as multiprogramming and reserve the term multiprocessing for the hardware aspect of having more than one processor.[2][8] The remainder of this article discusses multiprocessing only in this hardware sense.

In Flynn's taxonomy, multiprocessors as defined above are MIMD machines.[9][10] As the term "multiprocessor" normally refers to tightly coupled systems in which all processors share memory, multiprocessors are not the entire class of MIMD machines, which also contains message passing multicomputer systems.[9]

Key topics

Processor symmetry

In a multiprocessing system, all CPUs may be equal, or some may be reserved for special purposes. A combination of hardware and operating system software design considerations determine the symmetry (or lack thereof) in a given system. For example, hardware or software considerations may require that only one particular CPU respond to all hardware interrupts, whereas all other work in the system may be distributed equally among CPUs; or execution of kernel-mode code may be restricted to only one particular CPU, whereas user-mode code may be executed in any combination of processors. Multiprocessing systems are often easier to design if such restrictions are imposed, but they tend to be less efficient than systems in which all CPUs are utilized.

Systems that treat all CPUs equally are called symmetric multiprocessing (SMP) systems. In systems where all CPUs are not equal, system resources may be divided in a number of ways, including asymmetric multiprocessing (ASMP), non-uniform memory access (NUMA) multiprocessing, and clustered multiprocessing.

Master/slave multiprocessor system

In a master/slave multiprocessor system, the master CPU is in control of the computer and the slave CPU(s) performs assigned tasks. The CPUs can be completely different in terms of speed and architecture. Some (or all) of the CPUs can share a common bus, each can also have a private bus (for private resources), or they may be isolated except for a common communications pathway. Likewise, the CPUs can share common RAM and/or have private RAM that the other processor(s) cannot access. The roles of master and slave can change from one CPU to another.

Two early examples of a mainframe master/slave multiprocessor are the Bull Gamma 60 and the Burroughs B5000.[11]

An early example of a master/slave multiprocessor system of microprocessors is the Tandy/Radio Shack TRS-80 Model 16 desktop computer which came out in February 1982 and ran the multi-user/multi-tasking Xenix operating system, Microsoft's version of UNIX (called TRS-XENIX). The Model 16 has two microprocessors: an 8-bit Zilog Z80 CPU running at 4 MHz, and a 16-bit Motorola 68000 CPU running at 6 MHz. When the system is booted, the Z-80 is the master and the Xenix boot process initializes the slave 68000, and then transfers control to the 68000, whereupon the CPUs change roles and the Z-80 becomes a slave processor responsible for all I/O operations including disk, communications, printer and network, as well as the keyboard and integrated monitor, while the operating system and applications run on the 68000 CPU. The Z-80 can be used to do other tasks.

The earlier TRS-80 Model II, which was released in 1979, could also be considered a multiprocessor system as it had both a Z-80 CPU and an Intel 8021[12] microcontroller in the keyboard. The 8021 made the Model II the first desktop computer system with a separate detachable lightweight keyboard connected with by a single thin flexible wire, and likely the first keyboard to use a dedicated microcontroller, both attributes that would later be copied years later by Apple and IBM.

Instruction and data streams

In multiprocessing, the processors can be used to execute a single sequence of instructions in multiple contexts (single instruction, multiple data or SIMD, often used in vector processing), multiple sequences of instructions in a single context (multiple instruction, single data or MISD, used for redundancy in fail-safe systems and sometimes applied to describe pipelined processors or hyper-threading), or multiple sequences of instructions in multiple contexts (multiple instruction, multiple data or MIMD).

Processor coupling

Tightly coupled multiprocessor system

Tightly coupled multiprocessor systems contain multiple CPUs that are connected at the bus level. These CPUs may have access to a central shared memory (SMP or UMA), or may participate in a memory hierarchy with both local and shared memory (SM)(NUMA). The IBM p690 Regatta is an example of a high end SMP system. Intel Xeon processors dominated the multiprocessor market for business PCs and were the only major x86 option until the release of AMD's Opteron range of processors in 2004. Both ranges of processors had their own onboard cache but provided access to shared memory; the Xeon processors via a common pipe and the Opteron processors via independent pathways to the system RAM.

Chip multiprocessors, also known as multi-core computing, involves more than one processor placed on a single chip and can be thought of the most extreme form of tightly coupled multiprocessing. Mainframe systems with multiple processors are often tightly coupled.

Loosely coupled multiprocessor system

Loosely coupled multiprocessor systems (often referred to as clusters) are based on multiple standalone relatively low processor count commodity computers interconnected via a high speed communication system (Gigabit Ethernet is common). A Linux Beowulf cluster is an example of a loosely coupled system.

Tightly coupled systems perform better and are physically smaller than loosely coupled systems, but have historically required greater initial investments and may depreciate rapidly; nodes in a loosely coupled system are usually inexpensive commodity computers and can be recycled as independent machines upon retirement from the cluster.

Power consumption is also a consideration. Tightly coupled systems tend to be much more energy-efficient than clusters. This is because a considerable reduction in power consumption can be realized by designing components to work together from the beginning in tightly coupled systems, whereas loosely coupled systems use components that were not necessarily intended specifically for use in such systems.

Loosely coupled systems have the ability to run different operating systems or OS versions on different systems.

See also

References

  1. ^ Raj Rajagopal (1999). Introduction to Microsoft Windows NT Cluster Server: Programming and Administration. CRC Press. p. 4. ISBN 978-1-4200-7548-9.
  2. ^ a b Mike Ebbers; John Kettner; Wayne O'Brien; Bill Ogden (2012). Introduction to the New Mainframe: z/OS Basics. IBM. p. 96. ISBN 978-0-7384-3534-3.
  3. ^ "Multiprocessor dictionary definition - multiprocessor defined". www.yourdictionary.com. Archived from the original on 16 March 2018. Retrieved 16 March 2018.
  4. ^ "multiprocessor". Archived from the original on 16 March 2018. Retrieved 16 March 2018 – via The Free Dictionary.
  5. ^ Irv Englander (2009). The architecture of Computer Hardware and Systems Software. An Information Technology Approach (4th ed.). Wiley. p. 265. ISBN 978-0471715429.
  6. ^ a b Deborah Morley; Charles Parker (13 February 2012). Understanding Computers: Today and Tomorrow, Comprehensive. Cengage Learning. p. 183. ISBN 978-1-133-19024-0.
  7. ^ a b Shibu K. V. Introduction to Embedded Systems. Tata McGraw-Hill Education. p. 402. ISBN 978-0-07-014589-4.
  8. ^ Ashok Arora (2006). Foundations of Computer Science. Laxmi Publications. p. 149. ISBN 978-81-7008-971-1.
  9. ^ a b Ran Giladi (2008). Network Processors: Architecture, Programming, and Implementation. Morgan Kaufmann. p. 293. ISBN 978-0-08-091959-1.
  10. ^ Sajjan G. Shiva (20 September 2005). Advanced Computer Architectures. CRC Press. p. 221. ISBN 978-0-8493-3758-1.
  11. ^ The Operational Characteristics of the Processors for the Burroughs B5000 (PDF). Revision A. Burroughs. 1963. 5000-21005A. Archived (PDF) from the original on 30 May 2023. Retrieved 27 June 2023.
  12. ^ TRS-80 Model II Technical Reference Manual. Radio Shack. 1980. p. 135.

Read other articles:

Charles H. Bonesteel IIICharles BonesteelLahir26 September 1909Platssburgh, New York, Amerika SerikatMeninggal13 Oktober 1977Alexandria, Virginia, Amerika SerikatMakamPemakaman Nasional ArlingtonWarga negaraAmerikaPendidikanAkademi Militer Amerika Serikat Universitas OxfordAlmamaterUniversitas OxfordOrang tuaCharles Bonesteel Jr. (bapak) Charles H. Bonesteel III (26 September 1909-13 Oktober 1977) atau yang lebih dikenal sebagai Charles Bonesteel merupakan seorang panglima besar militer Amerika …

Gerbang Bajang Ratu di Trowulan Majapahit bergaya Paduraksa. Gerbang monumental Masjid Jami Isfahan, Iran. Gerbang adalah tempat keluar atau masuk ke dalam suatu kawasan tertutup yang dikelilingi pagar atau dinding. Gerbang berguna untuk mencegah atau mengendalikan arus keluar-masuknya orang. Gerbang dapat bersifat sederhana hanya berupa bukaan sederhana pada sebuah pagar, maupun dekoratif dan bahkan monumental. Istilah lainnya untuk gerbang adalah pintu dan gapura. Gerbang besar dan kokoh pada …

Sakon YamamotoYamamoto promosi ke ING Renault F1 Team pada tahun 2009.Lahir9 Juli 1982 (umur 41) Toyohashi, JepangKarier Kejuaraan Dunia Formula SatuKebangsaan JepangTahun aktif2006-2007, 2010TimSuper Aguri, Spyker, HRTJumlah lomba21 (21 starts)Juara dunia0Menang0Podium0Total poin0Posisi pole0Lap tercepat0Lomba pertamaGrand Prix Jerman 2006Lomba terakhirGrand Prix Korea 2010Klasemen 201026th (0 pts) Sakon Yamamoto (山本 左近, Yamamoto Sakon, lahir 9 Juli 1982) merupakan seorang pembalap…

باكستر إستيتس     الإحداثيات 40°50′02″N 73°41′43″W / 40.8339°N 73.6953°W / 40.8339; -73.6953  [1] تقسيم إداري  البلد الولايات المتحدة[2]  التقسيم الأعلى مقاطعة ناسو  خصائص جغرافية  المساحة 0.472627 كيلومتر مربع (1 أبريل 2010)  ارتفاع 12 متر  عدد السكان  عدد السك…

American politician This article is about the American Congressman. For other people with the same name, see Louis Miller (disambiguation). This article includes a list of references, related reading, or external links, but its sources remain unclear because it lacks inline citations. Please help improve this article by introducing more precise citations. (February 2013) (Learn how and when to remove this template message) Louis E. MillerMember of the U.S. House of Representativesfro…

Association football club in Dunbartonshire, Scotland, UK Football clubAlbionFull nameAlbion Football ClubFounded1880Dissolved1886GroundVictoria Park, Castle RoadPatronArchibald DennyPresidentAlex Galbraith[1]Match SecretaryRobert Smith Home colours Albion Football Club was an association football club based in the town of Dumbarton, in West Dunbartonshire.[2] History 1884–85 Dumbartonshire Cup 2nd Round, Dumbarton Athletic 3–0 Albion, Lennox Herald, 17 January 1885 The club …

Sir Thomas Peckham (1691-1724) was an English landowner who served as High Sheriff of Sussex. Life Baptised on 11 December 1691 at the church of St Mary in Aldingbourne, he was the only son of Thomas Peckham (1666-1724) and his first wife Joyce (1664-1701), daughter of Thomas Peckham of Nyton (1638-1709) and his first wife Mary.[1] He was first cousin twice removed of Sir Henry Peckham, MP for Chichester, and first cousin once removed of Harry Peckham, Recorder of Chichester. On 6 April …

جامعة الزهراوي الدولية لعلوم الصحة بالرباط شعار جامعة الزهراوي الدولية لعلوم الصحة   معلومات التأسيس 2014 - 2015 النوع جامعة الشريك مع وزارة التعليم العالي المعاهد المعهد العالي للهندسة والتقنيات الصحية٬ معهد IFCP للمساعدين الطبيين الكليات كلية الزهراوي للطب، كلية الزهراوي ل…

MistressPoster promosiJudul asli미스트리스 GenreMisteriThrillerRomansaBerdasarkanMistressesoleh S. J. Clarkson dan Lowri GlainPengembangStudio DragonDitulis olehGo Jung-woonKim Jin-wookSutradaraHan Ji-seungPemeranHan Ga-inShin Hyun-binChoi Hee-seoGoo Jae-yi [ko]Negara asalKorea SelatanBahasa asliKoreaJmlh. episode12ProduksiProduser eksekutifCho Hyung-jinKim Sang-heonRumah produksiChorokbaem MediaDistributorOCNRilis asliJaringanOCNFormat gambar1080i (HDTV)Format audioDolby Digit…

Musée archéologique Saint-Pierre de VienneInformations généralesType Musée archéologique, site historique, collection (en)Ouverture 1872Visiteurs par an 6 792[1] (2008)Site web site du muséeCollectionsCollections musée archéologiqueBâtimentProtection Classé MH (1862)LocalisationPays FranceCommune VienneAdresse Place Saint-Pierre 38200 VienneCoordonnées 45° 31′ 25″ N, 4° 52′ 15″ ELocalisation sur la carte d’IsèreLocalisation sur la …

Depuis son adhésion à l'Union, le 10 décembre 1817, l'État du Mississippi élit deux sénateurs, membres du Sénat fédéral. Liste Liste des sénateurs des États-Unis représentant le Mississippi Sénateur de classe 1 Congrès Sénateur de classe 3 1er(1789-1791) 2e(1791-1793) 3e(1793-1795) 4e(1795-1797) 5e(1797-1799) 6e(1799-1801) 7e(1801-1803) 8e(1803-1805) 9e(1805-1807) 10e(1807-1809) 11e(1809-1811) 12e(1811-1813) 13e(1813-1815) 14e(1815-1817) 15e(1817-1819) 16e(1819-1821) 17e(1821-1823…

Indian actor, sports car racer (born 1971) Ajith (actor) redirects here. For other uses, see Ajit (disambiguation) and Ajit Kumar (disambiguation). Ajith KumarAjith in 2010 at Irungattukottai Race TrackBornAjith Kumar Subramaniam (1971-05-01) 1 May 1971 (age 52)OccupationsActorrace car driverYears active1990–presentSpouse Shalini ​(m. 2000)​Children2 Ajith Kumar (born 1 May 1971) is an Indian actor who works predominantly in Tamil cinema. To date, he has …

Komando Resor Militer 012/Teuku UmarLambang Korem 012/Teuku UmarDibentuk30 Mei 1962Negara IndonesiaAliansiKodam Iskandar MudaCabangMulti KorpsTipe unitKoremPeranPasukan TeritorialBagian dariTentara Nasional IndonesiaMarkasMeulaboh, Aceh Barat, AcehJulukanKorem 012/TUMotoKeberanian, Kepemimpinan, Keahlian dan PatriotismeBaret H I J A U Ulang tahun30 meiTokohKomandanKol Inf Deni GunawanKepala StafLetkol Inf Wijayanto Kusumo Harjono Komando Resor Militer 012/Teuku Umar biasa disingka…

2015 single by Ladies' CodeI'll Smile, Even if it HurtsSingle by Ladies' CodeReleasedSeptember 7, 2015 (2015-09-07) (South Korea)Recorded2015Genre K-pop ballad Length7:36Label Polaris LOEN Songwriter(s)Lee SojungLadies' Code singles chronology Kiss Kiss (2014) I'll Smile, Even if it Hurts (2015) Myst3ry (2016) I'll Smile, Even if it Hurts is a song recorded by South Korean girl group Ladies' Code. It is the group's first release following the deaths of members EunB and RiSe in Sep…

First Lady of the United States (1857-1861) For ships named Harriet Lane, see USCGC Harriet Lane. For the British writer, see Harriet Lane (author). Harriet LaneLane c. 1860Acting First Lady of the United StatesIn roleMarch 4, 1857 – March 4, 1861PresidentJames BuchananPreceded byJane PierceSucceeded byMary Todd Lincoln Personal detailsBornHarriet Rebecca Lane(1830-05-09)May 9, 1830Franklin County, Pennsylvania, U.S.DiedJuly 3, 1903(1903-07-03) (aged 73)Narragansett, Rhode Island…

Nokia 7373 adalah produk telepon genggam yang dirilis oleh perusahaan Nokia. Telepon genggam ini memiliki dimensi 88 x 43 x 23 mm dengan berat 104 gram. Fitur & Komponen Memori internal 8 MB, memori eksternal dengan microSD hingga 2 GB Kamera digital 2 MP, 1600x1200 pixels SMS MMS Email Permainan Sudoku Music Guess Radio FM Stereo Bluetooth 2.0 with A2DP Java MIDP 2.0 MP3/AAC/M4A/eAAC+/AAC+ player Lihat pula Daftar produk Nokia Pranala luar informasi di GSM Arena lbsNokiaAnak usaha Noki…

Category 4 Atlantic hurricane in 2017 For other storms of the same name, see List of storms named Harvey. Hurricane Harvey Harvey near peak intensity prior to landfall in southern Texas on August 25Meteorological historyFormedAugust 17, 2017 (2017-08-17)ExtratropicalSeptember 1, 2017 (2017-09-01)DissipatedSeptember 2, 2017 (2017-09-02)Category 4 major hurricane1-minute sustained (SSHWS/NWS)Highest winds130 mph (215 km/h)Lowest …

Cet article est une ébauche concernant le thé. Vous pouvez partager vos connaissances en l’améliorant (comment ?) selon les recommandations des projets correspondants. Pour l’article homonyme, voir Blend. Différentes variétés de thé du Sri Lanka Un blend est un mélange de différentes variétés de thé, dans le but de créer un parfum particulier, bien équilibré, en combinant des thés de différentes origines et saveurs. Le procédé a également pour conséquence de lisser …

For other uses, see Dionysos (disambiguation). Municipality in GreeceDionysos ΔιόνυσοςMunicipalityDionysos SkylineDionysosLocation within the region Coordinates: 38°6′N 23°52′E / 38.100°N 23.867°E / 38.100; 23.867CountryGreeceAdministrative regionAtticaRegional unitEast AtticaGovernment • MayorGiannis Kalafatelis (Ind.)Area • Municipality69.36 km2 (26.78 sq mi) • Municipal unit21.41 km2 (8.27 sq&…

Pour les articles homonymes, voir Baccarat (homonymie). Baccarat L'hôtel de ville et le pont sur la Meurthe. Blason Logo Administration Pays France Région Grand Est Département Meurthe-et-Moselle Arrondissement Lunéville Intercommunalité Communauté de communes du Territoire de Lunéville à Baccarat Maire Mandat Christian Gex 2020-2026 Code postal 54120 Code commune 54039 Démographie Gentilé Bachâmois [1] Populationmunicipale 4 128 hab. (2021 ) Densité 305 hab./km2 Popul…

Kembali kehalaman sebelumnya