SlideShare a Scribd company logo
1 of 15
Unit VI
Multiprocessors
Contents
 Characteristics of Multiprocessors
 Interconnection Structure
Interprocessor Arbitration
 Interprocessor Communication and
Synchronization
 Cache Coherence
 Shared Memory Multiprocessors
SS College of Engineering, Udaipur,
Rajasthan 2
by:
Er. Dipesh Vaya
Head & Asst. Prof.
Department of CSE
SSCE, Udaipur, Rajasthan
Inter-processor Arbitration
(Arbitration : A decision, such as made by a judge or an arbitrator.)
SS College of Engineering, Udaipur, Rajasthan
3
Introduction
 Computer systems contain a number of buses at various
levels to facilitate the transfer of information between
components.
 The CPU contains a number of internal buses for
transferring information between processor registers and
ALU.
 A memory bus consists of lines for transferring data, address, and
read/write information.
 An I/O bus is used to transfer information to and from input and output
devices.
SS College of Engineering, Udaipur, Rajasthan
4
Introduction (Cont.)
 A bus that connects major components in a multiprocessor
system, such as CPUs, IOPs, and memory, is called a system
bus.
 The processors in a shared memory multiprocessor system
request access to common memory or other common resources
through the system bus.
 The arbitration logic would be part of the system bus controller
placed between the local bus and the system bus as shown in
Next Slide.
SS College of Engineering, Udaipur,
Rajasthan 5
System bus structure for multiprocessors
CPU IOP
Local
memory
Common
shared
memory
System
bus
controller
CPU IOP
Local
memory
System
Bus
controller
CPU
Local
memory
Local bus Local bus
Local bus
System bus
System
bus
controller
SS College of Engineering, Udaipur, Rajasthan
6
System Bus
 A typical system bus consists of approximately 100 signal lines.
These lines are divided into three functional groups: data,
address, and control. In addition, there are power distribution
lines.
 For example, the IEEE standard 796 multibus system has 16
data lines, 24 address lines, 26 control lines, and 20 power lines,
for a total of 86 lines.
 The data lines provide a path for the transfer of data between
processors and common memory.
 The address lines are used to identify a memory address or any
other source or destination.
 The control lines provide signals for controlling the information
transfer between units.
SS College of Engineering, Udaipur, Rajasthan
7
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
Interrupt control
Interrupt request (8 lines) INT0-INT7
Interrupt acknowledge INTA
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)
IEEE standard 796 multibus signals
Signal name
SS College of Engineering, Udaipur, Rajasthan
8
Explanation of the function of the bus
arbitration signals listed in Previous Table.
SS College of Engineering, Udaipur, Rajasthan
9
The bus priority-in BPRN and bus priority-out BPRO are used for a
daisy-chain connection of bus arbitration circuits.
The signals used to construct a parallel arbitration procedure are bus
request BREQ and priority-in BPRN.
The common bus request CBRQ serves to instruct the arbiter if there
are any other arbiters of lower-priority requesting use of the system
bus.
The bus clock BCLK is used to synchronize all bus transactions.
Serial arbitration procedure
 Arbitration procedures service all processor requests on the basis of
established priorities.
 The serial priority resolving technique is obtained from a daisy-chain
connection of bus arbitration circuits.
 Fig. 2 shows the daisy-chain connection of four arbiters. It is
assumed that each processor has its own bus arbiter logic with
priority-in and priority-out lines.
 Thus the processor whose arbiter has a PI=1 and PO=0 is the one that is given
control of the system bus.
 The bus busy line provides a mechanism for an orderly transfer of control.
 The busy line comes from open-collector circuits in each unit and provides a wired-OR
logic connection
SS College of Engineering, Udaipur, Rajasthan
10
Serial (daisy-chain) arbitration
Fig. 2
Bus
arbiter 1
PI PO
Bus
arbiter 2
PI PO
Bus
arbiter 3
PI PO
Bus
arbiter 4
PI PO
Highest
priority
Lowest
priority
To next
arbiter
Bus busy line
1
  
SS College of Engineering, Udaipur, Rajasthan
11
Parallel arbitration logic
 Uses an external priority encoder and a decoder as shown
in Fig. 3.
 Each bus arbiter in the parallel scheme has a bus request output line and
a bus acknowledge input line.
 Priority encoder is used to decide and distribute the priorities of
processors.
 Priority Decoder is used to identify the encoded processor turn.
SS College of Engineering, Udaipur, Rajasthan
12
Parallel arbitration
Fig. 3
Bus
arbiter 1
Bus
arbiter 2
Bus
arbiter 3
Bus
arbiter 4
Bus busy line
  
Ack Ack Ack AckReq Req Req Req
Decoder
42
BREQBPRN
SS College of Engineering, Udaipur, Rajasthan
13
encoderPr
24
iority

Dynamic arbitration algorithms
 The time slice algorithm
 Allocates a fixed-length time slice of bus time that is offered sequentially to each
processor, in round-robin fashion.
 Polling
 The bus controller sequences through the addresses in a prescribed manner.
 The least recently used (LRU) algorithm
 Gives the highest priority to the requesting device that has not used the bus for
the longest interval.
 The first-come, first-serve scheme
 Requests are served in the order received.
 The Rotating daisy-chain procedure
 Each arbiter priority for a given bus cycle is determined by its position along the
bus priority line from the arbiter whose processor is currently controlling the bus.
SS College of Engineering, Udaipur, Rajasthan
14
Thank You!
Query Session????
SS College of Engineering, Udaipur,
Rajasthan 15

More Related Content

What's hot

Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organizationMazin Alwaaly
 
INTERCONNECTION STRUCTURE
INTERCONNECTION STRUCTUREINTERCONNECTION STRUCTURE
INTERCONNECTION STRUCTUREVENNILAV6
 
Modes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output OrganizationModes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output OrganizationMOHIT AGARWAL
 
Register transfer language
Register transfer languageRegister transfer language
Register transfer languageSanjeev Patel
 
Register transfer and micro-operation
Register transfer and micro-operationRegister transfer and micro-operation
Register transfer and micro-operationNikhil Pandit
 
Multiprocessor architecture
Multiprocessor architectureMultiprocessor architecture
Multiprocessor architectureArpan Baishya
 
Memory organization (Computer architecture)
Memory organization (Computer architecture)Memory organization (Computer architecture)
Memory organization (Computer architecture)Sandesh Jonchhe
 
Signed Addition And Subtraction
Signed Addition And SubtractionSigned Addition And Subtraction
Signed Addition And SubtractionKeyur Vadodariya
 
Pipeline hazard
Pipeline hazardPipeline hazard
Pipeline hazardAJAL A J
 
Instruction cycle
Instruction cycleInstruction cycle
Instruction cycleKumar
 
Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]Ravindra Raju Kolahalam
 
Timing and control
Timing and controlTiming and control
Timing and controlchauhankapil
 
Timing and-control-unit
Timing and-control-unitTiming and-control-unit
Timing and-control-unitAnuj Modi
 
Logic microoperations
Logic microoperationsLogic microoperations
Logic microoperationsNitesh Singh
 
Addressing modes (detailed data path)
Addressing modes (detailed data path)Addressing modes (detailed data path)
Addressing modes (detailed data path)Mahesh Kumar Attri
 
Direct Memory Access(DMA)
Direct Memory Access(DMA)Direct Memory Access(DMA)
Direct Memory Access(DMA)Page Maker
 
program flow mechanisms, advanced computer architecture
program flow mechanisms, advanced computer architectureprogram flow mechanisms, advanced computer architecture
program flow mechanisms, advanced computer architecturePankaj Kumar Jain
 

What's hot (20)

Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organization
 
Memory Hierarchy
Memory HierarchyMemory Hierarchy
Memory Hierarchy
 
Multiprocessor system
Multiprocessor system Multiprocessor system
Multiprocessor system
 
INTERCONNECTION STRUCTURE
INTERCONNECTION STRUCTUREINTERCONNECTION STRUCTURE
INTERCONNECTION STRUCTURE
 
Modes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output OrganizationModes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output Organization
 
Register transfer language
Register transfer languageRegister transfer language
Register transfer language
 
Register transfer and micro-operation
Register transfer and micro-operationRegister transfer and micro-operation
Register transfer and micro-operation
 
Multiprocessor architecture
Multiprocessor architectureMultiprocessor architecture
Multiprocessor architecture
 
Memory organization (Computer architecture)
Memory organization (Computer architecture)Memory organization (Computer architecture)
Memory organization (Computer architecture)
 
