Windows 2000 Course Summary Computing Department, Lancaster University, UK.

Slides:



Advertisements
Similar presentations
Windows 2000 I/O System, Cache Manager and File Systems Computing Department, Lancaster University, UK.
Advertisements

Threads, SMP, and Microkernels
An Overview Of Windows NT System Student: Yifan Yang Student ID:
14 Macintosh OS X Internals. © 2005 Pearson Addison-Wesley. All rights reserved The Macintosh Platform 1984 – first affordable GUI Based on Motorola 32-bit.
Windows 2000 System Architecture (continued) Computing Department, Lancaster University, UK.
Chorus and other Microkernels Presented by: Jonathan Tanner and Brian Doyle Articles By: Jon Udell Peter D. Varhol Dick Pountain.
1 Module 1 The Windows NT 4.0 Environment. 2  Overview The Microsoft Operating System Family Windows NT Architecture Overview Workgroups and Domains.
Threads, SMP, and Microkernels Chapter 4. Process Resource ownership - process is allocated a virtual address space to hold the process image Scheduling/execution-
计算机系 信息处理实验室 Lecture 16 Networking
INTRODUCTION OS/2 was initially designed to extend the capabilities of DOS by IBM and Microsoft Corporations. To create a single industry-standard operating.
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 XP 1 © Silbershatz, Galvin, Gagne CS502 Spring 2006 Windows XP CS-502 Operating Systems Slides excerpted from Silbershatz, Ch. 22.
Process Management. External View of the OS Hardware fork() CreateProcess() CreateThread() close() CloseHandle() sleep() semctl() signal() SetWaitableTimer()
OS Spring’03 Introduction Operating Systems Spring 2003.
CS-3013 & CS-502, Summer 2006 Windows XP1 CS-502 Operating Systems Slides excerpted from Silbershatz, Ch. 22.
OPERATING SYSTEMS Introduction
Chapter 6 Implementing Processes, Threads, and Resources.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3 Operating System Organization.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3.
计算机系 信息处理实验室 Lecture 2 System architecture
Dreams in a Nutshell Steven Sommer Microsoft Research Institute Department of Computing Macquarie University.
Introduction to Windows System Internals part II by Tim Shelton Black Security
Slide 6-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 6.
Windows 2000 Memory Management Computing Department, Lancaster University, UK.
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,
Windows 2000 Networking Computing Department, Lancaster University, UK.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: System Structures.
Protection and the Kernel: Mode, Space, and Context.
April 2000Dr Milan Simic1 Network Operating Systems 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.
Processes and Threads Processes have two characteristics: – Resource ownership - process includes a virtual address space to hold the process image – Scheduling/execution.
Windows NT Operating System. Windows NT Models Layered Model Client/Server Model Object Model Symmetric Multiprocessing.
Windows 2000 System Mechanisms Computing Department, Lancaster University, UK.
Advanced Design and System Patterns The Microkernel Pattern.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Introduction to Microsoft Windows 2000 Integrated support for client/server and peer-to-peer networks Increased reliability, availability, and scalability.
Unit OS A: Windows Networking A.4. Lab Manual. 2 Copyright Notice © David A. Solomon and Mark Russinovich These materials are part of the Windows.
1 Threads, SMP, and Microkernels Chapter Multithreading Operating system supports multiple threads of execution within a single process MS-DOS.
WINDOWS NT Network Architecture Amy, Mei-Hsuan Lu CML/CSIE/NTU August 19, 1998.
System Components ● There are three main protected modules of the System  The Hardware Abstraction Layer ● A virtual machine to configure all devices.
1 Windows NT A Distributed Architecture Windows NT A Distributed Architecture Professor: Mohamed Khalil CSE 8343 GROUP-A5 Dhaval Sanghvi Amit Sharma Ali.
What is an Operating System? Various systems and their pros and cons –E.g. multi-tasking vs. Batch OS definitions –Resource allocator –Control program.
Major OS Components CS 416: Operating Systems Design, Spring 2001 Department of Computer Science Rutgers University
CITA 171 Section 1 DOS/Windows Introduction. DOS Disk operating system (DOS) –Term most often associated with MS-DOS –Single-tasking operating system.
CSCI/CMPE 4334 Operating Systems Review: Exam 1 1.
Introduction to Operating Systems Concepts
Kernel Design & Implementation
Hardware and OS Design and Layout.
Windows API.
CASE STUDY 1: Linux and Android
Operating Systems: A Modern Perspective, Chapter 6
Unit OS2: Operating System Principles
Chapter 3: Windows7 Part 4.
Chapter 3: Windows7 Part 1.
Chapter 3: Windows7 Part 2.
Windows Development Dynadata Copyright, 2014 © DynaData S.A. 1/10.
Windows Internals Brown-Bag Seminar Chapter 1 – Concepts and Tools
Threads, SMP, and Microkernels
Case Study 2: Windows History of windows 2000
Chapter 3: Windows7 Part 2.
Threads Chapter 4.
Operating Systems Lecture 1.
Operating Systems: A Modern Perspective, Chapter 3
Implementing Processes, Threads, and Resources
Windows NT History Design Principles System Components
Outline Operating System Organization Operating System Examples
Operating Systems Structure
Presentation transcript:

