SlideShare a Scribd company logo
1 of 23
Computer Architecture
Parallel Processing
By,
Prof. Sumalatha A
Parallel Processing
• Parallel processing is an efficient form of information processing
which emphasizes the exploitation of concurrent events in the
computing process.
• Parallel Processing demands concurrent execution of many
programs in the computer.
• Concurrency implies parallelism, simultaneity, and pipelining.
Introduction to Parallelism in Uniprocessor
System
• From an operating point of view, computer systems have improved
chronologically in four phases:
• batch processing
• multiprogramming
• time-sharing
• multiprocessing
• In these four operating modes, the degree of parallelism increase
sharply from phase to phase.
Introduction to Parallelism in Uniprocessor
System Contd…
• We define parallel processing as an efficient form of information processing that emphasizes
the exploitation of concurrent events in the computing process.
• Parallel Processing demands the concurrent execution of many programs in the computer.
• Concurrency implies parallelism, simultaneity, and pipelining.
• The highest level of parallel processing is conducted among multiple jobs or programs through
multiprogramming, time-sharing, and multiprocessing.
• Parallel processing can be challenged in four programmatic levels:
1.Job or program level – the highest level of parallel processing conducted among multiple jobs or
programs
2. Task or procedure level – next higher level parallel processing conducted among procedures or
tasks within the same program
3. Inter-instruction level- The third level to exploit concurrency among multiple instructions
4. Intra-instruction level-Finally concurrent operations within each instruction
Basic Uniprocessor Architecture
• A typical uniprocessor computer consists of three major
components the main memory, the CPU (Central Processing Unit),
and the I/O(Input-Output) subsystem.
• There are two architectures of commercially available uniprocessor
computers to show the relation between three subsystems
System Architecture of the Super mini VAX-
11/780 uniprocessor system
System Architecture of the Super mini VAX-
11/780 uniprocessor system Contd…
• There are 16, 32-bit general purpose registers one of which is a Program
Counter (PC).
• There is also a special CPU status register containing about the current
state of the processor is executed.
• The CPU contains an ALU with an optional Floating-point accelerator and
some local cache memory with an optional diagnostic memory.
• Floating-point accelerator (FPA) -A device to improve the overall
performance of a computer by removing the burden of performing
floating-point arithmetic from the central processor.
• optional diagnostic memory –checks the errors.
• The CPU can be intervened by the operator through the console
connected to a floppy disk.
• The CPU, the main memory( 2^32 words of 32-bit each), and the I/O
subsystem are all connected to a common bus, the synchronous
backplane interconnection(SBI).
• Through this bus, all I/O devices can communicate with each other
with the CPU or with the memory.
• I/O devices can be connected directly to the SBI through the unibus
and its controller or through a mass bus and its controller
System Architecture of the Super mini VAX-
11/780 uniprocessor system Contd…
System Architecture of the mainframe IBM
system 370/model 168 uniprocessor computer
•The CPU contains the instruction decoding and execution units as well
as the cache.
•Main memory is divided into four units referred to as logical storage
units (LSU) that are four ways interleaved.
•The storage controller provides multiport Connections between the
CPU and the four LSUs.
•Peripherals are connected to the system via high-speed I/O channels
which operate asynchronously with the CPU
System Architecture of the mainframe IBM
system 370/model 168 uniprocessor computer
Contd…
Parallelism
Parallelism can be promoted by
• Hardware means
• Software means
PARALLELLISM IN UNIPROCESSOR SYSTEM
• A number of parallel processing mechanisms have been developed in
uniprocessor computers.
• We identify them in the following six categories:
1.Multiplicity of functional units
2.Parallelism and pipelining within the CPU
3.Overlapped CPU and I/O operations
4.Use of a hierarchical memory system
5.Balancing of subsystem bandwidths
6.Multiprogramming and time sharing
Multiplicity of Functional Units
• Early computers
- one ALU that performs one operation at a time
- Slow processing
• Multiple and specialized functional units.
- operate in parallel.
- two parallel execution units (fixed and floating point
arithmetic) in
CDC-6600
→10 functional units
System Architecture of CDC-6600
Parallelism and pipelining within the CPU
• Instead of serial bit adders, parallel adders are used in almost ALUs
• Use of High-speed multiplier recoding and convergence division
• Sharing of hardware resources for functions of multiply and divide
• Various phases of instructions executions (instruction fetch ,
decode, operand fetch, arithmetic logic execution, store result) are
pipelined
• For overlapped instruction executions, instruction prefetch and
buffering techniques have been developed.
Overlapped CPU and I/O operations
• I/O operations are performed simultaneously with CPU
computations by using separate I/O controllers, channels, or I/O
processors.
• DMA channel can be used for direct transfer of data between main
memory and I/O devices
Use of a hierarchical
memory system
• CPU is 1000 times faster than
memory access
• An hierarchical memory system can
be used to close up the speed gap
• Cache memory can be used
to be served as a buffer between
CPU and main memory
Balancing of subsystem bandwidths
• CPU is the fastest unit in computer.
• The bandwidth of a system is defined as the number of operations performed per unit time.
• In case of main memory the memory bandwidth is measured by the number of words that can
be accessed per unit time.
• Relationship b/w BWs
•
Balancing of subsystem bandwidths
Bandwidth Balancing Between CPU and Memory
• The speed gap between the CPU and the main memory can be closed up by using
fast cache memory between them.
• A block of memory words is moved from the main memory into the cache so that
immediate instructions can be available most of the time from the cache.
Bandwidth Balancing Between Memory and I/O Devices
• Input-output channels with different speeds can be used between the slow I/O
devices and the main memory.
• The I/O channels perform buffering and multiplexing functions to transfer the data
from multiple disks into the main memory by stealing cycles from the CPU.
Parallel Computer Structures
• A parallel computer is a kind of computer structure where a large
complex problem is broken into multiple small problems which are
then executed simultaneously by several processors. We often
consider this as parallel processing.
• It is divided into three
1.Pipeline Computer
2.Array Processors
3.Multiprocessor Systems
Pipeline Computer
• Pipeline computers leverage parallel computing by overlapping the
execution of one process with another process.
• If we consider executing a small program that has a set of instructions
then we can categorize the execution of the entire program in four steps
that must be repeated continuously till the last instruction in the
program gets executed.
• The four steps we mentioned above are instruction fetching (IF),
instruction decoding (ID), operand fetch (OF), and instruction execution
(IE).
• Each instruction of the program is fetched from the main memory, it is
decoded by the processor, and the operands mentioned in the
instructions that are required for the execution of instruction are
fetched from the main memory, and at last, the instruction is executed.
Space-Time Diagram for Non-Pipelined Processor
The figure below shows that to execute three instructions completely it
takes 12 secs.
• And if we implement pipelining then instruction will be executed in an
overlapped fashion. As you can see that the four instructions can be
executed in 7 sec.
• Pipeline computer synchronizes operations of all stages under a
common clock. Hence, we can say that executing instructions in
pipelined fashion is more efficient.
Space-Time Diagram for Non-Pipelined Processor
Contd…

