Case Study 2: Windows History of windows 2000

Slides:



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

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.
Case study 1 Windows 7.
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.
Introduction to Kernel
Home: Phones OFF Please Unix Kernel Parminder Singh Kang Home:
Informationsteknologi Friday, November 16, 2007Computer Architecture I - Class 121 Today’s class Operating System Machine Level.
Process Management. External View of the OS Hardware fork() CreateProcess() CreateThread() close() CloseHandle() sleep() semctl() signal() SetWaitableTimer()
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.
Computer Forensics Principles and Practices by Volonino, Anzaldua, and Godwin Chapter 6: Operating Systems and Data Transmission Basics for Digital Investigations.
OPERATING SYSTEMS Introduction
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.
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.
Ceng Operating Systems 11-1 Chapter 11 : Case Study - Win 2000 History of windows 2000 Programming windows 2000 System structure Processes and threads.
Chapter 8 Windows Outline Programming Windows 2000 System structure Processes and threads in Windows 2000 Memory management The Windows 2000 file.
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,
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 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.
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.
Windows Threading Colin Roby Jaewook Kim.
What is a Process ? A program in execution.
Concepts and Structures. Main difficulties with OS design synchronization ensure a program waiting for an I/O device receives the signal mutual exclusion.
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.
Introduction to Operating Systems Concepts
Day 28 File System.
Operating System & Application Software
Introduction to Kernel
Hardware and OS Design and Layout.
Chapter 11: File System Implementation
Case Study 1: UNIX and LINUX
Structure of Processes
Unit OS4: Scheduling and Dispatch
Operating Systems: A Modern Perspective, Chapter 6
Unit OS2: Operating System Principles
Process Realization In OS
CS490 Windows Internals Quiz 2 09/27/2013.
File System API Calls in Windows 2000 (1)
KERNEL ARCHITECTURE.
Threads and Locks.
Chapter 3: Windows7 Part 1.
Chapter 2: Operating-System Structures
Chapter 3: Windows7 Part 2.
Windows Internals Brown-Bag Seminar Chapter 1 – Concepts and Tools
OS Organization.
Chapter 3: Windows7 Part 3.
I/O Systems I/O Hardware Application I/O Interface
Chapter 3: Windows7 Part 2.
The Operating System Machine Level
Chapter 1 Introduction to Operating System Part 5
B.Ramamurthy Chapter 2 : Appendix
Threads Chapter 4.
Introduction to Operating Systems
Implementing Processes, Threads, and Resources
Windows NT History Design Principles System Components
Outline Operating System Organization Operating System Examples
OPERATING SYSTEMS STRUCTURES
Michael Blinn Ben Hejl Jane McHugh Matthew VanMater
Presentation transcript:

Case Study 2: Windows 2000 11.1 History of windows 2000 11.2 Programming windows 2000 11.3 System structure 11.4 Processes and threads in windows 2000 11.5 Memory management 11.6 Input/output in windows 2000 11.7 The windows 2000 file system 11.8 Security in windows 2000 11.9 Caching in windows 2000

Some differences between Windows 98 and Windows NT

Different versions of Windows 2000

Windows 2000 (2) Comparison of some operating system sizes

The Win32 Application Programming Interface The Win32 API allows programs to run on almost all versions of Windows

The Registry (1) Top level keys and selected subkeys Capitalization has no meaning but follows Microsoft practice.

Some of the Win32 API calls for using the registry

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

Hardware Abstraction Layer Some of the hardware functions the HAL manages

Implementation of Objects (1) The structure of an object

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

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

Some typical directories in the object name space

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

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

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

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

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

Mapping of Win32 priorities to Windows 2000 priorities Scheduling (1) Mapping of Win32 priorities to Windows 2000 priorities

Windows 2000 supports 32 priorities for threads Scheduling (2) Windows 2000 supports 32 priorities for threads

An example of priority inversion Scheduling (3) An example of priority inversion

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

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

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

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

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

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

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

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

Input/Output API Calls Categories of Win32 API calls

Windows 2000 allows drivers to be stacked Device Drivers Windows 2000 allows drivers to be stacked

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

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

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

File System Structure (1) The NTFS master file table

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

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

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

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

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

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

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

Structure of an access token Security in Windows 2000 Structure of an access token

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

Principal Win32 API functions for security Security API Calls (2) Principal Win32 API functions for security

Caching in Windows 2000 The path through the cache to the hardware