CSC/ECE 506 Fall 2007/wiki1 6 r8e: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
== Communication Architecture Background ==
== Communication Architecture ==
Parallel computers must have two types of architectures.  One of these is this computer architecture, or that of the individual processors that are interconnected.  Each of these processors has an instruction set architecture and microarchitecture, or a system of computer organization at a very low level that make up the computer architecture.  The second type of architecture that is needed for parallel computing is that of a commuincation architecture, or a way in which the individual processors can communicate and work together to do useful things, this includes synchronization among the processors.  Also, the commuincation architecture is closely linked with the hardware of the parallel computer because the hardware must be able to accomodate the communication operations.   
Parallel computers must have two types of architectures.  One of these is this computer architecture, or that of the individual processors that are interconnected.  Each of these processors has an instruction set architecture and microarchitecture, or a system of computer organization at a very low level that make up the computer architecture.  The second type of architecture that is needed for parallel computing is that of a communication architecture, or a way in which the individual processors can communicate and work together to do useful things, this includes synchronization among the processors.  Also, the communication architecture is closely linked with the hardware of the parallel computer because the hardware must be able to accommodate the communication operations.   


== Parallel Programming Models ==
== Parallel Programming Models ==
Line 6: Line 6:


=== Shared Address Space ===
=== Shared Address Space ===
Shared address space programming can be understood best when related to a message or bulletin board.  Anyone can post a message on this board, and anyone can read what others have written.  The key to the shared address space model is the fact that all of the vital information is posted in shared locations that can be accessed by all.
Shared address space programming can be understood best when related to a message or bulletin board.  Anyone can post a message on this board, and anyone can read what others have written.  The key to the shared address space model is the fact that all of the vital information is posted in shared locations that can be accessed by all with memory operations such as loads and stores.


=== Message Passing ===
=== Message Passing ===
Message passing machines convey information in a way similar to that of a phone call or a letter.  There are very specific events that trigger the movement of information from a unique sender to a unique receiver.
Message passing machines convey information in a way similar to that of a phone call or a letter.  There are very specific events that trigger the movement of information from a unique sender to a unique receiver. The sending process sends the data along with information that directs the message to the correct receiving process. 


=== Data Parallel ===
=== Data Parallel ===
Data parallel programming is by far the most regulated of the three parallel programming models.  In this type of programming work is carried out on different elements of a data set by different operators.  Once all operations are finished information is exchanged among all, basically after the work is done a global data organization is performed.
Data parallel programming is by far the most regulated of the three parallel programming models.  In this type of programming work is carried out on different elements of a data set by different operators.  Once all operations are finished information is exchanged among all, basically after the work is done a global data organization is performed.
== Convergence ==
As parallel computer architecture has matured it has become apparent that the parallel programming models have all been created to accomplish the same sorts of problems.  For this reason the division between the programming models has become unclear since hardware for recent parallel computers is able to support a variety of programming models.  A good example of this convergence is the way in which the message-passing machines of today are very similar to nonuniform memory access machines (NUMA), a type of machine that uses the shared address space model.

Revision as of 01:35, 6 September 2007

Communication Architecture

Parallel computers must have two types of architectures. One of these is this computer architecture, or that of the individual processors that are interconnected. Each of these processors has an instruction set architecture and microarchitecture, or a system of computer organization at a very low level that make up the computer architecture. The second type of architecture that is needed for parallel computing is that of a communication architecture, or a way in which the individual processors can communicate and work together to do useful things, this includes synchronization among the processors. Also, the communication architecture is closely linked with the hardware of the parallel computer because the hardware must be able to accommodate the communication operations.

Parallel Programming Models

The communication architecture dictates communication operations that the user software is allowed to perform. Parallel programming models layout the framework for the way in which the communication operations take place. In the beginning of parallel computing a single programming model was used for one sytem. The hardware was constructed to support only the communication operations that the specific programming model used. However, As parallel computing became more widespread there has been a convergence of programming models. Many models have become integrated and have been used together. Many parallel programming models exist, the most common of which are described below.

Shared Address Space

Shared address space programming can be understood best when related to a message or bulletin board. Anyone can post a message on this board, and anyone can read what others have written. The key to the shared address space model is the fact that all of the vital information is posted in shared locations that can be accessed by all with memory operations such as loads and stores.

Message Passing

Message passing machines convey information in a way similar to that of a phone call or a letter. There are very specific events that trigger the movement of information from a unique sender to a unique receiver. The sending process sends the data along with information that directs the message to the correct receiving process.

Data Parallel

Data parallel programming is by far the most regulated of the three parallel programming models. In this type of programming work is carried out on different elements of a data set by different operators. Once all operations are finished information is exchanged among all, basically after the work is done a global data organization is performed.

Convergence

As parallel computer architecture has matured it has become apparent that the parallel programming models have all been created to accomplish the same sorts of problems. For this reason the division between the programming models has become unclear since hardware for recent parallel computers is able to support a variety of programming models. A good example of this convergence is the way in which the message-passing machines of today are very similar to nonuniform memory access machines (NUMA), a type of machine that uses the shared address space model.