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

Gustafson's law

Evolution according to Gustafson's Law of the theoretical speedup in latency of the execution of a program as a function of the number of processors executing it, for different values of a

In computer architecture, Gustafson's law (or Gustafson–Barsis's law[1]) gives the speedup in the execution time of a task that theoretically gains from parallel computing, using a hypothetical run of the task on a single-core machine as the baseline. To put it another way, it is the theoretical "slowdown" of an already parallelized task if running on a serial machine. It is named after computer scientist John L. Gustafson and his colleague Edwin H. Barsis, and was presented in the article Reevaluating Amdahl's Law in 1988.[2]

Definition

Gustafson estimated the speedup of a program gained by using parallel computing as follows:

where

  • is the theoretical speedup of the program with parallelism (scaled speedup[2]);
  • is the number of processors;
  • and are the fractions of time spent executing the serial parts and the parallel parts of the program, respectively, on the parallel system, where .

Alternatively, can be expressed using :

Gustafson's law addresses the shortcomings of Amdahl's law, which is based on the assumption of a fixed problem size, that is of an execution workload that does not change with respect to the improvement of the resources. Gustafson's law instead proposes that programmers tend to increase the size of problems to fully exploit the computing power that becomes available as the resources improve.[2]

Gustafson and his colleagues further observed from their workloads that time for the serial part typically does not grow as the problem and the system scale,[2] that is, is fixed. This gives a linear model between the processor count and the speedup with slope , as shown in the figure above (which uses different notations: for and for ). Also, scales linearly with rather than exponentially in the Amdahl's Law.[2] With these observations, Gustafson "expect[ed] to extend [their] success [on parallel computing] to a broader range of applications and even larger values for ".[2]

The impact of Gustafson's law was to shift[citation needed] research goals to select or reformulate problems so that solving a larger problem in the same amount of time would be possible. In a way the law redefines efficiency, due to the possibility that limitations imposed by the sequential part of a program may be countered by increasing the total amount of computation.

Derivation

The execution time of a program running on a parallel system can be split into two parts:

  • a part that does not benefit from the increasing number of processors (serial part);
  • a part that benefits from the increasing number of processors (parallel part).

Example. — A computer program that processes files from disk. A part of that program may scan the directory of the disk and create a list of files internally in memory. After that, another part of the program passes each file to a separate thread for processing. The part that scans the directory and creates the file list cannot be sped up on a parallel computer, but the part that processes the files can.

Without loss of generality, let the total execution time on the parallel system be . Denote the serial time as and the parallel time as , where . Denote the number of processors as .

Hypothetically, when running the program on a serial system (only one processor), the serial part still takes , while the parallel part now takes . The execution time on the serial system is:

Using as the baseline, the speedup for the parallel system is:

By substituting or , several forms in the previous section can be derived.

Applications

Application in research

Amdahl's law presupposes that the computing requirements will stay the same, given increased processing power. In other words, an analysis of the same data will take less time given more computing power.

Gustafson, on the other hand, argues that more computing power will cause the data to be more carefully and fully analyzed: pixel by pixel or unit by unit, rather than on a larger scale. Where it would not have been possible or practical to simulate the impact of nuclear detonation on every building, car, and their contents (including furniture, structure strength, etc.) because such a calculation would have taken more time than was available to provide an answer, the increase in computing power will prompt researchers to add more data to more fully simulate more variables, giving a more accurate result.

Application in everyday computer systems

Amdahl's Law reveals a limitation in, for example, the ability of multiple cores to reduce the time it takes for a computer to boot to its operating system and be ready for use. Assuming the boot process was mostly parallel, quadrupling computing power on a system that took one minute to load might reduce the boot time to just over fifteen seconds. But greater and greater parallelization would eventually fail to make bootup go any faster, if any part of the boot process were inherently sequential.

Gustafson's law argues that a fourfold increase in computing power would instead lead to a similar increase in expectations of what the system will be capable of. If the one-minute load time is acceptable to most users, then that is a starting point from which to increase the features and functions of the system. The time taken to boot to the operating system will be the same, i.e. one minute, but the new system would include more graphical or user-friendly features.

Limitations

Some problems do not have fundamentally larger datasets. As an example, processing one data point per world citizen gets larger at only a few percent per year. The principal point of Gustafson's law is that such problems are not likely to be the most fruitful applications of parallelism.

Algorithms with nonlinear runtimes may find it hard to take advantage of parallelism "exposed" by Gustafson's law. Snyder[3] points out an algorithm means that double the concurrency gives only about a 26% increase in problem size. Thus, while it may be possible to occupy vast concurrency, doing so may bring little advantage over the original, less concurrent solution—however in practice there have still been considerable improvements.

