Download presentation
Presentation is loading. Please wait.
Published byJesse Gibson Modified over 8 years ago
1
References A. Silberschatz, P. B. Galvin, and G. Gagne, “Operating Systems Concepts (with Java)”, 8th Edition, John Wiley & Sons, 2009. http://codex.cs.yale.edu/avi/os-book/os8/index.php A. Frank - P. Weisberg
2
References A. S. Tanenbaum, “Modern Operating Systems”, 3rd Edition, Prentice-Hall Intl., 2008. http://www.pearsonhighered.com/educator/academic/pr oduct/0,,0136006639,00%2b en-USS_01DBC.html http://www.pearsonhighered.com/educator/academic/pr oduct/0,,0136006639,00%2b en-USS_01DBC.html A. Frank - P. Weisberg
3
Chapter 1 Introduction
4
Layers of a Computer System Applications ◦ Web browsers, video editing, AV conferencing User Interface ◦ Enabling humans to use the system Operating System “Kernel” ◦ Resource management ◦ Always present in RAM) Hardware ◦ E.g., CPU, memory, I/O (input/output) devices 4
5
Where does the OS fit in? A. Frank - P. Weisberg
6
Tanenbaum & Woodhull, Operating Systems: Design and Implementation, (c) 2006 Prentice-Hall, Inc. All rights reserved. 0-13-142938-8
7
Operating system A program that acts as an intermediary between a user of a computer and the computer hardware “An operating system is similar to a government. Like a government, it performs no useful function by itself. It simply provides an environment within which other programs can do useful work” 7
8
Operating System goals? The operating system has two basic Functions( goals): 1. (user goals): Execute user programs and make solving user problems easier 2.(system goals) : Maximize hardware resource utilization ( resource manager)
9
Operating System Components) These components reflect the services made available by the O.S. Process Management Memory Management I/O Device Management File sysmanagement Network User Interface
10
Classifications of operating system 1 - Single job (user program) in memory: Human operator queues up jobs to be processed Issues CPU idle during I/O operations CPU time is wasted; CPU utilization is low
11
Multiple jobs (programs) in memory CPU can execute another job when one job is blocked (e.g., doing I/O) CPU is not idle if jobs available (Why?) -More RAM memory is required -Introduces CPU scheduling introduce memory management, and longer-term job scheduling Allocation of devices 11 2- ( Multiprogrammed Systems )
12
3- Multitasking & Time Sharing 3- Multitasking & Time Sharing The CPU is switch among several jobs that are kept in memory and on disk (the CPU is allocated to a job only if the job is in memory). ◦ Fast CPU switching between programs Enables multiple users (time sharing) ◦ multiple user programs can run concurrently ◦ Each user can interact with a program via keyboard/monitor ◦ Response time becomes important 12
13
4-Special – Purpose System a- Real-time systems systems that are subject to a "real-time constraint controls an environment by receiving data, processing them, and returning the results sufficiently quickly to affect the environment at that time milliseconds, and sometimes microseconds b - Handheld systems ◦ Smaller memories ◦ Memory management ◦ Low power availability 13
14
5- Multiprocessor Systems “Tightly coupled” Multiple CPU (processing element) systems shared memory Increased throughput ◦ Amount of work done per unit time Economy of scale ◦ Shared disks, other peripherals Increased reliability or fault tolerance 14
15
6 - Distributed Systems “Loosely coupled” no shared memory Performance improvements in some cases ◦ E.g., Network of Sun workstations solving a large sorting problem Distribute part of the sorting problem to each workstationThen combine (merge) solutions Resource sharing Increased reliability 15
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.