1 / 29

Operating Systems

Operating Systems. Purpose of an Operating System. Manage system resources CPU scheduling Process management Memory management Input/Output device management Storage device management (hard disks, CD/DVD drives, etc) File System Management Simplify the development and use of applications.

Download Presentation

Operating Systems

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Operating Systems

  2. Purpose of an Operating System • Manage system resources • CPU scheduling • Process management • Memory management • Input/Output device management • Storage device management (hard disks, CD/DVD drives, etc) • File System Management • Simplify the development and use of applications

  3. Mainstream Operating Systems • Microsoft Windows • MacOS • Mac and PCs are not directly compatible but virtualization can be used.

  4. UNIX • Operating system for large computers about 40 years ago. • Linux • Free implementation of Unix • Supported by most platforms

  5. Special Purpose OS • Most “devices” use an operating system to make application development easier. • Examples: • cell phones (Symbian, BlackBerry, Windows Mobile, etc). • Aircraft Systems (VxWorks, pSOS, QNX)

  6. Layers • Layers need to be concerned with layer below (and above) • Layers are isolated from certain changes

  7. Running Multiple Operating Systems

  8. Virtual Machine Linux Application Linux (OS) Windows Application VMWare Application Windows (OS) Hardware

  9. Running a Virtual Machine

  10. OS Modes • A typical operating system has two modes of operation. • User Mode • Kernel Mode • These are like layers of operation within the operating system layer.

  11. User Mode • The User Mode is concerned with the actual interface between the user and the system. • It controls things like running applications and accessing files.

  12. Kernel Mode • The Kernel Mode is concerned with everything running in the background. • It controls things like: • accessing system resources • controlling hardware functions • processing program instructions. • The Kernel forms the core of the operating system. • acts like a supervisor for everything that is happening in the computer.

  13. The Client-Server OS Model • In the client-server model of an operating system, the User Mode is considered a client. • the User Mode accesses resources provided by the Kernel (the server).

  14. Typical OS Architecture Service Application Service Application Service Application Service Application User mode (client) Application Interface Kernel mode (server) Dispatcher I/O Device Manager Memory Manager Security System Graphics System Graphics System Scheduler File System Kernel Hardware

  15. User Interface • Way for the user to control the operating system. • Two types: graphical user interface (GUI) and command line interface

  16. Who starts the OS?

  17. GUI & Command Line

  18. Command Line Interpreter • Converts typed commands into operating system actions (system calls). • Most interpreters execute applications to perform the system calls.

  19. Managing System Resources • An operating system needs to manage a wide range of system resources: • CPU scheduling and process management • Memory (RAM) • Access to peripheral devices • File system management.

  20. CPU Scheduling Applications • Decide when applications should run; does the order matter? • Are the applications active or sleeping? • Multiple applications at the same time Word Internet Explorer Microsoft Outlook Adobe Acrobat

  21. The Process Table • Keeping track of all of the processes is done with the Process Table. • The Process Table lists: • Processes that are currently being run • Processes that are waiting to be executed • Processes that have been temporarily suspended • It also keeps track of the current status, or state, of each process.

  22. Memory Management RAM • Give memory to each application as needed. • Protect applications from each other • Protect operating system from ‘bad’ applications Windows Word Internet Explorer Internet Explorer Unused

  23. Peripherals • Devices are very difficult to program • OS Provides Drivers • Applications speak to drivers • Drivers communicate to device

  24. File System • Manage Information (files and folders) • Provide common view of storage devices

  25. Review Questions • Describe two tasks that are performed by an operating system. • Describe the four layers of interaction in an operating system model. • Briefly describe how you can install multiple operating systems on the same computer. • Draw a diagram to demonstrate how virtualization can be used to run multiple operating systems at the same time.

  26. Briefly describe the client-server model of an operating system. • Draw a simple diagram to show the two modes of operations of an OS. • Briefly describe the function of the Command Line Interpreter. • What are the major differences between System Calls and Interrupts? • Describe the purpose of the Process Table.

  27. Thank you

More Related