Signed Addition And Subtraction
Signed Addition And SubtractionSigned Addition And Subtraction
Signed Addition And Subtraction
 
Pipeline hazard
Pipeline hazardPipeline hazard
Pipeline hazard
 
Instruction cycle
Instruction cycleInstruction cycle
Instruction cycle
 
Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]
 
Timing and control
Timing and controlTiming and control
Timing and control
 
Timing and-control-unit
Timing and-control-unitTiming and-control-unit
Timing and-control-unit
 
Presentation on risc pipeline
Presentation on risc pipelinePresentation on risc pipeline
Presentation on risc pipeline
 
Logic microoperations
Logic microoperationsLogic microoperations
Logic microoperations
 
Addressing modes (detailed data path)
Addressing modes (detailed data path)Addressing modes (detailed data path)
Addressing modes (detailed data path)
 
Direct Memory Access(DMA)
Direct Memory Access(DMA)Direct Memory Access(DMA)
Direct Memory Access(DMA)
 
program flow mechanisms, advanced computer architecture
program flow mechanisms, advanced computer architectureprogram flow mechanisms, advanced computer architecture
program flow mechanisms, advanced computer architecture
 

Similar to Unit 6 interprocessor arbitration

Similar to Unit 6 interprocessor arbitration (20)

Lecture 48
Lecture 48Lecture 48
Lecture 48
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
businterconnection ppt.pptx
businterconnection ppt.pptxbusinterconnection ppt.pptx
businterconnection ppt.pptx
 
Design and Implementation of AMBA ASB apb bridge
Design and Implementation of AMBA ASB apb bridgeDesign and Implementation of AMBA ASB apb bridge
Design and Implementation of AMBA ASB apb bridge
 
Registers
RegistersRegisters
Registers
 
System on chip buses
System on chip busesSystem on chip buses
System on chip buses
 
Co notes
Co notesCo notes
Co notes
 
Isa bus nptel
Isa bus nptelIsa bus nptel
Isa bus nptel
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Io pro
Io proIo pro
Io pro
 
Chap2 comp architecture
Chap2 comp architectureChap2 comp architecture
Chap2 comp architecture
 
Bus System (part 2)
Bus System (part 2)Bus System (part 2)
Bus System (part 2)
 
CH03-COA10e_ComputerFun5656565656565ction.pdf
CH03-COA10e_ComputerFun5656565656565ction.pdfCH03-COA10e_ComputerFun5656565656565ction.pdf
CH03-COA10e_ComputerFun5656565656565ction.pdf
 
Bus System
Bus SystemBus System
Bus System
 
Design And Verification of AMBA APB Protocol
Design And Verification of AMBA APB ProtocolDesign And Verification of AMBA APB Protocol
Design And Verification of AMBA APB Protocol
 
Cpi unit 01
Cpi unit 01Cpi unit 01
Cpi unit 01
 
IS 139 Lecture 5
IS 139 Lecture 5IS 139 Lecture 5
IS 139 Lecture 5
 
01buses ver2_
01buses  ver2_01buses  ver2_
01buses ver2_
 
Computer organisation and architecture module 1
Computer organisation and architecture module 1Computer organisation and architecture module 1
Computer organisation and architecture module 1
 
computer organization and architecture
computer organization and architecturecomputer organization and architecture
computer organization and architecture
 

Recently uploaded

Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 

Recently uploaded (20)

Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 

