Programming Languages for Distributed Computing Thanks to Hadoop many

Programming languages for distributed computing

This preview shows page 37 - 49 out of 54 pages.

Programming Languages for Distributed Computing Thanks to Hadoop , many programming languages can be used to give special instructions to use multiple processing and memory units 37 RunInParallel [CountWords (Q1, Pr1) CountWords (Q2, Pr2) CountWords (Q3, Pr3) CountWords (Q4, Pr4)] If { variable ?DoneCounting in SharedMemory } = 4 then {all processors are finished} Add WordCount variables from (Pr1, Pr2, Pr3, Pr4) else wait S H A R E D M E M O R Y Data Q1 Data Q2 Data Q3 Data Q4 MapReduce and Hadoop
Image of page 37
Languages can affect execution time When using fewer cores , the extent to which (and where!) processing is slowed depends on the programming language 38 tp://emptypipes.org/2015/01/17/python-vs-scala-vs-spark/
Image of page 38
Supercomputers 39
Image of page 39
Supercomputers in the 1980s 2" by NASA - . Licensed under Public Domain via Wikimedia Commons – tps://commons.wikimedia.org/wiki/File:Cray2.jpeg#/media/File:Cray2.jpeg CRAY-I 1 clean" by Rama - Own work. Licensed under CC BY-SA 2.0 fr via Wikimedia Commons – tps://commons.wikimedia.org/wiki/File:EPFL_CRAY-I_1_clean.jpg#/media/File:EPFL_CRAY-I_1_clean.jpg // Cray-2 @ NASA (1985) Cray X-MP @ EPFL (1982) 40
Image of page 40
41
Image of page 41
Floating Point Operations per Second (FLOPS) Name Abbreviation FLOPS kiloFLOPS kFLOPS 10 3 megaFLOPS MFLOPS 10 6 gigaFLOPS GFLOPS 10 9 teraFLOPS TFLOPS 10 12 petaFLOPS PFLOPS 10 15 exaFLOPS EFLOPS 10 18 zettaFLOPS ZFLOPS 10 21 yottaFLOPS YFLOPS 10 24 42
Image of page 42
Supercomputers in the 1980s "Cray2" by NASA - . Licensed under Public Domain via Wikimedia Commons – "EPFL CRAY-I 1 clean" by Rama - Own work. Licensed under CC BY-SA 2.0 fr via Wikimedia Commons – Cray-2 (1985) 1.59 GFLOPS Cray X-MP (1982) 400 MFLOPS 43
Image of page 43
Supercomputers in the 1980s y2" by NASA - . Licensed under Public Domain via Wikimedia Commons – ttps://commons.wikimedia.org/wiki/File:Cray2.jpeg#/media/File:Cray2.jpeg L CRAY-I 1 clean" by Rama - Own work. Licensed under CC BY-SA 2.0 fr via Wikimedia Commons – ttps://commons.wikimedia.org/wiki/File:EPFL_CRAY-I_1_clean.jpg#/media/File:EPFL_CRAY-I_1_clean.jpg 44 Cray-2 @ NASA (1985) 1.59 GFLOPS
Image of page 44
Supercomputers Today 45 ttps://en.wikipedia.org/wiki/Cray_XT5#/media/File:Jaguar_supercomputer.jpg Cray XT5 (2005) 1.75 PFLOPS 224,000 cores
Image of page 45
Supercomputer s Today Blue Waters (2012) 13.3 petaFLOPS 46
Image of page 46
Supercomputers Today 47 gle.com/url?sa=i&source=images&cd=&cad=rja&uact=8&ved=2ahUKEwjeqfqjj8LlAhUTt54KHSI3BHUQjRx6BAgBEAQ&url=https%3A%2F%2Fwww.kisspng.com%2Fpng-cray-xe6-supercomputer-cray-xk6-multi-core-process-4866082%2F&psig=AOvVaw1E-Jwkq6kry2m-2oBU6UB4&ust=1 Cray XK6 (Started building in 2011) 50 PFLOPS Up to 500,000 cores with CPUs and GPUs
Image of page 47
Supercomputers Today 48 gle.com/url?sa=i&source=images&cd=&cad=rja&uact=8&ved=2ahUKEwjeqfqjj8LlAhUTt54KHSI3BHUQjRx6BAgBEAQ&url=https%3A%2F%2Fwww.kisspng.com%2Fpng-cray-xe6-supercomputer-cray-xk6-multi-core-process-4866082%2F&psig=AOvVaw1E-Jwkq6kry2m-2oBU6UB4&ust=1 Sunway TaihuLight (2016) 93 PFLOPS
Image of page 48
Image of page 49

You've reached the end of your free preview.

Want to read all 54 pages?

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes