Professional Documents
Culture Documents
Multiprocessor Systems
Distributed Systems Clustered System Real -Time Systems Handheld Systems Computing Environments
1.1
computer(the kernel).
1.2
1.3
Mainframe Systems
Batch Systems Multiprogrammed System
Time-Sharing System
Batch Systems
Job the program,data and control info.
group to speed up the processing. CPU is often idle,coz card reader is much slower than the CPU.
1.4
Multiprogrammed System
CPU utilization is increased by organizing the jobs so that
the CPU always has one to execute. OS keeps several jobs in memory simultaneously,and begins executing one of them.Once this job has to wait for some task,OS switches to another job. In a non-multiprogramming environment,OS sits idle if one job has to wait for some task.
1.5
Time-Sharing Systems
Time-sharing is a logical extension of multiprogramming. CPU executes multiple jobs by switching amongst them. Each job is executed for a fixed time-slice and after the
completion of the time-slice,CPU switches to the next job. Allow multiple users to share the computer simultaneously. Each user is given the impression that he is the sole user of the system.
1.6
Multiprocessor System
Multiprocessor systems have more than one CPU. All the processors share memory and a clock; communication
usually takes place through the shared memory. Also known as Tightly-coupled Systems or Parallel Systems. Advantages of Parallel Systems: Increased throughput When N processors work together, the speed up is huge. Although this speed up ratio is not N times due to sharing of data. Economical Multiprocessor save money than multiple singleprocessor systems coz they share memory and peripherals. Increased reliability If one of the 10 processors fail, other 9 processors should be able to share the work without halting the system.
Operating System Concepts
1.7
the service,even after failure of one processor, is called graceful degradation. Fault Tolerant Systems Systems designed for graceful degradation are called fault tolerant systems. Job Scheduling If multiple jobs are ready to be brought into memory, but there is not enough room for all, the system has to choose amongst them. Making this decision is job scheduling. CPU Scheduling If there are several jobs ready to run at the same time, the system has to choose amongst them. Making this decision is CPU scheduling.
1.8
Symmetric Multiprocessor
Each of the N processors run an
Asymmetric Multiprocessor
One of the N processor acts as a
identical copy of the OS. All systems are peers,there is no master-slave relationship. Advantage N processes can be run simultaneously if there are N processors. Disadvantage One processor may be sitting idle while the other may be overloaded.
master and others act act as slaves. Master processor assigns a specific task to each of the slave processors. Used for large systems. Advantage All the slave processors are given the work equally. Disadvantage - Sharing of memory and other data structures might cause delay sometimes.
Silberschatz, Galvin and Gagne 2002
1.9
Distributed Systems
Distributed Systems are multiple single-processor system
connected through a network. The computation is distributed among several physical processors connected in a network. Each processor has its own local memory. Processors communicate with one another through various communications lines, such as high-speed buses or telephone lines. Also known as Loosely-coupled Systems.
Networks
Local Area Network (LAN) exists in a room,floor or a building. Wide Area Network (WAN) exists between buildings, cities, countries. Small Area Network exists in a range of several feet.
Distributed System
Client-Server System
Peer-to-Peer System
1.11
Peer-to-Peer System
All systems are peers,there is no master-slave relationship. All N single processors can run separate tasks.
1.12
Clustered Systems
Clustered Systems are multiple single-processor system
Asymmetric Clustering
One machine is in standby mode
Symmetric Clustering
All machines run applications
while the other is running the applications. If the running machine fails,the standby mode machine becomes active. Advantage Very easy to recover from machine failure. Disadvantage One machine is ALWAYS in standby mode.
Operating System Concepts
1.13
and monitor each other too.If any machine fails,its load is shared amongst all others. Advantage No machine is idle. Disadvantage Difficult to share the load.
Silberschatz, Galvin and Gagne 2002
Real-Time Systems
Well-defined rigid time constraints are placed on the
operation of the processor. Used in controlling scientific experiments, medical imaging systems, industrial control system etc. Real-Time systems: Hard real-time Soft real-time.
1.14
guarantees that the job will be done on time. All delays in the system are bounded. Secondary storage limited or absent, data stored in read-only memory (ROM). If the time deadline is not met,it may lead to catastrophes. Example Rocket launch.etc
does not lead to catastrophes. Soft real-time tasks are given higher priority than. Example - Industrial control.
1.15
Handheld Systems
Limited memory
Slow processors Small display screens.
1.16