Hill and Marty[4] emphasize also that methods of speeding sequential execution are still needed, even for multicore machines. They point out that locally inefficient methods can be globally efficient when they reduce the sequential phase. Furthermore, Woo and Lee[5] studied the implication of energy and power on future many-core processors based on Amdahl's law, showing that an asymmetric many-core processor can achieve the best possible energy efficiency by activating an optimal number of cores given the amount of parallelism is known prior to execution.

Al-hayanni, Rafiev et al have developed novel speedup and energy consumption models based on a general representation of core heterogeneity, referred to as the normal form heterogeneity, that support a wide range of heterogeneous many-core architectures. These modelling methods aim to predict system power efficiency and performance ranges, and facilitates research and development at the hardware and system software levels.[6][7]

See also

References

  1. ^ McCool, Michael D.; Robison, Arch D.; Reinders, James (2012). "2.5 Performance Theory". Structured Parallel Programming: Patterns for Efficient Computation. Elsevier. pp. 61–62. ISBN 978-0-12-415993-8.
  2. ^ a b c d e f Gustafson, John L. (May 1988). "Reevaluating Amdahl's Law". Communications of the ACM. 31 (5): 532–3. CiteSeerX 10.1.1.509.6892. doi:10.1145/42411.42415. S2CID 33937392.
  3. ^ Snyder, Lawrence (June 1986). "Type Architectures, Shared Memory, and The Corollary of Modest Potential" (PDF). Annu. Rev. Comput. Sci. 1: 289–317. doi:10.1146/annurev.cs.01.060186.001445.
  4. ^ Hill, Mark D.; Marty, Michael R. (July 2008). "Amdahl's Law in the Multicore Era". IEEE Computer. 41 (7): 33–38. CiteSeerX 10.1.1.221.8635. doi:10.1109/MC.2008.209. UW CS-TR-2007-1593.
  5. ^ Dong Hyuk Woo; Hsien-Hsin S. Lee (December 2008). "Extending Amdahl's Law for Energy-Efficient Computing in the Many-Core Era". IEEE Computer. 41 (12): 24–31. CiteSeerX 10.1.1.156.3907. doi:10.1109/mc.2008.494. S2CID 6136462.
  6. ^ Rafiev, Ashur; Al-Hayanni, Mohammed A. N.; Xia, Fei; Shafik, Rishad; Romanovsky, Alexander; Yakovlev, Alex (2018-07-01). "Speedup and Power Scaling Models for Heterogeneous Many-Core Systems". IEEE Transactions on Multi-Scale Computing Systems. 4 (3): 436–449. doi:10.1109/TMSCS.2018.2791531. ISSN 2332-7766. S2CID 52287374.
  7. ^ Al-hayanni, Mohammed A. Noaman; Xia, Fei; Rafiev, Ashur; Romanovsky, Alexander; Shafik, Rishad; Yakovlev, Alex (July 2020). "Amdahl's law in the context of heterogeneous many-core systems – a survey". IET Computers & Digital Techniques. 14 (4): 133–148. doi:10.1049/iet-cdt.2018.5220. ISSN 1751-8601. S2CID 214415079.


Read other articles:

أهلا بالحب أهلا بالحب  الصنف دراما، رومانسي تاريخ الصدور 1 يناير 1968 مدة العرض 90 دقيقة البلد  مصر لبنان اللغة الأصلية العربية الطاقم المخرج محمد سلمان الإنتاج أفلام عدنان الحوت الكاتب محمد سلمان البطولة فريد شوقيصباح صناعة سينمائية تصوير سينمائي إبراهيم شامات التر...

