1 Case Study 2: Windows 2000 Chapter 11 11.1 History of windows 2000 11.2 Programming windows 2000 11.3 System structure 11.4 Processes and threads in.

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.
Threads, SMP, and Microkernels Chapter 4. Process Resource ownership - process is allocated a virtual address space to hold the process image Scheduling/execution-
1 Threads, SMP, and Microkernels Chapter 4. 2 Process: Some Info. Motivation for threads! Two fundamental aspects of a “process”: Resource ownership Scheduling.
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.
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:
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.
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
Slide 6-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 6.
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.
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,
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.
Windows Object Manager CS Spring Overview The object paradigm NT Objects and the Object Manager Object Structure Object Naming Object Handles.
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.
Windows NT Operating System. Windows NT Models Layered Model Client/Server Model Object Model Symmetric Multiprocessing.
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.
2 Processor(s)Main MemoryDevices Process, Thread & Resource Manager Memory Manager Device Manager File Manager.
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.
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
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 1.
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:

1 Case Study 2: Windows 2000 Chapter History of windows Programming windows System structure 11.4 Processes and threads in windows Memory management 11.6 Input/output in windows The windows 2000 file system 11.8 Security in windows Caching in windows 2000

2 Windows NT Some differences between Windows 98 and Windows NT

3 Windows 2000 (1) Different versions of Windows 2000

4 Windows 2000 (2) Comparison of some operating system sizes

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

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

7 The Registry (2) Some of the Win32 API calls for using the registry

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

9 Hardware Abstraction Layer Some of the hardware functions the HAL manages

10 Implementation of Objects (1) The structure of an object

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

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

13 The Object Name Space Some typical directories in the object name space

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

15 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

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

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

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

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

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

21 An example of priority inversion Scheduling (3)

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

23 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

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

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

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

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

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

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

30 Input/Output API Calls Categories of Win32 API calls

31 Device Drivers Windows 2000 allows drivers to be stacked

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

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

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

35 File System Structure (1) The NTFS master file table

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

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

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

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

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

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

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

43 Security in Windows 2000 Structure of an access token

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

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

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