50
Madison+ Ruby Madison, WI, USA August 21-22, 2015 The Most Energy Efficient Supercomputer on the Planet

Parallella: The Most Energy Efficient Supercomputer on the Planet

Embed Size (px)

Citation preview

Page 1: Parallella: The Most Energy Efficient Supercomputer on the Planet

Madison+ Ruby Madison, WI, USA August 21-22, 2015

The Most Energy Efficient Supercomputer on the Planet

Page 2: Parallella: The Most Energy Efficient Supercomputer on the Planet

Moore’s Law: 2x every 18 months

Page 3: Parallella: The Most Energy Efficient Supercomputer on the Planet

Moore’s Law: 2x every 18 months

Moore’s Law 1993 - 2013 http://www.washingtonpost.com/blogs/innovations/wp/2015/04/14/10-images-that-explain-the-incredible-power-of-moores-law/

https://www.parallella.org/board/

Page 4: Parallella: The Most Energy Efficient Supercomputer on the Planet
Page 5: Parallella: The Most Energy Efficient Supercomputer on the Planet

RayHightower.com

Page 6: Parallella: The Most Energy Efficient Supercomputer on the Planet

RJ-45

Power

μUSB

μHDMI

μSD

Page 7: Parallella: The Most Energy Efficient Supercomputer on the Planet

RISC

ARM

18 cores: 2 ARM + 16 RISC

Page 8: Parallella: The Most Energy Efficient Supercomputer on the Planet
Page 9: Parallella: The Most Energy Efficient Supercomputer on the Planet
Page 10: Parallella: The Most Energy Efficient Supercomputer on the Planet
Page 11: Parallella: The Most Energy Efficient Supercomputer on the Planet

Watts => Dollars.

Page 12: Parallella: The Most Energy Efficient Supercomputer on the Planet
Page 13: Parallella: The Most Energy Efficient Supercomputer on the Planet

17.8 million watts $17.8 million per year

Page 14: Parallella: The Most Energy Efficient Supercomputer on the Planet

5 watts for Parallella?

Page 15: Parallella: The Most Energy Efficient Supercomputer on the Planet
Page 16: Parallella: The Most Energy Efficient Supercomputer on the Planet

http://rayhightower.com/blog/2014/09/09/solar-powered-parallella/

Page 17: Parallella: The Most Energy Efficient Supercomputer on the Planet

http://rayhightower.com/blog/2014/09/09/solar-powered-parallella/

Page 18: Parallella: The Most Energy Efficient Supercomputer on the Planet

http://rayhightower.com/blog/2014/09/09/solar-powered-parallella/

5 volts 1 amp 5 watts

Solar!

Page 19: Parallella: The Most Energy Efficient Supercomputer on the Planet

If one ox could not do the job they did not try to grow a bigger ox, but used two oxen. When we need greater computer power, the answer is not to get a bigger computer, but to build systems of computers and operate them in parallel.

-Grace Hopper

Page 20: Parallella: The Most Energy Efficient Supercomputer on the Planet

Reduced Instruction Set Computer

RISC

Page 21: Parallella: The Most Energy Efficient Supercomputer on the Planet

ARM A9

Page 22: Parallella: The Most Energy Efficient Supercomputer on the Planet

RISC

ARM

18 cores: 2 ARM + 16 RISC

Page 23: Parallella: The Most Energy Efficient Supercomputer on the Planet
Page 24: Parallella: The Most Energy Efficient Supercomputer on the Planet

Hello Epiphany

Page 25: Parallella: The Most Energy Efficient Supercomputer on the Planet

host.c

epiphany.c

Page 26: Parallella: The Most Energy Efficient Supercomputer on the Planet
Page 27: Parallella: The Most Energy Efficient Supercomputer on the Planet

Find all primes up to 16,000,000. Serial on Parallella.

Page 28: Parallella: The Most Energy Efficient Supercomputer on the Planet

