SlideShare uma empresa Scribd logo
1 de 9
Parallel Processing 1 Lecture 48
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Overview
 Parallel Processing
 Pipelining
 Characteristics of Multiprocessors
 Interconnection Structures
 Inter processor Arbitration
 Inter processor Communication and Synchronization
Parallel Processing 2 Lecture 48
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Inter Processor Arbitration
Bus
Board level bus
Backplane level bus
Interface level bus
System Bus - A Backplane level bus
- Printed Circuit Board
- Connects CPU, IOP, and Memory
- Each of CPU, IOP, and Memory board can be
plugged into a slot in the backplane(system bus)
- Bus signals are grouped into 3 groups
Data, Address, and Control(plus power)
- Only one of CPU, IOP, and Memory can be
granted to use the bus at a time
- Arbitration mechanism is needed to handle
multiple requests
e.g. IEEE standard 796 bus
- 86 lines
Data: 16(multiple of 8)
Address: 24
Control: 26
Power: 20
Parallel Processing 3 Lecture 48
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Synchronous and Asynchronous Data Transfer
Synchronous Bus
Each data item is transferred over a time slice known to both source and
destination unit
- Common clock source
- Or separate clock and synchronization signal
is transmitted periodically to synchronize
the clocks in the system
Asynchronous Bus
Each data item is transferred by Handshake mechanism
- Unit that transmits the data transmits a control
signal that indicates the presence of data
- Unit that receiving the data responds with
another control signal to acknowledge the
receipt of the data
Strobe pulse - supplied by one of the units to indicate to the other unit when
the data transfer has to occur
Parallel Processing 4 Lecture 48
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Bus Signals
Bus signal allocation
- address
- data
- control
- arbitration
- interrupt
- timing
- power, ground
IEEE Standard 796 Multibus Signals
Data and address
Data lines (16 lines) DATA0 - DATA15
Address lines (24 lines) ADRS0 - ADRS23
Data transfer
Memory read MRDC
Memory write MWTC
IO read IORC
IO write IOWC
Transfer acknowledge TACK (XACK)
Interrupt control
Interrupt request INT0 - INT7
interrupt acknowledge INTA
Parallel Processing 5 Lecture 48
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Bus Signals
IEEE Standard 796 Multibus Signals (Cont’d)
Miscellaneous control
Master clock CCLK
System initialization INIT
Byte high enable BHEN
Memory inhibit (2 lines) INH1 - INH2
Bus lock LOCK
Bus arbitration
Bus request BREQ
Common bus request CBRQ
Bus busy BUSY
Bus clock BCLK
Bus priority in BPRN
Bus priority out BPRO
Power and ground (20 lines)
Parallel Processing 6 Lecture 48
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Inter Processor Static Arbitration
Serial Arbitration Procedure
Parallel Arbitration Procedure
Bus
arbiter 1
PI PO Bus
arbiter 2
PI PO Bus
arbiter 3
PI PO Bus
arbiter 4
PI PO
Highest
priority
1
Bus busy line
To next
arbiter
Bus
arbiter 1
Ack Req
Bus
arbiter 2
Ack Req
Bus
arbiter 3
Ack Req
Bus
arbiter 4
Ack Req
Bus busy line
4 x 2
Priority encoder
2 x 4
Decoder
Parallel Processing 7 Lecture 48
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
InterProcessor Dynamic Arbitration
Priorities of the units can be dynamically changeable while the system is
in operation
Time Slice
Fixed length time slice is given sequentially to each processor,
round-robin fashion
Polling
Unit address polling - Bus controller advances the address to
identify the requesting unit
LRU
FIFO
Rotating Daisy Chain
Conventional Daisy Chain - Highest priority to the
nearest unit to the bus controller
Rotating Daisy Chain - Highest priority to the unit
that is nearest to the unit that has
most recently accessed the bus(it
becomes the bus controller)
Parallel Processing 8 Lecture 48
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Interprocessor Communication
Interprocessor Communication Shared Memory
Communication
Area
Receiver(s)
Mark
Sending
Processor
Receiving
Processor
Receiving
Processor
Receiving
Processor
.
.
.
Message
Shared Memory
Receiver(s)
Mark
Sending
Processor
Receiving
Processor
Receiving
Processor
Receiving
Processor
.
.
.
Message
Instruction
Interrupt
Communication
Area
Parallel Processing 9 Lecture 48
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Inter Processor Synchronization
Synchronization
Communication of control information between processors
- To enforce the correct sequence of processes
- To ensure mutually exclusive access to shared writable data
Hardware Implementation
Mutual Exclusion with a Semaphore
Mutual Exclusion
- One processor to exclude or lock out access to shared resource by
other processors when it is in a Critical Section
- Critical Section is a program sequence that,
once begun, must complete execution before
another processor accesses the same shared resource
Semaphore
- A binary variable
- 1: A processor is executing a critical section,
that not available to other processors
0: Available to any requesting processor
- Software controlled Flag that is stored in
memory that all processors can be access

Mais conteúdo relacionado

Mais procurados

top level view of computer function and interconnection
top level view of computer function and interconnectiontop level view of computer function and interconnection
top level view of computer function and interconnection
Sajid Marwat
 
Chapter 3 - Top Level View of Computer / Function and Interconection
Chapter 3 - Top Level View of Computer / Function and InterconectionChapter 3 - Top Level View of Computer / Function and Interconection
Chapter 3 - Top Level View of Computer / Function and Interconection
César de Souza
 
03 top level view of computer function and interconnection
03 top level view of computer function and interconnection03 top level view of computer function and interconnection
03 top level view of computer function and interconnection
Sher Shah Merkhel
 
Процессорын архитектур
Процессорын архитектурПроцессорын архитектур
Процессорын архитектур
Muuluu
 

Mais procurados (20)

Bus interconnection
Bus interconnectionBus interconnection
Bus interconnection
 
Computer function-and-interconnection 3
Computer function-and-interconnection 3Computer function-and-interconnection 3
Computer function-and-interconnection 3
 
Lecture 36
Lecture 36Lecture 36
Lecture 36
 
Lecture 38
Lecture 38Lecture 38
Lecture 38
 
top level view of computer function and interconnection
top level view of computer function and interconnectiontop level view of computer function and interconnection
top level view of computer function and interconnection
 
INTERCONNECTION STRUCTURE
INTERCONNECTION STRUCTUREINTERCONNECTION STRUCTURE
INTERCONNECTION STRUCTURE
 
Central Processing Unit (CPU)
Central Processing Unit (CPU)Central Processing Unit (CPU)
Central Processing Unit (CPU)
 
Ec305.13 buses mgl
Ec305.13 buses mglEc305.13 buses mgl
Ec305.13 buses mgl
 
Lecture 40
Lecture 40Lecture 40
Lecture 40
 
Bus System (part 2)
Bus System (part 2)Bus System (part 2)
Bus System (part 2)
 
Pipelining and vector processing
Pipelining and vector processingPipelining and vector processing
Pipelining and vector processing
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
03 buses
03 buses03 buses
03 buses
 
Input & Output
Input & OutputInput & Output
Input & Output
 
EC8791 consumer electronics-platform level performance analysis
EC8791 consumer electronics-platform level performance analysisEC8791 consumer electronics-platform level performance analysis
EC8791 consumer electronics-platform level performance analysis
 
Chapter 3 - Top Level View of Computer / Function and Interconection
Chapter 3 - Top Level View of Computer / Function and InterconectionChapter 3 - Top Level View of Computer / Function and Interconection
Chapter 3 - Top Level View of Computer / Function and Interconection
 
03 top level view of computer function and interconnection
03 top level view of computer function and interconnection03 top level view of computer function and interconnection
03 top level view of computer function and interconnection
 
