1 / 21

Operating Systems

Operating Systems. Operating Systems. Session 1: OS objectives Modes of operation Components Architecture Linux Windows XP. What is an Operating System?. Computer = set of resources processor(s), memory, I/O & communication devices OS enables use of resources manages resources

luz
Télécharger la présentation

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 Operating Systems Session 1: OS objectives Modes of operation Components Architecture Linux Windows XP

  2. What is an Operating System? • Computer = set of resources • processor(s), memory, I/O & communication devices • OS • enables use of resources • manages resources • resources not limited to hardware • shift from: • pure efficient use of resources to • enhance user experience COP 5614 - Operating Systems

  3. Environments • General-purpose • High-end • Special hardware needs • Embedded • Specialized resources • Real-time • Limited time frames • Virtual • portability, abstract COP 5614 - Operating Systems

  4. Kernel • pieces of software that perform OS tasks • has privileged access to resources • operation • kernel mode or kernel space • user mode or user space • system call: • user mode program invokes kernel mode functionality COP 5614 - Operating Systems

  5. Operating System Components • Processor scheduler • Memory manager • I/O manager • Interprocess communication manager • File system manager COP 5614 - Operating Systems

  6. Operating System Architectures • Operating systems tend to be complex • Provide many services • Support variety of hardware and software • Operating system architectures help manage this complexity • Organize operating system components • Specify privilege with which each component executes COP 5614 - Operating Systems

  7. Operating System Architectures • monolithic • layered • micro-kernel • distributed COP 5614 - Operating Systems

  8. Monolithic Architecture • Monolithic operating system • Every component contained in kernel • direct communication among all elements • highly efficient • Problems: • complexity • new devices, emerging technologies • enabling, protection COP 5614 - Operating Systems

  9. Monolithic Architecture COP 5614 - Operating Systems

  10. Layered Architecture • Groups components that perform similar functions into layers • Each layer communicates only with adjacent layer • System calls might pass through many layers before completion COP 5614 - Operating Systems

  11. Layered Architecture COP 5614 - Operating Systems

  12. Microkernel Architecture • Microkernel • provides only small number of services • attempt to keep kernel small and scalable • High degree of modularity • Extensible, portable and scalable • Increased level of inter-module communication COP 5614 - Operating Systems

  13. Microkernel Architecture COP 5614 - Operating Systems

  14. Distributed Operating Systems • Network operating system • Runs on one computer but allows its processes to access remote resources • Distributed operating system • Single OS manages resources on more than one computer COP 5614 - Operating Systems

  15. Distributed Operating Systems COP 5614 - Operating Systems

  16. Linux Kernel Architecture • Monolithic kernel: Contains modular components • Process management • Interprocess communication • Memory management • File system management • VFS: provides a single file system interface • I/O management • Networking COP 5614 - Operating Systems

  17. Linux Kernel Architecture COP 5614 - Operating Systems

  18. Loadable Kernel Modules • Enables code to be loaded on demand • Reduces the kernel’s memory footprint • Kmod: a kernel subsystem that manages modules without user intervention • Determines module dependencies and loads and unloads them on demand COP 5614 - Operating Systems

  19. Windows XP Kernel Architecture • Modified microkernel (modules run in kernel mode) • has layers, but communication can skip layers • has modular components within layer • Microkernel • Basic system mechanisms • Thread scheduling, interrupt dispatching, etc. • Abstracts hardware specifics that differ between architectures COP 5614 - Operating Systems

  20. Windows XP Kernel Architecture COP 5614 - Operating Systems

  21. Agenda for next week: • Chapter 3: Process Concepts • Chapter 4: Thread Concepts COP 5614 - Operating Systems

More Related