More Related Content

What's hot

Cache coherence
Cache coherenceCache coherence
Cache coherenceEmployee
 
Parallel programming model
Parallel programming modelParallel programming model
Parallel programming modeleasy notes
 
Process synchronization in Operating Systems
Process synchronization in Operating SystemsProcess synchronization in Operating Systems
Process synchronization in Operating SystemsRitu Ranjan Shrivastwa
 
Distributed operating system(os)
Distributed operating system(os)Distributed operating system(os)
Distributed operating system(os)Dinesh Modak
 
distributed shared memory
 distributed shared memory distributed shared memory
distributed shared memoryAshish Kumar
 
Dichotomy of parallel computing platforms
Dichotomy of parallel computing platformsDichotomy of parallel computing platforms
Dichotomy of parallel computing platformsSyed Zaid Irshad
 
Multi core-architecture
Multi core-architectureMulti core-architecture
Multi core-architecturePiyush Mittal
 
Compiler Design Basics
Compiler Design BasicsCompiler Design Basics
Compiler Design BasicsAkhil Kaushik
 
Virtual memory ppt
Virtual memory pptVirtual memory ppt
Virtual memory pptRITULDE
 
Distributed & parallel system
Distributed & parallel systemDistributed & parallel system
Distributed & parallel systemManish Singh
 
8 memory management strategies
8 memory management strategies8 memory management strategies
8 memory management strategiesDr. Loganathan R
 
Advanced computer architecture
Advanced computer architectureAdvanced computer architecture
Advanced computer architectureAjithaSomasundaram
 
Introduction to Parallel Computing
Introduction to Parallel ComputingIntroduction to Parallel Computing
Introduction to Parallel ComputingAkhila Prabhakaran
 
Introduction to Parallel and Distributed Computing
Introduction to Parallel and Distributed ComputingIntroduction to Parallel and Distributed Computing
Introduction to Parallel and Distributed ComputingSayed Chhattan Shah
 
Computer architecture pipelining
Computer architecture pipeliningComputer architecture pipelining
Computer architecture pipeliningMazin Alwaaly
 
