The Queen's University of Belfast
Parallel Computer Centre

[Next] [Previous] [Top]

Parallel Processing


Parallel Processing

Hardware Level

Software Level

Autotasking



Sm = Maximum expected speedup from multitasking (wall-clock time not CPU time)

N = Number of processors available for parallel execution

fp = Fraction of a program that can execute in parallel

fs = Fraction of a program that is serial = 1 - f

Estimating percentage parallelism within a program

Method 1

Method 2 (a more accurate estimate)

Prerequisites for high performance

Parallelism and load balancing

Overhead

Memory usage

Master and slave tasks

Multitasking terminology

Multitasking/Parallel Processing

one program makes use of multiple processors to execute portions of the program simultaneously

Autotasking automatic distribution of loop iterations to multiple processors (or tasks) using cf77 compiler

Parallel region section of code executed by multiple processors - can be classified as partitioned or redundant

Single-threaded code section of code that is executed by only one processor at a time

Serial code section of code that is executed by only one processor

Partitioned code code within a parallel region in which multiple processors share the work that needs to be done, each processor does a different portion of the work

Redundant code code in a parallel region in which processors duplicate the work that needs to be available to all processors

Data dependency when a computation in one iteration of a loop requires a value computed in another iteration of the loop

Synchronization process of coordinating the steps within concurrent/parallel regions

Master task task that executes all of the serial code, initiates parallel processing, and waits until parallel processing is finished before leaving the Autotasking region

Slave task task initiated by the master task

Directives special lines of code beginning with CDIR$, CDIR@, CMIC$, CMIC@, or CFPP$ that give the compiling system information about a program.


[Next] [Previous] [Top]
All documents are the responsibility of, and copyright, © their authors and do not represent the views of The Parallel Computer Centre, nor of The Queen's University of Belfast.
Maintained by Alan Rea, email A.Rea@qub.ac.uk
Generated with CERN WebMaker