Unit 6 interprocessor arbitration

  • 2. Contents  Characteristics of Multiprocessors  Interconnection Structure Interprocessor Arbitration  Interprocessor Communication and Synchronization  Cache Coherence  Shared Memory Multiprocessors SS College of Engineering, Udaipur, Rajasthan 2
  • 3. by: Er. Dipesh Vaya Head & Asst. Prof. Department of CSE SSCE, Udaipur, Rajasthan Inter-processor Arbitration (Arbitration : A decision, such as made by a judge or an arbitrator.) SS College of Engineering, Udaipur, Rajasthan 3
  • 4. Introduction  Computer systems contain a number of buses at various levels to facilitate the transfer of information between components.  The CPU contains a number of internal buses for transferring information between processor registers and ALU.  A memory bus consists of lines for transferring data, address, and read/write information.  An I/O bus is used to transfer information to and from input and output devices. SS College of Engineering, Udaipur, Rajasthan 4
  • 5. Introduction (Cont.)  A bus that connects major components in a multiprocessor system, such as CPUs, IOPs, and memory, is called a system bus.  The processors in a shared memory multiprocessor system request access to common memory or other common resources through the system bus.  The arbitration logic would be part of the system bus controller placed between the local bus and the system bus as shown in Next Slide. SS College of Engineering, Udaipur, Rajasthan 5
  • 6. System bus structure for multiprocessors CPU IOP Local memory Common shared memory System bus controller CPU IOP Local memory System Bus controller CPU Local memory Local bus Local bus Local bus System bus System bus controller SS College of Engineering, Udaipur, Rajasthan 6
  • 7. System Bus  A typical system bus consists of approximately 100 signal lines. These lines are divided into three functional groups: data, address, and control. In addition, there are power distribution lines.  For example, the IEEE standard 796 multibus system has 16 data lines, 24 address lines, 26 control lines, and 20 power lines, for a total of 86 lines.  The data lines provide a path for the transfer of data between processors and common memory.  The address lines are used to identify a memory address or any other source or destination.  The control lines provide signals for controlling the information transfer between units. SS College of Engineering, Udaipur, Rajasthan 7
  • 8. 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 Interrupt control Interrupt request (8 lines) INT0-INT7 Interrupt acknowledge INTA 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) IEEE standard 796 multibus signals Signal name SS College of Engineering, Udaipur, Rajasthan 8
  • 9. Explanation of the function of the bus arbitration signals listed in Previous Table. SS College of Engineering, Udaipur, Rajasthan 9 The bus priority-in BPRN and bus priority-out BPRO are used for a daisy-chain connection of bus arbitration circuits. The signals used to construct a parallel arbitration procedure are bus request BREQ and priority-in BPRN. The common bus request CBRQ serves to instruct the arbiter if there are any other arbiters of lower-priority requesting use of the system bus. The bus clock BCLK is used to synchronize all bus transactions.
  • 10. Serial arbitration procedure  Arbitration procedures service all processor requests on the basis of established priorities.  The serial priority resolving technique is obtained from a daisy-chain connection of bus arbitration circuits.  Fig. 2 shows the daisy-chain connection of four arbiters. It is assumed that each processor has its own bus arbiter logic with priority-in and priority-out lines.  Thus the processor whose arbiter has a PI=1 and PO=0 is the one that is given control of the system bus.  The bus busy line provides a mechanism for an orderly transfer of control.  The busy line comes from open-collector circuits in each unit and provides a wired-OR logic connection SS College of Engineering, Udaipur, Rajasthan 10
  • 11. Serial (daisy-chain) arbitration Fig. 2 Bus arbiter 1 PI PO Bus arbiter 2 PI PO Bus arbiter 3 PI PO Bus arbiter 4 PI PO Highest priority Lowest priority To next arbiter Bus busy line 1    SS College of Engineering, Udaipur, Rajasthan 11
  • 12. Parallel arbitration logic  Uses an external priority encoder and a decoder as shown in Fig. 3.  Each bus arbiter in the parallel scheme has a bus request output line and a bus acknowledge input line.  Priority encoder is used to decide and distribute the priorities of processors.  Priority Decoder is used to identify the encoded processor turn. SS College of Engineering, Udaipur, Rajasthan 12
  • 13. Parallel arbitration Fig. 3 Bus arbiter 1 Bus arbiter 2 Bus arbiter 3 Bus arbiter 4 Bus busy line    Ack Ack Ack AckReq Req Req Req Decoder 42 BREQBPRN SS College of Engineering, Udaipur, Rajasthan 13 encoderPr 24 iority 
  • 14. Dynamic arbitration algorithms  The time slice algorithm  Allocates a fixed-length time slice of bus time that is offered sequentially to each processor, in round-robin fashion.  Polling  The bus controller sequences through the addresses in a prescribed manner.  The least recently used (LRU) algorithm  Gives the highest priority to the requesting device that has not used the bus for the longest interval.  The first-come, first-serve scheme  Requests are served in the order received.  The Rotating daisy-chain procedure  Each arbiter priority for a given bus cycle is determined by its position along the bus priority line from the arbiter whose processor is currently controlling the bus. SS College of Engineering, Udaipur, Rajasthan 14
  • 15. Thank You! Query Session???? SS College of Engineering, Udaipur, Rajasthan 15