Windows 2000 Course Summary Computing Department, Lancaster University, UK

Overview Goals Goals –Provide a summary of the whole course –Highlight key areas of importance

System Architecture (1) What is Windows 2000? What is Windows 2000? –Features overview –Design objectives How these differ from Win9x How these differ from Win9x –Product Packaging Key Concepts Key Concepts –Win32 API –Processes, Thread and Jobs –Virtual Memory –Kernel Mode vs. User Mode –Registry

System Architecture (2) Windows 2000 Architecture Components Windows 2000 Architecture Components –Executive –Kernel –HAL –Device Drivers –Win32 User/GDI In further detail: In further detail: –The role of each component –Interaction between components

System Architecture (3) Environment Subsystems Environment Subsystems –Subsystem Components and their Role Overview of OS/2, POSIX and Win32 subsystems Overview of OS/2, POSIX and Win32 subsystems Subsystem Function Paths Subsystem Function Paths –Image Headers (Subsystem Type/Native Images) –POSIX Experimentation

System Architecture (4) OS Kernel Functionality OS Kernel Functionality –NTOSKRNL.EXE –Internal Naming Convention Listing Undocumented Functions Listing Undocumented Functions –Mechanism for Invoking System Functions from User Mode –Differences between Win32 and NtDll.Dll –Location of Operating System code System Processes System Processes –Processed-Based Windows 2000 Code –Process Creation Hierarchy –System Start-up Processes

System Mechanisms (1) Objects and Handles Objects and Handles –Introduction to objects –Benefits of using objects –Different types of Win32 objects Kernel objects, GDI objects and User objects Kernel objects, GDI objects and User objects –Handles and Reference Counts –Security –Object Manager Functionality

System Mechanisms (2) Kernel Mode Programming Environment Kernel Mode Programming Environment –Invoking Kernel-Mode Routines –Trap Dispatching –Interrupts and Exceptions How interrupts/exceptions are generated How interrupts/exceptions are generated Dispatching of Interrupts Dispatching of Interrupts Interrupt Precedence via IRQLs Interrupt Precedence via IRQLs Software Interrupts Software Interrupts Hardware Interrupt Processing on x86 Hardware Interrupt Processing on x86

Overview of Windows 2000 Management Mechanisms The registry The registry –Contents –Organisation –Access Services Services –General concepts –Components –Examples Windows Management Instrumentation Windows Management Instrumentation –Windows 2000 WMI-enabled tools

Processes, Threads and Scheduling (1) What are processes, threads and jobs? What are processes, threads and jobs? –In further detail: What each process has associated with it What each process has associated with it Viewing process information Viewing process information What each thread has associated with it What each thread has associated with it Viewing thread information Viewing thread information Fibers Fibers –General concepts / implementation “environment” Win32 process and thread APIs Win32 process and thread APIs Exiting of processes Exiting of processes –Different API calls used

Processes, Threads and Scheduling (2) General scheduling concepts General scheduling concepts –Views of priorities The Win32 point of view The Win32 point of view The Windows 2000 scheduler point of view The Windows 2000 scheduler point of view Win32 priorities versus kernel priorities Win32 priorities versus kernel priorities –Manual process priority adjustments –Win32 scheduling-related APIs Thread scheduling Thread scheduling –General Windows 2000 scheduler concepts –Multiprocessor issues –Scheduling scenarios: preemption, voluntary switch, running thread experiences quantum end

