SlideShare a Scribd company logo
Name: Saad Tanvir
ID: 14005065-083
Batch: 5
Program : BS Software Engineering
Resource Person: Mr. Khizar
Date: October 10, 2016
Computer Organization & Assembly Language
Assignment no 2
Contents
1 Symmetric Multi Processing (SMP)........................................................................................ 3
1.1 Multiprocessing and Multiprocessor................................................................................ 3
1.2 Definition: ........................................................................................................................ 3
1.3 Characteristics of SMP..................................................................................................... 3
2 Advantage of SMP vs. Single Processor ................................................................................. 4
3 Issues in Operating System of SMP ........................................................................................ 4
3.1 Simultaneous concurrent processes or threads................................................................. 5
3.2 Scheduling........................................................................................................................ 5
3.3 Synchronization................................................................................................................ 5
3.4 Memory management....................................................................................................... 5
3.5 Reliability and fault tolerance .......................................................................................... 5
1 Symmetric Multi Processing (SMP)
1.1 Multiprocessing and Multiprocessor:
Multiprocessing is a term which means processing of programs by one or more processors at the same time.
Microprocessor is a computer in which two or more processor share full access to a common RAM.
1.2 Definition:
SMP is called Symmetric Multi Processing. It is a technology in which programs are processed by multi
processors and they share a common operating system and a memory. These processors communicate with each
other through a shared memory. Symmetric means each processor can do anything which the other processor
can do. All the processors can make changes to the any block of the memory and can also do Input / Output
module communication.
The processor’s view is also symmetrical as shown in Figure 1.
Figure 1: SMP Block Diagram
1.3 Characteristics of SMP:
Here are the characteristics of the Symmetric Multi Processors:
 It has a two or more processors which has similar capacity.
 In SMP, all the processors share same memory and I/O module.
 In SMP, all the processors are connected by buses or internal connection.
 In SMP, all the processors have almost same memory access time.
 In SMP, all the processors have accessibility to I/O module through the same channels or through different
channels which has path to the same module.
 In SMP, all the processors are symmetrical. Each processor can perform all the tasks.
 In SMP, all the processors do not cause the programs to overload.
 In SMP, all the processors allow to run a mixture of programs.
 In SMP, all the processors have Uniform Access Memory (UMA).
2 Advantage of SMP vs. Single Processor
Following are the potential advantage of SMP over single Processor:
Parameters Symmetric Multi Processor Single Processor
Definitions If multiple processors performs all the task
within the same operating system is called
as Symmetric Multi Processor .
Of only one processor perform all the task of a
system is known as single processor.
Specification In symmetric multiprocessors, each
Processor are designed to handle all tasks.
In single processors, the processor are not
designed to handle all tasks.
Reliability It is more reliable as failure in one
Processor do not affect the other processors.
It is not reliable as failure in processor causes
the Entire system failure.
Performance Symmetric Multiprocessors have high
performance due to parallel working of
processors.
Single Processors have low performance rate
as all work is to be processed by the single
processor.
Design
Implementation
It is difficult to implement a symmetric
Multi processors as we have to achieve the
synchronization of the multiple processors.
It is easy to implement as it consist of single
processor.
Enhance Speed The speed of the SMP can be achieved by
the adding the processors.
The speed of the SMP cannot be achieved by
the adding the processors.
Cost It is less costly because all the processors may
have shared resources.
It is more costly because each separate single
Processors require separate resources.
3 Issues in Operating System of SMP
Following are the issues in Operating System of SMP:
3.1 Simultaneous concurrent processes or threads:
As multiple processors are working in parallel so we have to manage the kernel properly to avoid data corrupt
or invalid operations.
3.2 Scheduling:
It is important part in operating system as it is responsible for the removal of the current running process from
the CPU and selecting another process on the basis of specific strategy. So any processor may perform the
scheduling. So, if multi processors are not designed to achieve the task scheduling then it may have the ability
to task scheduling of the multiple threads from the same process simultaneously.
3.3 Synchronization:
Synchronization is important in multiprocessors programming as it prevent the use of shared resources at the
same time to avoid the chance of inconsistent data. In multiprocessor, with active processes which have access
to the same shared resources, we must have an efficient synchronization to avoid the mutual exclusion (prevent
the simultaneously access to the shared resources) and ordering of the programs.
3.4 Memory management:
In operating system, Memory management is very essential to achieve the performance. In multi processor there
should be coordination in blocks assigned to running program to achieve the high speed. In multiprocessors, the
paging technique in different processors should be coordinated for consistency when a lot of processors share
the same memory block.
3.5 Reliability and fault tolerance:
Operation System in SMP should be designed that then can automatically detect the problem and recognizes the
failure of processor and rebuild the essential structure accordingly.

