Multiprocessing
Multiprocessing
multiprocessor
Abhishek Ahlawat
MCA/25017/22
What is parallel processing
and multiprocessor?
Parallel processing is a method in computing of running two or more processors (CPUs)
to handle separate parts of an overall task. Breaking up different parts of a task among
multiple processors will help reduce the amount of time to run a program.
The primary purpose of parallel processing is to enhance the computer processing
capability and increase its throughput, i.e. the amount of processing that can be
accomplished during a given interval of time.
Multiprocessor is a data processing system that can execute more than one program or
more than one arithmetic operation simultaneously.
Types of parallel processors
Multiple instruction multiple
data (MIMD)
• multiple instruction, multiple data (MIMD) is a technique employed to achieve
parallelism.
• Each processor must include its own control unit that will assign to the processors
parts of a task or a separate task.
• It has two sub classes :
1. Shared memory
2. Distributed memory
Shared memory
• In shared memory model the processors are all connected to a
"globally available" memory, via either software or hardware means.
• The operating system usually maintains its memory coherence.
• Shared memory machines may be of the bus-based, extended,
or hierarchical type.
Bus based
MIMD machines with shared memory have processors which share a common,
central memory. In the simplest form, all processors are attached to a bus
which connects them to memory. This means that every machine with shared
memory shares a specific CM, common bus system for all the clients.