Processes, Threads and Scheduling (3) Thread scheduling (cont.) Thread scheduling (cont.) –Quantum details –Thread scheduling states –Watching the scheduler –Priority adjustments Applicable classes Applicable classes Non applicable classes Non applicable classes Boosting Boosting –Conditions for boosting –General concepts CPU starvation CPU starvation –Balance Set Manager

Processes, Threads and Scheduling (4) Thread scheduling (cont.) Thread scheduling (cont.) –Multiprocessor support Concept of soft affinity Concept of soft affinity Concept of hard affinity Concept of hard affinity Hard affinity example Hard affinity example

Memory Management (1) Virtual memory Virtual memory –General principles –Application’s view –Mapping virtual memory to physical memory pages Virtual address space Virtual address space –Windows 2000 memory manager –Virtual address space allocation Different regions Different regions Page sizes within NT and 2000 Page sizes within NT and 2000

Memory Management (2) Virtual address space (cont.) Virtual address space (cont.) –Division between process space and system space Process space - unique per process, user accessible Process space - unique per process, user accessible – Contents System space - system wide, kernel mode accessible System space - system wide, kernel mode accessible –Contents –Windows 9x virtual address space Additional user-mode shared memory - system wide Additional user-mode shared memory - system wide –Virtual address translation

Memory Management (3) Physical memory Physical memory –Maximum memory support Under NT Under NT Under 2000 via extended addressing support - “PAE” Under 2000 via extended addressing support - “PAE” Increased limits under 64-bit Windows 2000 Increased limits under 64-bit Windows 2000 –Page files Size Size Events when page file space runs low Events when page file space runs low Who is consuming space? Who is consuming space? Page faults Page faults

Memory Management (4) Physical memory (cont.) Physical memory (cont.) –Working set General concepts General concepts Working set limit Working set limit Page replacement algorithm Page replacement algorithm System services System services –Adjust size, self-initiated trimming –System working set –Accounting for physical memory usage Memory management information Memory management information –General, process and physical memory information

Windows Networking (1) OSI model and Windows 2000 networking components OSI model and Windows 2000 networking components –OSI reference model overview –Mapping of components against OSI layers What each component does, and what layer it fits into What each component does, and what layer it fits into –Networking APIs –Transport Driver Interface (TDI) clients –TDI transports (also known as protocol drivers) –NDIS library –NDIS miniport drivers

Windows Networking (2) Windows 2000 networking stack: Windows 2000 networking stack: –Services Remote access Remote access Active directory Active directory File replication service File replication service Network load balancing Network load balancing –Networking APIs Windows Sockets (Winsock) Windows Sockets (Winsock) Named pipes and mailslots Named pipes and mailslots Remote procedure call (RPC) Remote procedure call (RPC) NetBIOS NetBIOS Other Other –Telephony API, DCOM, message queuing

Windows Networking (3) Windows 2000 networking stack: (cont.) Windows 2000 networking stack: (cont.) –Protocol drivers Purpose Purpose Drivers natively supported by Windows 2000 Drivers natively supported by Windows 2000 Other driver support Other driver support –NDIS drivers Purpose Purpose NDIS 5 features NDIS 5 features

Windows Networking (4) Winsock2 Winsock2 –Basic concepts –Overview of main features –Simultaneous access to multiple transport protocols Winsock2 API / SPI separation Winsock2 API / SPI separation Winsock2 DLL Winsock2 DLL –Winsock1.1 backward compatibility Source code compatibility Source code compatibility Binary compatibility Binary compatibility –Layered protocol architecture Layered protocols and base protocols Layered protocols and base protocols Protocol chains Protocol chains

I/O System, Cache Manager, File Systems (1) I/O System I/O System –Design goals –Components –I/O operations Flow of a typical I/O request Flow of a typical I/O request –Types of device driver Including user-mode drivers… Including user-mode drivers… –Win32 I/O APIs Device-independent APIs Device-independent APIs Device-type-dependent APIs Device-type-dependent APIs

I/O System, Cache Manager, File Systems (2) Cache Manager Cache Manager –Overview File system types supported File system types supported Types of data to be cached Types of data to be cached –Key features –Interaction between cache and memory manager File Systems File Systems –Others CDFS, UDF, FAT12, FAT16 and FAT32 CDFS, UDF, FAT12, FAT16 and FAT32 –NTFS Overview Overview Advanced features Advanced features