Distributed operating system
Distributed operating systemDistributed operating system
Distributed operating systemudaya khanal
 

What's hot (20)

Cache coherence
Cache coherenceCache coherence
Cache coherence
 
Parallel programming model
Parallel programming modelParallel programming model
Parallel programming model
 
Memory management
Memory managementMemory management
Memory management
 
Parallel Processing Concepts
Parallel Processing Concepts Parallel Processing Concepts
Parallel Processing Concepts
 
Process synchronization in Operating Systems
Process synchronization in Operating SystemsProcess synchronization in Operating Systems
Process synchronization in Operating Systems
 
Distributed operating system(os)
Distributed operating system(os)Distributed operating system(os)
Distributed operating system(os)
 
Distributed Operating System_1
Distributed Operating System_1Distributed Operating System_1
Distributed Operating System_1
 
distributed shared memory
 distributed shared memory distributed shared memory
distributed shared memory
 
Dichotomy of parallel computing platforms
Dichotomy of parallel computing platformsDichotomy of parallel computing platforms
Dichotomy of parallel computing platforms
 
Multi core-architecture
Multi core-architectureMulti core-architecture
Multi core-architecture
 
Compiler Design Basics
Compiler Design BasicsCompiler Design Basics
Compiler Design Basics
 
Parallel programming model
Parallel programming modelParallel programming model
Parallel programming model
 
Virtual memory ppt
Virtual memory pptVirtual memory ppt
Virtual memory ppt
 
Distributed & parallel system
Distributed & parallel systemDistributed & parallel system
Distributed & parallel system
 
8 memory management strategies
8 memory management strategies8 memory management strategies
8 memory management strategies
 
Advanced computer architecture
Advanced computer architectureAdvanced computer architecture
Advanced computer architecture
 
Introduction to Parallel Computing
Introduction to Parallel ComputingIntroduction to Parallel Computing
Introduction to Parallel Computing
 
Introduction to Parallel and Distributed Computing
Introduction to Parallel and Distributed ComputingIntroduction to Parallel and Distributed Computing
Introduction to Parallel and Distributed Computing
 
Computer architecture pipelining
Computer architecture pipeliningComputer architecture pipelining
Computer architecture pipelining
 
Distributed operating system
Distributed operating systemDistributed operating system
Distributed operating system
 

Similar to Parallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptx

Computer system architecture
Computer system architectureComputer system architecture
Computer system architecturejeetesh036
 
Module 1 Introduction.ppt
Module 1 Introduction.pptModule 1 Introduction.ppt
Module 1 Introduction.pptshreesha16
 
Operating System BCA 301
Operating System BCA 301Operating System BCA 301
Operating System BCA 301cpjcollege
 
Computer Architecture & Organization.ppt
Computer Architecture & Organization.pptComputer Architecture & Organization.ppt
Computer Architecture & Organization.pptFarhanaMariyam1
 
MK Sistem Operasi.pdf
MK Sistem Operasi.pdfMK Sistem Operasi.pdf
MK Sistem Operasi.pdfwisard1
 
CSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptxCSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptxakhilagajjala
 
Operating Systems PPT 1 (1).pdf
Operating Systems PPT 1 (1).pdfOperating Systems PPT 1 (1).pdf
Operating Systems PPT 1 (1).pdfFahanaAbdulVahab
 
Engg-0505-IT-Operating-Systems-2nd-year.pdf
Engg-0505-IT-Operating-Systems-2nd-year.pdfEngg-0505-IT-Operating-Systems-2nd-year.pdf
Engg-0505-IT-Operating-Systems-2nd-year.pdfnikhil287188
 
Evolution, Strutcture and Operations.pptx
Evolution, Strutcture and Operations.pptxEvolution, Strutcture and Operations.pptx
Evolution, Strutcture and Operations.pptxssuser000e54
 
Parallel & Distributed processing
Parallel & Distributed processingParallel & Distributed processing
Parallel & Distributed processingSyed Zaid Irshad
 
Introduction to Operating Systems.pdf
Introduction to Operating Systems.pdfIntroduction to Operating Systems.pdf
Introduction to Operating Systems.pdfHarika Pudugosula
 
introduction to operating system
introduction to operating systemintroduction to operating system
introduction to operating systemHAMZA AHMED
 

Similar to Parallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptx (20)

Parallel Processing.pptx
Parallel Processing.pptxParallel Processing.pptx
Parallel Processing.pptx
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecture
 
