Inside the Machine: An Introduction to Architecture, Parallelism - - PowerPoint PPT Presentation

inside the machine an introduction to architecture
SMART_READER_LITE
LIVE PREVIEW

Inside the Machine: An Introduction to Architecture, Parallelism - - PowerPoint PPT Presentation

Inside the Machine: An Introduction to Architecture, Parallelism & its Applications Soumyabrata Dev The ADAPT SFI Research Centre https://soumyabrata.github.io/ UCD - Beijing-Dublin International College (BDIC) 7-May-2019 The ADAPT Centre


slide-1
SLIDE 1

Inside the Machine: An Introduction to Architecture, Parallelism & its Applications

Soumyabrata Dev

The ADAPT SFI Research Centre

https://soumyabrata.github.io/

UCD - Beijing-Dublin International College (BDIC) 7-May-2019

The ADAPT Centre is funded under the SFI Research Centres Programme (Grant 13/RC/2106) and is co-funded under the European Regional Development Fund.

slide-2
SLIDE 2

www.adaptcentre.ie

Course Overview

Course website is available here: https://www.scss.tcd.ie/~devs/bdic.html

slide-3
SLIDE 3

www.adaptcentre.ie

(1/3) Computer Architecture

slide-4
SLIDE 4

www.adaptcentre.ie

Computer Components

At the most basic level, a computer is a device consisting of three pieces:

  • A processor to interpret and execute programs
  • A memory to store both data and programs
  • A mechanism for transferring data to and from

the outside world.

slide-5
SLIDE 5

www.adaptcentre.ie

How computer understands our code?

slide-6
SLIDE 6

www.adaptcentre.ie

(2/3) Pipelining

slide-7
SLIDE 7

www.adaptcentre.ie

Laundry Example

  • Ann, Brian, Cathy, Dave each have
  • ne load of clothes to wash, dry, and

fold.

  • Washer takes 30 minutes.
  • Dryer takes 40 minutes.
  • Folder takes 20 minutes.
slide-8
SLIDE 8

www.adaptcentre.ie

Sequential Processing

  • Sequential laundry takes 6 hours for 4 loads.
  • If they learned pipelining, how long would

laundry take?

slide-9
SLIDE 9

www.adaptcentre.ie

Pipelined Processing

  • Pipelined laundry takes 3.5 hours for 4 loads.
slide-10
SLIDE 10

www.adaptcentre.ie

Thoughts on pipelining

  • Pipelining doesn't help latency of single task, it

helps throughput of entire workload.

  • Pipeline rate limited by slowest pipeline stage.
  • Multiple tasks operating simultaneously using

different resources.

  • Potential speedup = Number pipe stages.
slide-11
SLIDE 11

www.adaptcentre.ie

Use of Pipelining in computer

  • Instruction-level parallelism (ILP) is a measure of

how many operations in a computer program can be performed. “in parallel” at the same time.

slide-12
SLIDE 12

www.adaptcentre.ie

Activity Time

Consider the following program: e = a + b f = c + d m = e*f

  • Suppose, each instruction takes 1 unit of time to

complete.

  • Sequential processing = 3 units of time
  • How much time needed, if I employ ILP here?
slide-13
SLIDE 13

www.adaptcentre.ie

Types of parallelism

Three major categories to exploit parallelism:

  • Instruction-level parallelism

Multiple instructions from one instruction stream are executed simultaneously.

  • Thread-level parallelism

Multiple instruction streams are executed simultaneously.

  • Vector data parallelism

The same operation is performed simultaneously

  • n arrays of elements.
slide-14
SLIDE 14

www.adaptcentre.ie

(3/3) High Performance Computing

slide-15
SLIDE 15

www.adaptcentre.ie

HPC: Powering Deep Learning

1“Are AI/Machine Learning/Deep Learning in Your Company’s Future?”, insideBigData + NVIDIA 2EMC Digital Universe with Research & Analysis by IDC

slide-16
SLIDE 16

www.adaptcentre.ie

HPC Application

HPC technology is implemented in multidisciplinary areas including:

  • Biosciences
  • Geoscience and remote sensing data
  • Oil and gas industry modeling
  • Electronic design automation
  • Climate modeling
  • Media and entertainment
slide-17
SLIDE 17

www.adaptcentre.ie

HPC Application

HPC technology is implemented in multidisciplinary areas including:

  • Biosciences
  • Geoscience and remote sensing
  • Oil and gas industry modeling
  • Electronic design automation
  • Climate modeling
  • Media and entertainment
slide-18
SLIDE 18

Thank You

The ADAPT Centre is funded under the SFI Research Centres Programme (Grant 13/RC/2106) and is co-funded under the European Regional Development Fund.