Ceng 334 - Operating Systems 11-1 Chapter 11 : Case Study - Win 2000 History of windows 2000 Programming windows 2000 System structure Processes and threads.

Slides:



Advertisements
Similar presentations
Chapter 6 File Systems 6.1 Files 6.2 Directories
Advertisements

1 Chapter 12 File Management Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
14 Macintosh OS X Internals. © 2005 Pearson Addison-Wesley. All rights reserved The Macintosh Platform 1984 – first affordable GUI Based on Motorola 32-bit.
Chap 2 System Structures.
Operating-System Structures
Case study 1 Windows 7.
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
1 Threads, SMP, and Microkernels Chapter 4. 2 Process: Some Info. Motivation for threads! Two fundamental aspects of a “process”: Resource ownership Scheduling.
Structure of Processes
1 Case Study 1: UNIX and LINUX Chapter History of unix 10.2 Overview of unix 10.3 Processes in unix 10.4 Memory management in unix 10.5 Input/output.
Case Study: Windows 2000 Part I Will Richards CPSC 550 Spring 2001.
1 Case Study 2: Windows 2000 Chapter History of windows Programming windows System structure 11.4 Processes and threads in.
Windows 2000 and Solaris: Threads and SMP Management Submitted by: Rahul Bhuman.
CS 104 Introduction to Computer Science and Graphics Problems Operating Systems (4) File Management & Input/Out Systems 10/14/2008 Yang Song (Prepared.
Introduction to Kernel
2: OS Structures 1 Jerry Breecher OPERATING SYSTEMS STRUCTURES.
Home: Phones OFF Please Unix Kernel Parminder Singh Kang Home:
Process Management. External View of the OS Hardware fork() CreateProcess() CreateThread() close() CloseHandle() sleep() semctl() signal() SetWaitableTimer()
Chapter 3.2 : Virtual Memory
1 File Management in Representative Operating Systems.
Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc. All rights reserved The Operating System Machine.
CS-3013 & CS-502, Summer 2006 Windows XP1 CS-502 Operating Systems Slides excerpted from Silbershatz, Ch. 22.
Computer Forensics Principles and Practices by Volonino, Anzaldua, and Godwin Chapter 6: Operating Systems and Data Transmission Basics for Digital Investigations.
OPERATING SYSTEMS Introduction
File Management Chapter 12.
Operating Systems Concepts 1. A Computer Model An operating system has to deal with the fact that a computer is made up of a CPU, random access memory.
Chapter 16: Windows 7.
Chapter 51 Threads Chapter 5. 2 Process Characteristics  Concept of Process has two facets.  A Process is: A Unit of resource ownership:  a virtual.
Slide 6-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 6.
Chapter 3.1:Operating Systems Concepts 1. A Computer Model An operating system has to deal with the fact that a computer is made up of a CPU, random access.
Chapter 8 Windows Outline Programming Windows 2000 System structure Processes and threads in Windows 2000 Memory management The Windows 2000 file.
Computer Concepts 2013 Chapter 4 Operating Systems and File Management.
MODERN OPERATING SYSTEMS Third Edition ANDREW S. TANENBAUM Chapter 11 Case Study 2: Windows Vista Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall,
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
Dr Damitha Karunaratna University of Colombo school of computing
Systems Security & Audit Operating Systems security.
Chapter pages1 File Management Chapter 12.
In a nut shell 1.  Goals  A little history  System components  Threads & CPU scheduling  Virtual memory  Environmental subsystems  File System:
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 13 Understanding and Installing Windows 2000 and Windows NT.
Windows XP. History Windows XP is based on the NT kernel developed in 1988 Windows XP is based on the NT kernel developed in 1988 XP was originally sold.
Windows 2000 Course Summary Computing Department, Lancaster University, UK.
Microsoft Windows 2000 Daniel Hummell Ryan McKenica Valerie Grinblat.
Hardware process When the computer is powered up, it begins to execute fetch-execute cycle for the program that is stored in memory at the boot strap entry.
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
Windows 2000 Michael Blinn Ben Hejl Jane McHugh Matthew VanMater.
System Components ● There are three main protected modules of the System  The Hardware Abstraction Layer ● A virtual machine to configure all devices.
Lecture 18 Windows – NT File System (NTFS)
UNIX & Windows NT Name: Jing Bai ID: Date:8/28/00.
Hardware process When the computer is powered up, it begins to execute fetch-execute cycle for the program that is stored in memory at the boot strap entry.
What is a Process ? A program in execution.
Major OS Components CS 416: Operating Systems Design, Spring 2001 Department of Computer Science Rutgers University
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 3: Windows7 Part 3.
A+ Guide to Managing and Maintaining Your PC, 7e Chapter 2 Introducing Operating Systems.
Introduction to Kernel
Hardware and OS Design and Layout.
Case Study 1: UNIX and LINUX
Unit OS4: Scheduling and Dispatch
Operating Systems: A Modern Perspective, Chapter 6
Unit OS2: Operating System Principles
Process Realization In OS
File System API Calls in Windows 2000 (1)
KERNEL ARCHITECTURE.
Chapter 3: Windows7 Part 2.
Windows Internals Brown-Bag Seminar Chapter 1 – Concepts and Tools
Chapter 3: Windows7 Part 3.
Case Study 2: Windows History of windows 2000
Chapter 3: Windows7 Part 2.
The Operating System Machine Level
B.Ramamurthy Chapter 2 : Appendix
Outline Operating System Organization Operating System Examples
Presentation transcript:

Ceng Operating Systems 11-1 Chapter 11 : Case Study - Win 2000 History of windows 2000 Programming windows 2000 System structure Processes and threads in windows 2000 Memory management Input/output in windows 2000 The windows 2000 file system Security in windows 2000 Caching in windows 2000

Ceng Operating Systems 11-2 Windows 2000 (1) Different versions of Windows 2000

Ceng Operating Systems 11-3 Windows 2000 (2) Comparison of some operating system sizes

Ceng Operating Systems 11-4 The Win32 Application Programming Interface The Win32 API allows programs to run on almost all versions of Windows

Ceng Operating Systems 11-5 The Registry (1) Top level keys and selected subkeys Capitalization has no meaning but follows Microsoft practice.

Ceng Operating Systems 11-6 The Registry (2) Some of the Win32 API calls for using the registry

Ceng Operating Systems 11-7 The Operating System Structure Structure of Windows 2000 (slightly simplified). Shaded area is executed Boxes, D, are device drivers Service processes are system daemons

Ceng Operating Systems 11-8 Hardware Abstraction Layer Some of the hardware functions the HAL manages

Ceng Operating Systems 11-9 Implementation of Objects (1) The structure of an object

Ceng Operating Systems Implementation of Objects (2) Some common executive object types managed by the object manager

Ceng Operating Systems Implementation of Objects (3) The relationship between handle tables, objects and type objects

Ceng Operating Systems The Object Name Space Some typical directories in the object name space

Ceng Operating Systems Environment Subsystems (1) Various routes taken to implement Win32 API function calls

Ceng Operating Systems Environmental Subsystems (2) Some key windows 2000 files –mode they run in –number of exported function calls –main contents of each file Calls in win32k.sys not formally exported –not called directly

Ceng Operating Systems Processes and Threads (1) Basic concepts used for CPU and resource management

Ceng Operating Systems Processes and Threads (2) Relationship between jobs, processes, threads, and fibers

Ceng Operating Systems Job, Process, Thread & Fiber Mgmt. API Calls Some of Win32 calls for managing processes, threads and fibers

Ceng Operating Systems Scheduling (1) Mapping of Win32 priorities to Windows 2000 priorities

Ceng Operating Systems Scheduling (2) Windows 2000 supports 32 priorities for threads

Ceng Operating Systems An example of priority inversion Scheduling (3)

Ceng Operating Systems MS-DOS Emulation How old MS-DOS programs are run under Windows 2000

Ceng Operating Systems Booting Windows 2000 Processes starting up during boot phase Those above the line are always started Those below are examples of services which could be started

Ceng Operating Systems Fundamental Concepts (1) Virtual address space layout for 3 user processes White areas are private per process Shaded areas are shared among all processes

Ceng Operating Systems Fundamental Concepts (2) Mapped regions with their shadow pages on disk The lib.dll file is mapped into two address spaces at same time

Ceng Operating Systems Memory Management System Calls The principal Win32 API functions for mapping virtual memory in Windows 2000

Ceng Operating Systems Implementation of Memory Management A page table entry for a mapped page on the Pentium

Ceng Operating Systems Physical Memory Management (1) The various page lists and the transitions between them

Ceng Operating Systems Physical Memory Management (2) Some of the major fields in the page frame data base for a valid page

Ceng Operating Systems Input/Output API Calls Categories of Win32 API calls

Ceng Operating Systems Device Drivers Windows 2000 allows drivers to be stacked

Ceng Operating Systems File System API Calls in Windows 2000 (1) Principle Win32 API functions for file I/O Second column gives nearest UNIX equivalent

Ceng Operating Systems File System API Calls in Windows 2000 (2) A program fragment for copying a file using the Windows 2000 API functions

Ceng Operating Systems File System API Calls in Windows 2000 (3) Principle Win32 API functions for directory management Second column gives nearest UNIX equivalent, when one exists

Ceng Operating Systems File System Structure (1) The NTFS master file table

Ceng Operating Systems File System Structure (2) The attributes used in MFT records

Ceng Operating Systems File System Structure (3) An MFT record for a three-run, nine-block file

Ceng Operating Systems File System Structure (4) A file that requires three MFT records to store its runs

Ceng Operating Systems File System Structure (5) The MFT record for a small directory.

Ceng Operating Systems File Name Lookup Steps in looking up the file C:mariaweb.htm

Ceng Operating Systems File Compression (a) An example of a 48-block file being compressed to 32 blocks (b) The MTF record for the file after compression

Ceng Operating Systems File Encryption Operation of the encrypting file system K retrieved user's public key

Ceng Operating Systems Security in Windows 2000 Structure of an access token

Ceng Operating Systems Security API Calls (1) Example security descriptor for a file

Ceng Operating Systems Security API Calls (2) Principal Win32 API functions for security

Ceng Operating Systems Caching in Windows 2000 The path through the cache to the hardware