Input output in computer Orgranization and architecture
Input output in computer Orgranization and architectureInput output in computer Orgranization and architecture
Input output in computer Orgranization and architecture
 
Процессорын архитектур
Процессорын архитектурПроцессорын архитектур
Процессорын архитектур
 
07 Input Output
07  Input  Output07  Input  Output
07 Input Output
 

Destaque

Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]
Ravindra Raju Kolahalam
 
Computer organiztion1
Computer organiztion1Computer organiztion1
Computer organiztion1
Umang Gupta
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
Mr SMAK
 
Advanced computer architecture
Advanced computer architectureAdvanced computer architecture
Advanced computer architecture
Md. Mahedi Mahfuj
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
Mr SMAK
 

Destaque (20)

Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]
 
Multiprocessor
MultiprocessorMultiprocessor
Multiprocessor
 
13. multiprocessing
13. multiprocessing13. multiprocessing
13. multiprocessing
 
Multiprocessor architecture
Multiprocessor architectureMultiprocessor architecture
Multiprocessor architecture
 
Multiple processor (ppt 2010)
Multiple processor (ppt 2010)Multiple processor (ppt 2010)
Multiple processor (ppt 2010)
 
Multiprocessing -Interprocessing communication and process sunchronization,se...
Multiprocessing -Interprocessing communication and process sunchronization,se...Multiprocessing -Interprocessing communication and process sunchronization,se...
Multiprocessing -Interprocessing communication and process sunchronization,se...
 
Ec305.13 buses mgl
Ec305.13 buses mglEc305.13 buses mgl
Ec305.13 buses mgl
 
Bus
BusBus
Bus
 
Computer organiztion1
Computer organiztion1Computer organiztion1
Computer organiztion1
 
Arbitration
ArbitrationArbitration
Arbitration
 
Arbitration in computer organization
 Arbitration in computer organization   Arbitration in computer organization
Arbitration in computer organization
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
Advanced Comuter Architecture Ch6 Problem Solutions
Advanced Comuter Architecture Ch6 Problem SolutionsAdvanced Comuter Architecture Ch6 Problem Solutions
Advanced Comuter Architecture Ch6 Problem Solutions
 
Advanced computer architecture
Advanced computer architectureAdvanced computer architecture
Advanced computer architecture
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Parallel processing extra
Parallel processing extraParallel processing extra
Parallel processing extra
 
Parallel processing
Parallel processingParallel processing
Parallel processing
 
Multi processing
Multi processingMulti processing
Multi processing
 
Multiprocessor
MultiprocessorMultiprocessor
Multiprocessor
 
Arbitration notes
Arbitration notesArbitration notes
Arbitration notes
 

Semelhante a Lecture 48

Cisco crs1
Cisco crs1Cisco crs1
Cisco crs1
wjunjmt
 
Ch 3 System Buses
Ch 3 System BusesCh 3 System Buses
Ch 3 System Buses
NestleJuco
 
Chapter 6: Expansion Buses
Chapter 6: Expansion BusesChapter 6: Expansion Buses
Chapter 6: Expansion Buses
askme
 
Computer organization part 2
Computer organization part 2Computer organization part 2
Computer organization part 2
Hhhh85105
 

Semelhante a Lecture 48 (20)

Multiprocessors
MultiprocessorsMultiprocessors
Multiprocessors
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Ch 3 95
Ch 3 95Ch 3 95
Ch 3 95
 
03 Buses
03 Buses03 Buses
03 Buses
 
Chapter 6
Chapter 6Chapter 6
Chapter 6
 
Counit2 2
Counit2 2Counit2 2
Counit2 2
 
Computer Architecture Chapter 2 BUS
Computer Architecture Chapter 2 BUSComputer Architecture Chapter 2 BUS
Computer Architecture Chapter 2 BUS
 