Module 1 Introduction.ppt
Module 1 Introduction.pptModule 1 Introduction.ppt
Module 1 Introduction.ppt
 
unit 4.pptx
unit 4.pptxunit 4.pptx
unit 4.pptx
 
unit 4.pptx
unit 4.pptxunit 4.pptx
unit 4.pptx
 
Operating System BCA 301
Operating System BCA 301Operating System BCA 301
Operating System BCA 301
 
OS Content.pdf
OS Content.pdfOS Content.pdf
OS Content.pdf
 
Computer Architecture & Organization.ppt
Computer Architecture & Organization.pptComputer Architecture & Organization.ppt
Computer Architecture & Organization.ppt
 
MK Sistem Operasi.pdf
MK Sistem Operasi.pdfMK Sistem Operasi.pdf
MK Sistem Operasi.pdf
 
CSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptxCSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptx
 
Operating Systems PPT 1 (1).pdf
Operating Systems PPT 1 (1).pdfOperating Systems PPT 1 (1).pdf
Operating Systems PPT 1 (1).pdf
 
Engg-0505-IT-Operating-Systems-2nd-year.pdf
Engg-0505-IT-Operating-Systems-2nd-year.pdfEngg-0505-IT-Operating-Systems-2nd-year.pdf
Engg-0505-IT-Operating-Systems-2nd-year.pdf
 
Evolution, Strutcture and Operations.pptx
Evolution, Strutcture and Operations.pptxEvolution, Strutcture and Operations.pptx
Evolution, Strutcture and Operations.pptx
 
chapter1.ppt
chapter1.pptchapter1.ppt
chapter1.ppt
 
Ch1 introduction
Ch1   introductionCh1   introduction
Ch1 introduction
 
Parallel & Distributed processing
Parallel & Distributed processingParallel & Distributed processing
Parallel & Distributed processing
 
Operating System
Operating SystemOperating System
Operating System
 
Introduction to Operating Systems.pdf
Introduction to Operating Systems.pdfIntroduction to Operating Systems.pdf
Introduction to Operating Systems.pdf
 
introduction to operating system
introduction to operating systemintroduction to operating system
introduction to operating system
 
ch1.ppt
ch1.pptch1.ppt
ch1.ppt
 

Recently uploaded

Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 

Recently uploaded (20)

Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 

Parallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptx

  • 2. Parallel Processing • Parallel processing is an efficient form of information processing which emphasizes the exploitation of concurrent events in the computing process. • Parallel Processing demands concurrent execution of many programs in the computer. • Concurrency implies parallelism, simultaneity, and pipelining.
  • 3. Introduction to Parallelism in Uniprocessor System • From an operating point of view, computer systems have improved chronologically in four phases: • batch processing • multiprogramming • time-sharing • multiprocessing • In these four operating modes, the degree of parallelism increase sharply from phase to phase.
  • 4. Introduction to Parallelism in Uniprocessor System Contd… • We define parallel processing as an efficient form of information processing that emphasizes the exploitation of concurrent events in the computing process. • Parallel Processing demands the concurrent execution of many programs in the computer. • Concurrency implies parallelism, simultaneity, and pipelining. • The highest level of parallel processing is conducted among multiple jobs or programs through multiprogramming, time-sharing, and multiprocessing. • Parallel processing can be challenged in four programmatic levels: 1.Job or program level – the highest level of parallel processing conducted among multiple jobs or programs 2. Task or procedure level – next higher level parallel processing conducted among procedures or tasks within the same program 3. Inter-instruction level- The third level to exploit concurrency among multiple instructions 4. Intra-instruction level-Finally concurrent operations within each instruction
  • 5. Basic Uniprocessor Architecture • A typical uniprocessor computer consists of three major components the main memory, the CPU (Central Processing Unit), and the I/O(Input-Output) subsystem. • There are two architectures of commercially available uniprocessor computers to show the relation between three subsystems
  • 6. System Architecture of the Super mini VAX- 11/780 uniprocessor system
  • 7. System Architecture of the Super mini VAX- 11/780 uniprocessor system Contd… • There are 16, 32-bit general purpose registers one of which is a Program Counter (PC). • There is also a special CPU status register containing about the current state of the processor is executed. • The CPU contains an ALU with an optional Floating-point accelerator and some local cache memory with an optional diagnostic memory. • Floating-point accelerator (FPA) -A device to improve the overall performance of a computer by removing the burden of performing floating-point arithmetic from the central processor. • optional diagnostic memory –checks the errors.
  • 8. • The CPU can be intervened by the operator through the console connected to a floppy disk. • The CPU, the main memory( 2^32 words of 32-bit each), and the I/O subsystem are all connected to a common bus, the synchronous backplane interconnection(SBI). • Through this bus, all I/O devices can communicate with each other with the CPU or with the memory. • I/O devices can be connected directly to the SBI through the unibus and its controller or through a mass bus and its controller System Architecture of the Super mini VAX- 11/780 uniprocessor system Contd…
  • 9. System Architecture of the mainframe IBM system 370/model 168 uniprocessor computer
  • 10. •The CPU contains the instruction decoding and execution units as well as the cache. •Main memory is divided into four units referred to as logical storage units (LSU) that are four ways interleaved. •The storage controller provides multiport Connections between the CPU and the four LSUs. •Peripherals are connected to the system via high-speed I/O channels which operate asynchronously with the CPU System Architecture of the mainframe IBM system 370/model 168 uniprocessor computer Contd…
  • 11. Parallelism Parallelism can be promoted by • Hardware means • Software means
  • 12. PARALLELLISM IN UNIPROCESSOR SYSTEM • A number of parallel processing mechanisms have been developed in uniprocessor computers. • We identify them in the following six categories: 1.Multiplicity of functional units 2.Parallelism and pipelining within the CPU 3.Overlapped CPU and I/O operations 4.Use of a hierarchical memory system 5.Balancing of subsystem bandwidths 6.Multiprogramming and time sharing
  • 13. Multiplicity of Functional Units • Early computers - one ALU that performs one operation at a time - Slow processing • Multiple and specialized functional units. - operate in parallel. - two parallel execution units (fixed and floating point arithmetic) in CDC-6600 →10 functional units
  • 15. Parallelism and pipelining within the CPU • Instead of serial bit adders, parallel adders are used in almost ALUs • Use of High-speed multiplier recoding and convergence division • Sharing of hardware resources for functions of multiply and divide • Various phases of instructions executions (instruction fetch , decode, operand fetch, arithmetic logic execution, store result) are pipelined • For overlapped instruction executions, instruction prefetch and buffering techniques have been developed.
  • 16. Overlapped CPU and I/O operations • I/O operations are performed simultaneously with CPU computations by using separate I/O controllers, channels, or I/O processors. • DMA channel can be used for direct transfer of data between main memory and I/O devices
  • 17. Use of a hierarchical memory system • CPU is 1000 times faster than memory access • An hierarchical memory system can be used to close up the speed gap • Cache memory can be used to be served as a buffer between CPU and main memory
  • 18. Balancing of subsystem bandwidths • CPU is the fastest unit in computer. • The bandwidth of a system is defined as the number of operations performed per unit time. • In case of main memory the memory bandwidth is measured by the number of words that can be accessed per unit time. • Relationship b/w BWs •
  • 19. Balancing of subsystem bandwidths Bandwidth Balancing Between CPU and Memory • The speed gap between the CPU and the main memory can be closed up by using fast cache memory between them. • A block of memory words is moved from the main memory into the cache so that immediate instructions can be available most of the time from the cache. Bandwidth Balancing Between Memory and I/O Devices • Input-output channels with different speeds can be used between the slow I/O devices and the main memory. • The I/O channels perform buffering and multiplexing functions to transfer the data from multiple disks into the main memory by stealing cycles from the CPU.
  • 20. Parallel Computer Structures • A parallel computer is a kind of computer structure where a large complex problem is broken into multiple small problems which are then executed simultaneously by several processors. We often consider this as parallel processing. • It is divided into three 1.Pipeline Computer 2.Array Processors 3.Multiprocessor Systems
  • 21. Pipeline Computer • Pipeline computers leverage parallel computing by overlapping the execution of one process with another process. • If we consider executing a small program that has a set of instructions then we can categorize the execution of the entire program in four steps that must be repeated continuously till the last instruction in the program gets executed. • The four steps we mentioned above are instruction fetching (IF), instruction decoding (ID), operand fetch (OF), and instruction execution (IE). • Each instruction of the program is fetched from the main memory, it is decoded by the processor, and the operands mentioned in the instructions that are required for the execution of instruction are fetched from the main memory, and at last, the instruction is executed.
  • 22. Space-Time Diagram for Non-Pipelined Processor The figure below shows that to execute three instructions completely it takes 12 secs.
  • 23. • And if we implement pipelining then instruction will be executed in an overlapped fashion. As you can see that the four instructions can be executed in 7 sec. • Pipeline computer synchronizes operations of all stages under a common clock. Hence, we can say that executing instructions in pipelined fashion is more efficient. Space-Time Diagram for Non-Pipelined Processor Contd…