More Related Content

What's hot

Multiprocessor
MultiprocessorMultiprocessor
Multiprocessor
Neel Patel
 
ADVANCED COMPUTER ARCHITECTURE AND PARALLEL PROCESSING
ADVANCED COMPUTER ARCHITECTUREAND PARALLEL PROCESSINGADVANCED COMPUTER ARCHITECTUREAND PARALLEL PROCESSING
ADVANCED COMPUTER ARCHITECTURE AND PARALLEL PROCESSING
Zena Abo-Altaheen
 
Vliw
VliwVliw
Vliw
AJAL A J
 
Interrupts
InterruptsInterrupts
Interrupts
guest2e9811e
 
Computer architecture multi processor
Computer architecture multi processorComputer architecture multi processor
Computer architecture multi processor
Mazin Alwaaly
 
Feng’s classification
Feng’s classificationFeng’s classification
Feng’s classification
Narayan Kandel
 
Intel Pentium Pro
Intel Pentium ProIntel Pentium Pro
Intel Pentium Pro
Muhtasim Fuad Rafid
 
Symmetric multiprocessing
Symmetric multiprocessingSymmetric multiprocessing
Symmetric multiprocessing
Mohammad Ali Khan
 
Distributed shared memory ch 5
Distributed shared memory ch 5Distributed shared memory ch 5
Distributed shared memory ch 5
Alagappa Government Arts College, Karaikudi
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecture
venkateswarlu G
 
Symmetric multiprocessing and Microkernel
Symmetric multiprocessing and MicrokernelSymmetric multiprocessing and Microkernel
Symmetric multiprocessing and Microkernel
Manoraj Pannerselum
 
Cache memory
Cache memoryCache memory
Cache memory
George Thomas
 
System bus
System busSystem bus
System bus
AmanLodhi3
 
Physical organization of parallel platforms
Physical organization of parallel platformsPhysical organization of parallel platforms
Physical organization of parallel platforms
Syed Zaid Irshad
 
Multiprocessor
MultiprocessorMultiprocessor
Multiprocessor
Kamal Acharya
 
Pipelining and ILP (Instruction Level Parallelism)
Pipelining and ILP (Instruction Level Parallelism) Pipelining and ILP (Instruction Level Parallelism)
Pipelining and ILP (Instruction Level Parallelism)
A B Shinde
 
Unit iii
Unit iiiUnit iii
Unit iii
Janani S
 
COMPUTER ORGANIZATION NOTES Unit 5
COMPUTER ORGANIZATION NOTES Unit 5COMPUTER ORGANIZATION NOTES Unit 5
COMPUTER ORGANIZATION NOTES Unit 5
Dr.MAYA NAYAK
 
Multiprocessor architecture
Multiprocessor architectureMultiprocessor architecture
Multiprocessor architecture
Arpan Baishya
 
Unit 3 file management
Unit 3 file managementUnit 3 file management
Unit 3 file management
Kalai Selvi
 

What's hot (20)

Multiprocessor
MultiprocessorMultiprocessor
Multiprocessor
 
