Multiprocessor Systems:: Advanced Operating System
Multiprocessor Systems:: Advanced Operating System
Multiprocessor Systems
Multiprocessor Interconnections
Types of Multiprocessor O/S
Functions of Multiprocessor O/S
Multiprocessor Synchronization
key objective
to boost the system’s execution speed,
with other objectives being fault
tolerance and application matching.
Aim:
to support high performance through multiple CPUs
Main Goal:
to make the number of CPUs transparent to the application.
A MULTIPROCESSOR SYSTEM…
Achieving such transparency is relatively easy because the
communication between different (parts of) applications uses the
same primitives as those in multitasking uni-processor operating
systems.
Multiprogramming is more appropriate to describe this concept,
which is implemented mostly in software, whereas multiprocessing
is more appropriate to describe the use of multiple hardware
CPUs.
The multiprocessor system is generally characterized by
increased system throughput and application speedup
parallel processing.
WHY CHOOSE A
MULTIPROCESSOR?
A single CPU can only go so fast, use more than one CPU
to improve performance.
Multiple users
Multiple applications
Multi-tasking within an application
Responsiveness and/or throughput
Share hardware between CPUs
ADVANTAGES
Great Reliability
If due to any reason, any one processor gets fails then do not worry because,
entire system will do work properly.
Improve Throughput
Enhancing the throughput of system, entire system is improved,
Parallel Processing
Multiprocessor O/S gets high performance due to parallel processing. In this
system, single job is divided into various same small jobs, and execute them
like as Parallel nature.
DISADVANTAGES
Multiprocessor has complicated nature in both form such as H/W
and S/W.
It is more expensive due to its large architecture.
System has a daunting task for scheduling processes due to its
shareable nature.
System needs large memory due to sharing its memory with other
resources.
Its speed can get degrade due to fail any one processor.
It has more time delay when processor receives message and take
appropriate action.
It has big challenge related to skew and determinism.
It needs context switching which can be impacted its
performance.
EXAMPLES OF MULTIPROCESSOR
OPERATING SYSTEM
Examples for Symmetric Multiprocessor – Windows NT, Solaris,
Digital UNIX, OS/2 & Linux.
Examples for Asymmetric Multiprocessor – SunOS Version 4, IOS
Other Examples are
Intel Nehalem – Beckton, Westmere, Sandy Bridge
AMD Opteron – K10 (Barcelona, Magny Cours); Bulldozer
ARM Cortex A9, A15 MPCore
Oracle (Sun) UltraSpare T1, T2, T3, T4 (Niagara)
PROCESSOR COUPLING
Multiprocessor systems have more than one processing unit
sharing memory/peripheral devices. They have greater computing
power, and higher reliability.
Tightly-coupled
Loosely-coupled
TIGHTLY- COUPLED SYSTEMS
A tightly coupled system is an approach of system design and
computing where every hardware and software components are
linked together in such a manner that each component is dependent
upon each other.
The goal of a loose coupling architecture is to reduce the risk that a change
made within one element will create unanticipated changes within other
elements.
This systems are not much energy efficient when compared with
tightly coupled.
LOOSELY-COUPLED SYSTEMS…
1.Loosely coupled systems have a distributed memory concept.
2.The interconnection network in a loosely coupled system is
Message Transfer System (MTS).
3.Data rate of the loosely coupled system is low.
4.The loosely coupled system is less expensive but larger in size.
5.Loosely coupled system is efficient when the tasks running on
different processors have minimal interaction between them.
LOOSELY-COUPLED SYSTEMS…
7. They are widely used in distributed computing systems.
8. Throughput in this type of systems is low.
9. Power consumption is high.
10. Each process has its own cache memory.
11. Security is low in this type of systems.
12. It operates on multiple operating systems.
13. It has low scalability.
14. It has high delay.
15. Contention is low in loosely coupled system.
DIFFERENCE BETWEEN LOOSELY COUPLED AND TIGHTLY COUPLED
SYSTEMS
Data rate of the loosely coupled The data rate of tightly coupled
Data Rate system is low. system is high.
DIFFERENCE BETWEEN LOOSELY COUPLED AND TIGHTLY
COUPLED SYSTEMS
BASIS OF
COMPARISON LOOSELY COUPLED SYSTEMS TIGHLY COUPLED SYSTEMS
The loosely coupled system is less The tightly coupled system is more
Cost expensive but larger in size. expensive but compact in size.
Loosely coupled system is efficient The tightly coupled system can take a
when the tasks running on different higher degree of interaction between
Efficiency processors have minimal processes and is efficient for high-speed
interaction between them. and real-time processing.
They are widely used in distributed They are widely used in parallel processing
Application computing systems. systems.
BASIS OF
COMPARISON LOOSELY COUPLED SYSTEMS TIGHLY COUPLED SYSTEMS
Crossbar-connected System
Hyper cubes
Separate Supervisor
Master- Slave
Symmetric Supervision
SEPARATE SUPERVISOR
In separate supervisor system each process behaves
independently.
Each system has its own operating system which manages local
input/output devices, file system and memory well as keeps its
own copy of kernel, supervisor and data structures, whereas some
common data structures also exist for communication between
processors.
Test-and-Set
Compare-and-Swap
Fetch-and-Add