Armenian Patriarch of Jerusalem His Beatitude PatriarchNourhan ManougianArmenian Patriarch of JerusalemChurchArmenian Apostolic ChurchSeeApostolic See of St. James in JerusalemElected24 January 2013 and enthroned on 4 June 2013PredecessorTorkom ManoogianPersonal detailsBorn (1948-06-24) 24 June 1948 (age 75)Aleppo, SyriaDenominationArmenian Apostolic Patriarch Nourhan Manougian (Armenian: Ամենապատիւ Տէր Նուրհան Արքեպիսկոպոս Մանուկեան Երուսա...

Pilón Lajas Biosphere Reserve and Communal LandsRed-faced spider monkeyLocation BoliviaBeni Department, La Paz Department,Nearest citySan Borja (50 km)Area400.000 haEstablished1992 Pilón Lajas Biosphere Reserve and Communal Lands (Reserva de Biosfera y Tierra Comunitaria de Origen Pilón Lajas) is a protected area in Bolivia located in the departments of La Paz (Sud Yungas, Larecaja and Franz Tamayo provinces) and Beni (José Ballivián Province), in their northern and western par...

Див. також: Пісня любові (Джорджо де Кіріко) Пісня любовіфр. Un chant d'amour Жанр мелодрама / фентезіРежисер Жан ЖенеПродюсер Нікос ПапатакісСценарист Жан ЖенеУ головних ролях Андре РейбазОператори Жак Натто, Жан Кокто (в титрах не зазначений)Композитор Gavin BryarsdМузика Гевіна Бр...

Gustav Völker (* 1. Februar 1889 in Isernhagen bei Hannover; † 3. Oktober 1974) war ein deutscher Heraldiker. Inhaltsverzeichnis 1 Leben 2 Geschaffene Kommunalwappen 3 Literatur 4 Weblinks Leben Niedersachsenross (Entwurf von Gustav Völker) Nach einer Lehre als Glas- und Porzellanmaler und dem Besuch der Kunstgewerbeschule Hannover wirkte Gustav Völker von 1928 bis 1964 als Kunsterzieher an Oberschulen. Das heraldische Wirken von Gustav Völker gilt als beachtlich. Von ihm stammt unter a...

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: Kiribati – news · newspapers · books · scholar · JSTOR (October 2023) (Learn how and when to remove this template message)Country in the central Pacific Ocean For other uses, see Kiribati (disambiguation). Republic of KiribatiKiribati (Gilbertese) Flag Coa...

Esta página cita fontes, mas que não cobrem todo o conteúdo. Ajude a inserir referências. Conteúdo não verificável pode ser removido.—Encontre fontes: ABW  • CAPES  • Google (N • L • A) (Dezembro de 2020) Rio Claro   Município do Brasil   Panorama da cidade de Rio Claro durante o 21.º Campeonato Mundial de Balonismo.Panorama da cidade de Rio Claro durante o 21.º Campeonato Mundial de Balonismo. Símb...

Jacek Dehnel (2011) Jacek Maria Dehnel (* 1. Mai 1980 in Danzig) ist ein polnischer Schriftsteller, Übersetzer und Maler. Inhaltsverzeichnis 1 Leben 2 Werke 2.1 Lyrik 2.2 Prosa 2.3 Übersetzungen ins Polnische 2.4 Drehbücher 3 Weblinks 4 Einzelnachweise Leben Jacek Dehnel besuchte das Stefan-Żeromski-Gymnasium in Oliva und studierte danach in Warschau Polnische Sprache und Literatur. Seitdem arbeitet Dehnel in Warschau als Lyriker, Prosaist, Übersetzer und Maler. Mit seinem Roman Lala wur...

Minoa PediadaΜινώα Πεδιάδα Letak Zona waktu: EET/EEST (UTC+2/3) Pemerintah Negara: Yunani Periferal: Kreta Statistik penduduk (pada 2011[1]) Kotamadya  - Jumlah penduduk: 17.563  - Luas: 398,2 km² (154 sq mi)  - Kepadatan: 44 /km² (114 /sq mi) Kode Minoa Pediada (bahasa Yunani: Μινώα Πεδιάδα, Dataran Minoa) merupakan nama dari sebuah kotamadya di unit regional Heraklion, Kreta, Yunani. Pusat dari...

Sophia Antípolis Entidad subnacional Coordenadas 43°37′20″N 7°03′00″E / 43.622222222222, 7.05Entidad Asentamiento, Parque científico y Polo tecnológico • País  Francia y https://www.sophia-antipolis.fr/en/ Sitio web oficial [editar datos en Wikidata] Sophia Antípolis es un parque tecnológico situado al noreste de Antibes y sureste de Niza (departamento de los Alpes Marítimos, Francia) fundado en 1969. Ocupa 2300 hectáreas en un entorno n...

Type of second-generation solar cell Thin-film solar cells, a second generation of photovoltaic (PV) solar cells: Top: thin-film silicon laminates being installed onto a roof. Middle: CIGS solar cell on a flexible plastic backing and rigid CdTe panels mounted on a supporting structure Bottom: thin-film laminates on rooftops Thin-film solar cells are made by depositing one or more thin layers (thin films or TFs) of photovoltaic material onto a substrate, such as glass, plastic or metal. Thin-f...

Ancien détenu du camp, Francisco Boix, témoignant lors du procès de Mauthausen-Gusen à Dachau, en 1946. Le procès de Mauthausen ou procès de Mauthausen-Gusen est une série de deux procès concernant 69 anciens SS ayant travaillé dans le camp de concentration de Mauthausen lors de la Seconde Guerre mondiale. Ils furent jugés par le tribunal du gouvernement militaire américain à Dachau, entre le 29 mars et le 13 mai 1946, puis du 6 août au 21 août 1947. Parmi eux fig...

Critique de l'économie politique Pour les articles homonymes, voir Le Capital (homonymie). Le Capital Couverture originale du livre Premier Auteur Karl Marx Pays Allemagne Genre Sciences économiques, Philosophie politique Version originale Langue allemand Titre Das Kapital, Kritik der politischen Ökonomie Éditeur Verlag von Otto Meisner Lieu de parution Hambourg Date de parution 14 septembre 1867 Version française Traducteur Joseph Roy Éditeur Maurice Lachâtre Lieu de parution Paris mo...

Belvoir Park Golf ClubClub informationLocation in BelfastCoordinates54°33′41″N 5°54′51″W / 54.561466°N 5.914187°W / 54.561466; -5.914187LocationBelfast, Northern IrelandEstablished1927, 96 years agoTypePrivateTotal holes18Events hostedIrish Open (1949, 1953)Websitebelvoirparkgolfclub.comBelvoir Park GCDesigned byHarry ColtPar70/71Length6,685 yards (6,113 m)Course recordCharlie Cooley (Gross 62, nett 61)[1][2] The Belvoir Park Golf Club ...

American lawyer William L. Frierson16th United States Solicitor GeneralIn officeJune 1, 1920 – June 30, 1921[1]PresidentWoodrow WilsonPreceded byAlexander C. KingSucceeded byJames M. Beck Personal detailsBorn(1868-09-03)September 3, 1868Shelbyville, TennesseeDiedMay 25, 1953(1953-05-25) (aged 84)Columbia, TennesseeAlma materSouthwestern Presbyterian University William Little Frierson (September 3, 1868 – May 25, 1953) was an American lawyer, judge, and politician. Du...

Not to be confused with Oak Forest, Texas. 29°49′41″N 95°25′31″W / 29.82806°N 95.42528°W / 29.82806; -95.42528 Oak Forest marker Oak Forest Branch Houston Public Library Oak Forest is a large residential community in northwest Houston, Texas, United States. Oak Forest is the third largest group of subdivisions in Harris County (behind Kingwood and Sharpstown).[1] History This section needs additional citations for verification. Please help improve t...

2007 single by Tiësto featuring Christian BurnsIn the DarkSingle by Tiësto featuring Christian Burnsfrom the album Elements of Life ReleasedMarch 2007 (2007-03)Recorded2007GenreProgressive tranceelectro rockLength3:54 (Radio Edit)LabelMagik MuzikBlack HoleUltraSongwriter(s)Tijs VerwestDennis Waakop ReijersChristian BurnsProducer(s)TiëstoDJ Waakop ReijersTiësto singles chronology He's a Pirate(2006) In the Dark(2007) Break My Fall(2007) Christian Burns singles chronology ...

1988 EP by Sting...Nada como el solEP by StingReleased16 February 1988GenreSoft rockLength24:09LabelA&MProducerBryan Loren, Jose L. Quintana, Neil DorfsmanSting chronology ...Nothing Like the Sun(1987) ...Nada como el sol(1988) The Soul Cages(1991) Nada Como el Sol is an extended play by English musician Sting, containing five songs from his second solo album Nothing Like the Sun sung in Spanish and Portuguese and published in 1988.[1][2] It therefore contains four...

Swedish businessman and diplomat Portrait of Raoul Nordling Raoul Nordling (French: [ʁaul nɔʁdliŋ], Swedish: [ˈrɑ̌ːʊl ˈnûːɖlɪŋ]; 11 November 1882 – 1 October 1962) was a Swedish-French businessman and diplomat. He was born in Paris and spent most of his life there. Biography Nordling's father, Carl Gustav Nordling, arrived in Paris from Sweden at the end of the 1870s, and established the paper-paste firm Gustav Nordling. Born in Paris, Raoul studied at the Lyc...

Questa voce sull'argomento Berlino è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Buch Stato Germania CittàBerlino DistrettoPankow Data istituzione1920 Codice0309 Superficie18,2 km² Abitanti13 188 ab. (30-6-2008) Densità724,62 ab./km² Mappa dei quartieri di Coordinate: 52°37′59.88″N 13°30′00″E / 52.6333°N 13.5°E52.6333; 13.5 Buch è un quartiere di Berlino, appartenente al distretto di Pankow. Voci correlate S...

Kembali kehalaman sebelumnya