ADVANCED COMPUTER ARCHITECTURE AND PARALLEL PROCESSING
ADVANCED COMPUTER ARCHITECTUREAND PARALLEL PROCESSINGADVANCED COMPUTER ARCHITECTUREAND PARALLEL PROCESSING
ADVANCED COMPUTER ARCHITECTURE AND PARALLEL PROCESSING
 
Vliw
VliwVliw
Vliw
 
Interrupts
InterruptsInterrupts
Interrupts
 
Computer architecture multi processor
Computer architecture multi processorComputer architecture multi processor
Computer architecture multi processor
 
Feng’s classification
Feng’s classificationFeng’s classification
Feng’s classification
 
Intel Pentium Pro
Intel Pentium ProIntel Pentium Pro
Intel Pentium Pro
 
Symmetric multiprocessing
Symmetric multiprocessingSymmetric multiprocessing
Symmetric multiprocessing
 
Distributed shared memory ch 5
Distributed shared memory ch 5Distributed shared memory ch 5
Distributed shared memory ch 5
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecture
 
Symmetric multiprocessing and Microkernel
Symmetric multiprocessing and MicrokernelSymmetric multiprocessing and Microkernel
Symmetric multiprocessing and Microkernel
 
Cache memory
Cache memoryCache memory
Cache memory
 
System bus
System busSystem bus
System bus
 
Physical organization of parallel platforms
Physical organization of parallel platformsPhysical organization of parallel platforms
Physical organization of parallel platforms
 
Multiprocessor
MultiprocessorMultiprocessor
Multiprocessor
 
Pipelining and ILP (Instruction Level Parallelism)
Pipelining and ILP (Instruction Level Parallelism) Pipelining and ILP (Instruction Level Parallelism)
Pipelining and ILP (Instruction Level Parallelism)
 
Unit iii
Unit iiiUnit iii
Unit iii
 
COMPUTER ORGANIZATION NOTES Unit 5
COMPUTER ORGANIZATION NOTES Unit 5COMPUTER ORGANIZATION NOTES Unit 5
COMPUTER ORGANIZATION NOTES Unit 5
 
Multiprocessor architecture
Multiprocessor architectureMultiprocessor architecture
Multiprocessor architecture
 
Unit 3 file management
Unit 3 file managementUnit 3 file management
Unit 3 file management
 

Similar to Symmetric Multi Processor Multiprocessors

Chapter 10
Chapter 10Chapter 10
Session1 intro to_os
Session1 intro to_osSession1 intro to_os
Session1 intro to_os
Kalyani Patil
 
Types of Operating System-converted.pdf
Types of Operating System-converted.pdfTypes of Operating System-converted.pdf
Types of Operating System-converted.pdf
Omid695066
 
Parallel Processing
Parallel ProcessingParallel Processing
Parallel Processing
Mustafa Salam
 
Multi processor scheduling
Multi  processor schedulingMulti  processor scheduling
Multi processor scheduling
Shashank Kapoor
 
Parallel Processing Presentation2
Parallel Processing Presentation2Parallel Processing Presentation2
Parallel Processing Presentation2daniyalqureshi712
 
Operating system
Operating systemOperating system
Operating system
chetan handa
 
Operating Systems
Operating Systems Operating Systems
Operating Systems
Fahad Shaikh
 
OS UNIT1.pptx
OS UNIT1.pptxOS UNIT1.pptx
OS UNIT1.pptx
DHANABALSUBRAMANIAN
 
Process Management Operating Systems .pptx
Process Management        Operating Systems .pptxProcess Management        Operating Systems .pptx
Process Management Operating Systems .pptx
SAIKRISHNADURVASULA2
 
Operating system || Chapter 1: Introduction
Operating system || Chapter 1: IntroductionOperating system || Chapter 1: Introduction
Operating system || Chapter 1: Introduction
AnkonGopalBanik
 
OS M1.1.pptx
OS M1.1.pptxOS M1.1.pptx
OS M1.1.pptx
bleh23
 
