Get the Parallelism out of my Cloud Karu Sankaralingam and Remzi H. - - PowerPoint PPT Presentation

get the parallelism out of my cloud
SMART_READER_LITE
LIVE PREVIEW

Get the Parallelism out of my Cloud Karu Sankaralingam and Remzi H. - - PowerPoint PPT Presentation

Department of Computer Science Get the Parallelism out of my Cloud Karu Sankaralingam and Remzi H. Arpaci-Dusseau University of Wisconsin-Madison http://www.cs.wisc.edu/vertical Department of Computer Science The Good Old Times horse pulls


slide-1
SLIDE 1

Department of Computer Science

Get the Parallelism out of my Cloud

Karu Sankaralingam and Remzi H. Arpaci-Dusseau University of Wisconsin-Madison http://www.cs.wisc.edu/vertical

slide-2
SLIDE 2

Department of Computer Science

The Good Old Times

2

Hardware drives Software horse pulls the cart

slide-3
SLIDE 3

Department of Computer Science

3

  • r maybe not so good times….
slide-4
SLIDE 4

Department of Computer Science

New World?

4

Multi-core drives bloated Software?

slide-5
SLIDE 5

Department of Computer Science

5

Do (real) developers and users care? What does it provide to end-users? Who is the end-user?

slide-6
SLIDE 6

Department of Computer Science

6

Can we exploit some synergistic trends… Cloud + Multicore = ?

slide-7
SLIDE 7

Department of Computer Science

Cloud + Devices

7

slide-8
SLIDE 8

Department of Computer Science

8

Users (billions)

Average Joe programmer

Gurus (1271)

100 million

Cloud + Devices

slide-9
SLIDE 9

Department of Computer Science

Myth vs. Reality

9

i. Hardware drives Software

  • ii. Multicore everywhere
  • iii. Everyone must be a parallel programmer
slide-10
SLIDE 10

Department of Computer Science

  • Primary driver for software:

– Efficiency and thus cycles were precious – Hardware folks have been hard at work – Counting cycles is no longer the developer’s primary worry

Hardware Drives Software

10

slide-11
SLIDE 11

Department of Computer Science

  • Today’s development is at a high-level of

abstraction (figuratively and literally at the cloud level):

– Google’s 1st hit for lamp? – Django, Ruby, AJAX – Primary driver:

  • Laziness  - write as little code as possible
  • Don’t repeat yourself (DRY)
  • Duplication is Evil

Hardware Drives Software

11

slide-12
SLIDE 12

Department of Computer Science

Does Hardware drive Software?

  • Software trends driven by:

– Development productivity – What end-users want

  • Maybe software is driving hardware?

– Intel SCC, Larrabee

  • Software trends have become decoupled?

12

slide-13
SLIDE 13

Department of Computer Science

Multicore Everywhere

13

slide-14
SLIDE 14

Department of Computer Science

Multicore Everywhere

14

Voltage scaling “stops” Number of cores Today 2014 2018 Mobile-devices 1 3-4 9-10

slide-15
SLIDE 15

Department of Computer Science

Multicore Everywhere

15

Cloud-driven free performance

slide-16
SLIDE 16

Department of Computer Science

Parallel Hardware All Parallel Programmers

  • Parallelism is a great challenge, but:

– disruptive (change undergrad curriculum?) – if necessary for multi-core, we probably needed it solved yesterday – Very hard

  • If possible, lets not solve it, because:

– disruptive; if necessary, for multi-core we needed it solved yesterday; very hard

– Lets leave it as an open problem  – May not be necessary

16

slide-17
SLIDE 17

Department of Computer Science

17

Cloud + Devices Parallelism Unnecessary (client-side)

slide-18
SLIDE 18

Department of Computer Science

18

Users (billions)

Average Joe programmer

Gurus (1271)

100 million

Cloud + Devices

  • Abundant concurrency

at server

  • Programmer in cloud
  • Simple clients
slide-19
SLIDE 19

Department of Computer Science

We probably agree that…

19

Efficiency is a primary goal… If efficiency is a primary goal… The fact that so much code is written at higher and higher levels of software may have system-wide implications… … motivates a vertically integrated approach?

slide-20
SLIDE 20

Department of Computer Science

Data-Centric Concurrency

  • Simple hardware, because of s/w model
  • Simple s/w, because done at high-level
  • Specialization for efficiency
slide-21
SLIDE 21

Department of Computer Science

Some Implications

21

Efficiency is a primary goal

Computation Specialization Concurrency Coherence Scheduling Using the Cloud Beyond C & Java?

slide-22
SLIDE 22

Department of Computer Science

Hardware: Exploit Software Trends

  • Use processors for computation

– 128 ALUs consume less area than Atom’s L1 data-cache – Specialization is possible

  • Map software abstraction to hardware

– Staged databases – PLUGs map data-structures to hardware

22

slide-23
SLIDE 23

Department of Computer Science

Software: exploit app. trend

  • Concurrency management
  • Global resource management
  • Storage

– On devices – On cloud

23

slide-24
SLIDE 24

Department of Computer Science

Education

  • Continue with C, Java, assembly?
  • Or parallelism?

– Some (small) number of programmers must wrestle with parallelism – Should it be pervasive?

  • Or Cloud: Joe programmer is at this level

– What higher level languages? – What abstractions, mechanisms, skills?

24

slide-25
SLIDE 25

Department of Computer Science

Conclusion

  • Today’s processor is very capable…

– This talk created and given on a $220 netbook

  • S/W & programmer driven by productivity

– Developing at cloud-level already

  • Hardware must follow the S/W trend
  • Should we rethink roll of parallelism?

25

slide-26
SLIDE 26

Department of Computer Science

Questions*

26

* Remzi is to blame for the things you disagree with…

slide-27
SLIDE 27

Department of Computer Science

27

slide-28
SLIDE 28

Department of Computer Science

Must Solve this Equation

28

Cloud computing Multicore

DCC

slide-29
SLIDE 29

Department of Computer Science

29

Ecosystem of Devices + Cloud Users like it (want it) Simple hardware and simple software

slide-30
SLIDE 30

Department of Computer Science

Must Solve this Equation

30

Cloud computing Multicore

slide-31
SLIDE 31

Department of Computer Science

One solution…

31

Does it exploit cloud + multicore synergy? Do (real) developers care? What does it provide to end-users?

slide-32
SLIDE 32

Department of Computer Science

Trends

  • Driven by energy efficiency
  • Hardware guys got lazy

32

Multicore

slide-33
SLIDE 33

Department of Computer Science

Trends

  • Easy to deploy software
  • Easy to deploy hardware
  • Simple devices to access

the cloud

33

Cloud computing