Cpi unit 01
Cpi unit 01Cpi unit 01
Cpi unit 01
 
Computer function-and-interconnection 3
Computer function-and-interconnection 3Computer function-and-interconnection 3
Computer function-and-interconnection 3
 
businterconnection ppt.pptx
businterconnection ppt.pptxbusinterconnection ppt.pptx
businterconnection ppt.pptx
 
Os
OsOs
Os
 
Itc lec 3 Ip cycle , system unit, interface
Itc lec 3 Ip cycle , system unit, interfaceItc lec 3 Ip cycle , system unit, interface
Itc lec 3 Ip cycle , system unit, interface
 
Isa bus nptel
Isa bus nptelIsa bus nptel
Isa bus nptel
 
Cisco crs1
Cisco crs1Cisco crs1
Cisco crs1
 
Ch 3 System Buses
Ch 3 System BusesCh 3 System Buses
Ch 3 System Buses
 
UNIT 3.pptx
UNIT 3.pptxUNIT 3.pptx
UNIT 3.pptx
 
IS 139 Lecture 5
IS 139 Lecture 5IS 139 Lecture 5
IS 139 Lecture 5
 
Chapter 6: Expansion Buses
Chapter 6: Expansion BusesChapter 6: Expansion Buses
Chapter 6: Expansion Buses
 
Real Machine Cloud Computing Che Rung Lee.pptx
Real Machine Cloud Computing Che Rung Lee.pptxReal Machine Cloud Computing Che Rung Lee.pptx
Real Machine Cloud Computing Che Rung Lee.pptx
 
Computer organization part 2
Computer organization part 2Computer organization part 2
Computer organization part 2
 

Mais de RahulRathi94 (20)

Lecture 44
Lecture 44Lecture 44
Lecture 44
 
Lecture 43
Lecture 43Lecture 43
Lecture 43
 
Lecture 42
Lecture 42Lecture 42
Lecture 42
 
Lecture 41
Lecture 41Lecture 41
Lecture 41
 
Lecture 37
Lecture 37Lecture 37
Lecture 37
 
Lecture 35
Lecture 35Lecture 35
Lecture 35
 
Lecture 28
Lecture 28Lecture 28
Lecture 28
 
Lecture 27
Lecture 27Lecture 27
Lecture 27
 
Lecture 26
Lecture 26Lecture 26
Lecture 26
 
Lecture 25
Lecture 25Lecture 25
Lecture 25
 
Lecture 24
Lecture 24Lecture 24
Lecture 24
 
Lecture 23
Lecture 23Lecture 23
Lecture 23
 
Lecture 22
Lecture 22Lecture 22
Lecture 22
 
Lecture 21
Lecture 21Lecture 21
Lecture 21
 
Lecture 20
Lecture 20Lecture 20
Lecture 20
 
Lecture 19
Lecture 19Lecture 19
Lecture 19
 
Lecture 18
Lecture 18Lecture 18
Lecture 18
 
Lecture 17
Lecture 17Lecture 17
Lecture 17
 
Lecture 16
Lecture 16Lecture 16
Lecture 16
 
Lecture 15
Lecture 15Lecture 15
Lecture 15
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 