4-Process control block.pptx
4-Process control block.pptx4-Process control block.pptx
4-Process control block.pptx
sania458451
 
4-Process control block.pptx
4-Process control block.pptx4-Process control block.pptx
4-Process control block.pptx
sania458451
 
CSC204 - Chapter 3.1.pptx
CSC204 - Chapter 3.1.pptxCSC204 - Chapter 3.1.pptx
CSC204 - Chapter 3.1.pptx
MUHAMADNURAZRIYUSOFF
 
os mod1 notes
 os mod1 notes os mod1 notes
os mod1 notes
SRINIVASUNIVERSITYEN
 
Multi-Threading.pptx
Multi-Threading.pptxMulti-Threading.pptx
Multi-Threading.pptx
CHANDRUG31
 
Multiprocessor Scheduling
Multiprocessor SchedulingMultiprocessor Scheduling
Multiprocessor Scheduling
Khadija Saleem
 

Similar to Symmetric Multi Processor Multiprocessors (20)

Chapter 10
Chapter 10Chapter 10
Chapter 10
 
Session1 intro to_os
Session1 intro to_osSession1 intro to_os
Session1 intro to_os
 
100-E
100-E100-E
100-E
 
Types of Operating System-converted.pdf
Types of Operating System-converted.pdfTypes of Operating System-converted.pdf
Types of Operating System-converted.pdf
 
Parallel Processing
Parallel ProcessingParallel Processing
Parallel Processing
 
Multi processor scheduling
Multi  processor schedulingMulti  processor scheduling
Multi processor scheduling
 
Parallel Processing Presentation2
Parallel Processing Presentation2Parallel Processing Presentation2
Parallel Processing Presentation2
 
Operating system
Operating systemOperating system
Operating system
 
Operating Systems
Operating Systems Operating Systems
Operating Systems
 
OS UNIT1.pptx
OS UNIT1.pptxOS UNIT1.pptx
OS UNIT1.pptx
 
Process Management Operating Systems .pptx
Process Management        Operating Systems .pptxProcess Management        Operating Systems .pptx
Process Management Operating Systems .pptx
 
Operating system || Chapter 1: Introduction
Operating system || Chapter 1: IntroductionOperating system || Chapter 1: Introduction
Operating system || Chapter 1: Introduction
 
OS M1.1.pptx
OS M1.1.pptxOS M1.1.pptx
OS M1.1.pptx
 
4-Process control block.pptx
4-Process control block.pptx4-Process control block.pptx
4-Process control block.pptx
 
4-Process control block.pptx
4-Process control block.pptx4-Process control block.pptx
4-Process control block.pptx
 
CSC204 - Chapter 3.1.pptx
CSC204 - Chapter 3.1.pptxCSC204 - Chapter 3.1.pptx
CSC204 - Chapter 3.1.pptx
 
Operating system
Operating systemOperating system
Operating system
 
os mod1 notes
 os mod1 notes os mod1 notes
os mod1 notes
 
Multi-Threading.pptx
Multi-Threading.pptxMulti-Threading.pptx
Multi-Threading.pptx
 
Multiprocessor Scheduling
Multiprocessor SchedulingMultiprocessor Scheduling
Multiprocessor Scheduling
 

Recently uploaded

Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 

Recently uploaded (20)

Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 