1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <math.h> 4 #include <time.h> 5 6 #define DEFAULT_MAX_TESTS 16000000 7 8 inline int isprime(unsigned long number) 9 {10 unsigned long i;11 unsigned long s = sqrt(number);12 for(i=3;i<=s;i+=2)13 {14 if(number % i == 0)15 return 0;16 }17 return 1;18 }

/* Copyright (c) Adapteva, contributed by M. Thompson with modifications by T. Malthouse. */

Page 29: Parallella: The Most Energy Efficient Supercomputer on the Planet

8 inline int isprime(unsigned long number) 9 {10 unsigned long i;11 unsigned long s = sqrt(number);12 for(i=3;i<=s;i+=2)13 {14 if(number % i == 0)15 return 0;16 }17 return 1;18 }

/* Copyright (c) Adapteva, contributed by M. Thompson with modifications by T. Malthouse. */

Page 30: Parallella: The Most Energy Efficient Supercomputer on the Planet
Page 31: Parallella: The Most Energy Efficient Supercomputer on the Planet

Find all primes up to 16,000,000. Serial on Mac OS X.

Page 32: Parallella: The Most Energy Efficient Supercomputer on the Planet

Same serial code, written in C.

Build it on OS X.

Page 33: Parallella: The Most Energy Efficient Supercomputer on the Planet
Page 34: Parallella: The Most Energy Efficient Supercomputer on the Planet

Find all primes up to 16,000,000. Parallel on Parallella.

Page 35: Parallella: The Most Energy Efficient Supercomputer on the Planet

27 #include <e-hal.h>28 29 // Default max number of prime tests per core30 // Used if a limit it not provided in argv[1]31 #define DEFAULT_MAX_TESTS 50000032 33 int main(int argc, char *argv[])34 {35 unsigned row, col, coreid, i, j;36 e_platform_t platform;37 e_epiphany_t dev;38

/* Copyright (c) Adapteva, contributed by M. Thompson with modifications by T. Malthouse.*/

Page 36: Parallella: The Most Energy Efficient Supercomputer on the Planet
Page 37: Parallella: The Most Energy Efficient Supercomputer on the Planet

Serial/Parallella:

Serial/Mac:

Parallel/Parallella:

237.1 sec

14.4 sec

18.6 sec

Summary: Finding Primes

18 cores (using one). Up to 1GHz. $150.00

4 cores (using one). 2.7GHz. $2,000.00

18 cores. Up to 1GHz. $150.00

Page 38: Parallella: The Most Energy Efficient Supercomputer on the Planet

Mandelbrot Set

Page 39: Parallella: The Most Energy Efficient Supercomputer on the Planet
Page 40: Parallella: The Most Energy Efficient Supercomputer on the Planet

Why?

Page 41: Parallella: The Most Energy Efficient Supercomputer on the Planet

Finite Element Analysis

http://www.ce.ncsu.edu/news/article/21550/making-bridges-more-robust-to-earthquakes/

Page 42: Parallella: The Most Energy Efficient Supercomputer on the Planet

break?

wear out?

work?

Finite Element Analysis

Will it{

Page 43: Parallella: The Most Energy Efficient Supercomputer on the Planet

Free Body Diagram

FF appliedfriction

Fgravity

Fnormal

Page 44: Parallella: The Most Energy Efficient Supercomputer on the Planet

Finite Element Analysis

http://www.ce.ncsu.edu/news/article/21550/making-bridges-more-robust-to-earthquakes/

Page 45: Parallella: The Most Energy Efficient Supercomputer on the Planet

https://www.e-education.psu.edu/worldofweather/node/2029

Grid spacing influences accuracy.

Weather Prediction

Page 46: Parallella: The Most Energy Efficient Supercomputer on the Planet

Parallella vs GPU

Page 47: Parallella: The Most Energy Efficient Supercomputer on the Planet

384 cores

MacBook Pro Video

Page 48: Parallella: The Most Energy Efficient Supercomputer on the Planet

Specialized vs. General

Page 49: Parallella: The Most Energy Efficient Supercomputer on the Planet
Page 50: Parallella: The Most Energy Efficient Supercomputer on the Planet

Thanks!RayHightower.com