Lecture 48

  • 1. Parallel Processing 1 Lecture 48 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Overview  Parallel Processing  Pipelining  Characteristics of Multiprocessors  Interconnection Structures  Inter processor Arbitration  Inter processor Communication and Synchronization
  • 2. Parallel Processing 2 Lecture 48 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Inter Processor Arbitration Bus Board level bus Backplane level bus Interface level bus System Bus - A Backplane level bus - Printed Circuit Board - Connects CPU, IOP, and Memory - Each of CPU, IOP, and Memory board can be plugged into a slot in the backplane(system bus) - Bus signals are grouped into 3 groups Data, Address, and Control(plus power) - Only one of CPU, IOP, and Memory can be granted to use the bus at a time - Arbitration mechanism is needed to handle multiple requests e.g. IEEE standard 796 bus - 86 lines Data: 16(multiple of 8) Address: 24 Control: 26 Power: 20
  • 3. Parallel Processing 3 Lecture 48 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Synchronous and Asynchronous Data Transfer Synchronous Bus Each data item is transferred over a time slice known to both source and destination unit - Common clock source - Or separate clock and synchronization signal is transmitted periodically to synchronize the clocks in the system Asynchronous Bus Each data item is transferred by Handshake mechanism - Unit that transmits the data transmits a control signal that indicates the presence of data - Unit that receiving the data responds with another control signal to acknowledge the receipt of the data Strobe pulse - supplied by one of the units to indicate to the other unit when the data transfer has to occur
  • 4. Parallel Processing 4 Lecture 48 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Bus Signals Bus signal allocation - address - data - control - arbitration - interrupt - timing - power, ground IEEE Standard 796 Multibus Signals Data and address Data lines (16 lines) DATA0 - DATA15 Address lines (24 lines) ADRS0 - ADRS23 Data transfer Memory read MRDC Memory write MWTC IO read IORC IO write IOWC Transfer acknowledge TACK (XACK) Interrupt control Interrupt request INT0 - INT7 interrupt acknowledge INTA
  • 5. Parallel Processing 5 Lecture 48 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Bus Signals IEEE Standard 796 Multibus Signals (Cont’d) Miscellaneous control Master clock CCLK System initialization INIT Byte high enable BHEN Memory inhibit (2 lines) INH1 - INH2 Bus lock LOCK Bus arbitration Bus request BREQ Common bus request CBRQ Bus busy BUSY Bus clock BCLK Bus priority in BPRN Bus priority out BPRO Power and ground (20 lines)
  • 6. Parallel Processing 6 Lecture 48 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Inter Processor Static Arbitration Serial Arbitration Procedure Parallel Arbitration Procedure Bus arbiter 1 PI PO Bus arbiter 2 PI PO Bus arbiter 3 PI PO Bus arbiter 4 PI PO Highest priority 1 Bus busy line To next arbiter Bus arbiter 1 Ack Req Bus arbiter 2 Ack Req Bus arbiter 3 Ack Req Bus arbiter 4 Ack Req Bus busy line 4 x 2 Priority encoder 2 x 4 Decoder
  • 7. Parallel Processing 7 Lecture 48 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT InterProcessor Dynamic Arbitration Priorities of the units can be dynamically changeable while the system is in operation Time Slice Fixed length time slice is given sequentially to each processor, round-robin fashion Polling Unit address polling - Bus controller advances the address to identify the requesting unit LRU FIFO Rotating Daisy Chain Conventional Daisy Chain - Highest priority to the nearest unit to the bus controller Rotating Daisy Chain - Highest priority to the unit that is nearest to the unit that has most recently accessed the bus(it becomes the bus controller)
  • 8. Parallel Processing 8 Lecture 48 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Interprocessor Communication Interprocessor Communication Shared Memory Communication Area Receiver(s) Mark Sending Processor Receiving Processor Receiving Processor Receiving Processor . . . Message Shared Memory Receiver(s) Mark Sending Processor Receiving Processor Receiving Processor Receiving Processor . . . Message Instruction Interrupt Communication Area
  • 9. Parallel Processing 9 Lecture 48 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Inter Processor Synchronization Synchronization Communication of control information between processors - To enforce the correct sequence of processes - To ensure mutually exclusive access to shared writable data Hardware Implementation Mutual Exclusion with a Semaphore Mutual Exclusion - One processor to exclude or lock out access to shared resource by other processors when it is in a Critical Section - Critical Section is a program sequence that, once begun, must complete execution before another processor accesses the same shared resource Semaphore - A binary variable - 1: A processor is executing a critical section, that not available to other processors 0: Available to any requesting processor - Software controlled Flag that is stored in memory that all processors can be access