Symmetric Multi Processor Multiprocessors

  • 1. Name: Saad Tanvir ID: 14005065-083 Batch: 5 Program : BS Software Engineering Resource Person: Mr. Khizar Date: October 10, 2016 Computer Organization & Assembly Language Assignment no 2
  • 2. Contents 1 Symmetric Multi Processing (SMP)........................................................................................ 3 1.1 Multiprocessing and Multiprocessor................................................................................ 3 1.2 Definition: ........................................................................................................................ 3 1.3 Characteristics of SMP..................................................................................................... 3 2 Advantage of SMP vs. Single Processor ................................................................................. 4 3 Issues in Operating System of SMP ........................................................................................ 4 3.1 Simultaneous concurrent processes or threads................................................................. 5 3.2 Scheduling........................................................................................................................ 5 3.3 Synchronization................................................................................................................ 5 3.4 Memory management....................................................................................................... 5 3.5 Reliability and fault tolerance .......................................................................................... 5
  • 3. 1 Symmetric Multi Processing (SMP) 1.1 Multiprocessing and Multiprocessor: Multiprocessing is a term which means processing of programs by one or more processors at the same time. Microprocessor is a computer in which two or more processor share full access to a common RAM. 1.2 Definition: SMP is called Symmetric Multi Processing. It is a technology in which programs are processed by multi processors and they share a common operating system and a memory. These processors communicate with each other through a shared memory. Symmetric means each processor can do anything which the other processor can do. All the processors can make changes to the any block of the memory and can also do Input / Output module communication. The processor’s view is also symmetrical as shown in Figure 1. Figure 1: SMP Block Diagram 1.3 Characteristics of SMP: Here are the characteristics of the Symmetric Multi Processors:
  • 4.  It has a two or more processors which has similar capacity.  In SMP, all the processors share same memory and I/O module.  In SMP, all the processors are connected by buses or internal connection.  In SMP, all the processors have almost same memory access time.  In SMP, all the processors have accessibility to I/O module through the same channels or through different channels which has path to the same module.  In SMP, all the processors are symmetrical. Each processor can perform all the tasks.  In SMP, all the processors do not cause the programs to overload.  In SMP, all the processors allow to run a mixture of programs.  In SMP, all the processors have Uniform Access Memory (UMA). 2 Advantage of SMP vs. Single Processor Following are the potential advantage of SMP over single Processor: Parameters Symmetric Multi Processor Single Processor Definitions If multiple processors performs all the task within the same operating system is called as Symmetric Multi Processor . Of only one processor perform all the task of a system is known as single processor. Specification In symmetric multiprocessors, each Processor are designed to handle all tasks. In single processors, the processor are not designed to handle all tasks. Reliability It is more reliable as failure in one Processor do not affect the other processors. It is not reliable as failure in processor causes the Entire system failure. Performance Symmetric Multiprocessors have high performance due to parallel working of processors. Single Processors have low performance rate as all work is to be processed by the single processor. Design Implementation It is difficult to implement a symmetric Multi processors as we have to achieve the synchronization of the multiple processors. It is easy to implement as it consist of single processor. Enhance Speed The speed of the SMP can be achieved by the adding the processors. The speed of the SMP cannot be achieved by the adding the processors.
  • 5. Cost It is less costly because all the processors may have shared resources. It is more costly because each separate single Processors require separate resources. 3 Issues in Operating System of SMP Following are the issues in Operating System of SMP: 3.1 Simultaneous concurrent processes or threads: As multiple processors are working in parallel so we have to manage the kernel properly to avoid data corrupt or invalid operations. 3.2 Scheduling: It is important part in operating system as it is responsible for the removal of the current running process from the CPU and selecting another process on the basis of specific strategy. So any processor may perform the scheduling. So, if multi processors are not designed to achieve the task scheduling then it may have the ability to task scheduling of the multiple threads from the same process simultaneously. 3.3 Synchronization: Synchronization is important in multiprocessors programming as it prevent the use of shared resources at the same time to avoid the chance of inconsistent data. In multiprocessor, with active processes which have access to the same shared resources, we must have an efficient synchronization to avoid the mutual exclusion (prevent the simultaneously access to the shared resources) and ordering of the programs. 3.4 Memory management: In operating system, Memory management is very essential to achieve the performance. In multi processor there should be coordination in blocks assigned to running program to achieve the high speed. In multiprocessors, the paging technique in different processors should be coordinated for consistency when a lot of processors share the same memory block. 3.5 Reliability and fault tolerance: Operation System in SMP should be designed that then can automatically detect the problem and recognizes the failure of processor and rebuild the essential structure accordingly.