Docsity

An Introduction to the Parallel Computing - Project 2 | CMSC 714, Study Guides, Projects, Research of Computer Science

Toggle sidebar
bg1
1
CMSC 714
High Performance Computing
Lecture 1 - Introduction
http://www.cs.umd.edu/class/fall2007/cmsc714
Alan Sussman
2
CMSC 714 โ€“ F07 Alan Sussman & Jeffrey K. Hollingsworth
Introduction
zClass is an introduction to parallel computing
โ€“ topics include: hardware, applications, compilers, system
software, and tools
zCounts for Masters/PhD Comp Credit
zWork required
โ€“ small programming assignments (two) - MPI/OpenMP
โ€“midterm
โ€“ classroom participation
โ€ข Everyone will have to present papers for 1 or 2 classes
โ€ข For each class with readings, everyone has to send me
one question to discuss in class
โ€“ group project (2 students per group)
pf3
pf4
pf5

Partial preview of the text

Download An Introduction to the Parallel Computing - Project 2 | CMSC 714 and more Study Guides, Projects, Research Computer Science in PDF only on Docsity!

CMSC 714

High Performance Computing

Lecture 1 - Introduction

http://www.cs.umd.edu/class/fall2007/cmsc

Alan Sussman

CMSC 714 โ€“ F07 Alan Sussman & Jeffrey K. Hollingsworth^2

Introduction

z Class is an introduction to parallel computing

  • topics include: hardware, applications, compilers, system software, and tools

z Counts for Masters/PhD Comp Credit

z Work required

  • small programming assignments (two) - MPI/OpenMP
  • midterm
  • classroom participation
    • Everyone will have to present papers for 1 or 2 classes
    • For each class with readings, everyone has to send me one question to discuss in class
  • group project (2 students per group)

CMSC 714 โ€“ F07 Alan Sussman & Jeffrey K. Hollingsworth^3

What is Parallel Computing?

z Does it include:

  • super-scalar processing (more than one instruction at once)?
  • client/server computing?
    • what if RPC calls are non-blocking?
  • vector processing (same instruction to several values)?
  • collection of PCโ€™s not connected to a (fast) network?

z For this class, parallel computing requires:

  • more than one processing element
  • nodes connected to a communication network
  • nodes working together to solve a single problem

CMSC 714 โ€“ F07 Alan Sussman & Jeffrey K. Hollingsworth^4

Why Parallelism

z Speed

  • need to get results faster than possible with sequential
    • a weather forecast that is late is useless
  • could come from
    • more processing elements (P.E.โ€™s)
    • more memory (or cache)
    • more disks

z Cost: cheaper to buy many smaller machines

  • this is only relatively recently true due to
    • VLSI
    • commodity parts

CMSC 714 โ€“ F07 Alan Sussman & Jeffrey K. Hollingsworth^7

SIMD

0 1

1

0 1

Program Counter

Mask Flag

Processors

Program

CMSC 714 โ€“ F07 Alan Sussman & Jeffrey K. Hollingsworth^8

MIMD

Processors

Program Counter Program Counter Program Counter

Program #1 Program #2 Program #

CMSC 714 โ€“ F07 Alan Sussman & Jeffrey K. Hollingsworth^9

SPMD

Processors

Program Counter Program Counter Program Counter

Program Program Program

Program

CMSC 714 โ€“ F07 Alan Sussman & Jeffrey K. Hollingsworth^10

I1 I2 I

Dataflow

instruction instruction

I

CMSC 714 โ€“ F07 Alan Sussman & Jeffrey K. Hollingsworth^13

Memory Systems

z Key Performance Issues

  • latency: time for first byte
  • throughput: average bytes/second

z Design Issues

  • Where is the memory
    • divided among each node
    • centrally located (on communication network)
  • Access by processors
    • can all processors get to all memory?
    • is the access time uniform?
      • UMA vs. NUMA