types of operating systems 1 computer engineering department distributed systems course asst. prof....
TRANSCRIPT
![Page 1: Types of Operating Systems 1 Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014](https://reader036.vdocuments.site/reader036/viewer/2022082505/56649eec5503460f94bfd4d8/html5/thumbnails/1.jpg)
1
Types of Operating Systems
Computer Engineering DepartmentDistributed Systems Course
Asst. Prof. Dr. Ahmet SayarKocaeli University - Fall 2014
![Page 2: Types of Operating Systems 1 Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014](https://reader036.vdocuments.site/reader036/viewer/2022082505/56649eec5503460f94bfd4d8/html5/thumbnails/2.jpg)
2
Uniprocessor Operating Systems
• An OS acts as a resource manager or an arbitrator– Manages CPU, I/O devices, memory
• OS provides a virtual interface that is easier to use than hardware
• Structure of uniprocessor operating systems– Monolithic (e.g., MS-DOS, early UNIX)
• One large kernel that handles everything
– Layered design• Functionality is decomposed into N layers• Each layer uses services of layer N-1 and implements new service(s)
for layer N+1
![Page 3: Types of Operating Systems 1 Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014](https://reader036.vdocuments.site/reader036/viewer/2022082505/56649eec5503460f94bfd4d8/html5/thumbnails/3.jpg)
3
Uniprocessor Operating Systems
• Microkernel architecture– Small kernel– user-level servers implement additional functionality
![Page 4: Types of Operating Systems 1 Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014](https://reader036.vdocuments.site/reader036/viewer/2022082505/56649eec5503460f94bfd4d8/html5/thumbnails/4.jpg)
4
Distributed Operating System-Multi-computer-
• Manages resources in a distributed system– Seamlessly and transparently to the user
• Looks to the user like a centralized OS– But operates on multiple independent CPUs
• Provides transparency– Location, migration, concurrency, replication,…
• Presents users with a virtual uniprocessor
![Page 5: Types of Operating Systems 1 Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014](https://reader036.vdocuments.site/reader036/viewer/2022082505/56649eec5503460f94bfd4d8/html5/thumbnails/5.jpg)
Multi-computer Systems
• How to run multiprocessor software on multicomputer systems ?
![Page 6: Types of Operating Systems 1 Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014](https://reader036.vdocuments.site/reader036/viewer/2022082505/56649eec5503460f94bfd4d8/html5/thumbnails/6.jpg)
6
Multiprocessor Operating Systems
• Multi-core• Like a uniprocessor operating system• Manages multiple CPUs transparently to the user• Shared main memory and controlled by a single OS
instance• Each processor has its own hardware cache– Maintain consistency of cached data
![Page 7: Types of Operating Systems 1 Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014](https://reader036.vdocuments.site/reader036/viewer/2022082505/56649eec5503460f94bfd4d8/html5/thumbnails/7.jpg)
Multiprocessor Operating - Contd SystemsHardware Concept
![Page 8: Types of Operating Systems 1 Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014](https://reader036.vdocuments.site/reader036/viewer/2022082505/56649eec5503460f94bfd4d8/html5/thumbnails/8.jpg)
Multiprocessor Operating Systems -Contd
• A bus-based multiprocessor• A representation of shared memory super computing
![Page 9: Types of Operating Systems 1 Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014](https://reader036.vdocuments.site/reader036/viewer/2022082505/56649eec5503460f94bfd4d8/html5/thumbnails/9.jpg)
9
Distributed Operating Systems (1)
• Example: MOSIX cluster - single system image
![Page 10: Types of Operating Systems 1 Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014](https://reader036.vdocuments.site/reader036/viewer/2022082505/56649eec5503460f94bfd4d8/html5/thumbnails/10.jpg)
10
Distributed Operating Systems (2)
• Gives illusion of single system• Users not aware of multiplicity of machines– Access to remote resources similar to access to local
resources• Data Migration – transfer data by transferring
entire file, or transferring only those portions of the file necessary for the immediate task
• Computation Migration – transfer the computation, rather than the data, across the system
![Page 11: Types of Operating Systems 1 Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014](https://reader036.vdocuments.site/reader036/viewer/2022082505/56649eec5503460f94bfd4d8/html5/thumbnails/11.jpg)
11
Network Operating System (1)
![Page 12: Types of Operating Systems 1 Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014](https://reader036.vdocuments.site/reader036/viewer/2022082505/56649eec5503460f94bfd4d8/html5/thumbnails/12.jpg)
12
Network Operating System (2)
• Users are aware of multiplicity of machines. Access to resources of various machines is done explicitly by:– Remote logging into the appropriate remote
machine (telnet, ssh)– Remote Desktop (Microsoft Windows)– Transferring data from remote machines to local
machines, via the File Transfer Protocol (FTP) mechanism
![Page 13: Types of Operating Systems 1 Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014](https://reader036.vdocuments.site/reader036/viewer/2022082505/56649eec5503460f94bfd4d8/html5/thumbnails/13.jpg)
13
Middleware-based Systems
![Page 14: Types of Operating Systems 1 Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014](https://reader036.vdocuments.site/reader036/viewer/2022082505/56649eec5503460f94bfd4d8/html5/thumbnails/14.jpg)
14
Types of Distributed OSs
System Description Main Goal
DOS Tightly-coupled operating system for multiprocessors and homogeneous multicomputers
Hide and manage hardware resources
NOS Loosely-coupled operating system forheterogeneous multicomputers (LAN and WAN)
Offer local services to remote clients
Middleware Additional layer atop of NOS implementing general purpose services
Provide distribution transparency
![Page 15: Types of Operating Systems 1 Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014](https://reader036.vdocuments.site/reader036/viewer/2022082505/56649eec5503460f94bfd4d8/html5/thumbnails/15.jpg)
15
Comparison between Systems
![Page 16: Types of Operating Systems 1 Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014](https://reader036.vdocuments.site/reader036/viewer/2022082505/56649eec5503460f94bfd4d8/html5/thumbnails/16.jpg)
16
Pitfalls when Developing Distributed Systems
• False assumptions made by first time developer:• The network is reliable.• The network is secure.• The network is homogeneous.• Latency is zero.• Bandwidth is infinite.• Transport cost is zero.• There is one administrator.
![Page 17: Types of Operating Systems 1 Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014](https://reader036.vdocuments.site/reader036/viewer/2022082505/56649eec5503460f94bfd4d8/html5/thumbnails/17.jpg)
Summary
• Distributed Systems … autonomous computers
• working together to give the appearance of a single, coherent system.
• They are transparent, scalable and open.
• Unfortunately, they also tend to be complex
![Page 18: Types of Operating Systems 1 Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014](https://reader036.vdocuments.site/reader036/viewer/2022082505/56649eec5503460f94bfd4d8/html5/thumbnails/18.jpg)
Overview challenges
• Concurrency– Shared access to resources must be possible
• Openness– Interfaces should be publicly available to ease
adding new components• Security– The system should only be used in the way
intended