Top Banner
Microsoft Windows 2000 Daniel Hummell Ryan McKenica Valerie Grinblat
22

Microsoft Windows 2000

Jan 06, 2016

Download

Documents

Binh

Microsoft Windows 2000. Daniel Hummell Ryan McKenica Valerie Grinblat. Brief Background. Successor to Windows NT 5.0 4 Versions Professional Server Advanced Server Data Center Server Versions differ in processors and maximum main memory supported. Hardware. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Microsoft Windows 2000

Microsoft Windows 2000

Daniel Hummell

Ryan McKenica

Valerie Grinblat

Page 2: Microsoft Windows 2000

Brief Background

• Successor to Windows NT 5.0• 4 Versions

– Professional– Server– Advanced Server– Data Center Server

• Versions differ in processors and maximum main memory supported

Page 3: Microsoft Windows 2000

Hardware

• Server versions support multiple processors

• Maximum processors are 32

• Not a distributed operating system, but supports distributed processing applications

• 32-bit operating system

• Runs on PCs

Page 4: Microsoft Windows 2000

Multi-User and Multi-Tasking

• Supports multiple users and multi-tasking

• Is a multi-thread operating system

Page 5: Microsoft Windows 2000

Thread Types

• Supports user and kernel level threads

• Uses the one-to-one model

• Each process has one or more threads, but the number of threads supported by the system is limited

• Each thread has its own state, priority, processor affinity, and account information

Page 6: Microsoft Windows 2000

Scheduling

• 32-level priority scheduling for threads

• Uses preemption and a time quantum

• Higher number is higher priority

• Threads are stored in a queue and traversed from highest to lowest to find a ready thread

Page 7: Microsoft Windows 2000

Priority Classes

• Priorities are divided into two classes– Variable class:

priorities 1-15

– Real-time class: priorities 16-31

• The zero priority is used for memory management

Page 8: Microsoft Windows 2000

How Priorities are Determined

Win32 Thread Priorities

Win32 Process Classes

Real-Time

High Above Normal Normal Below Normal Idle Priority

Time-Critical 31 15 15 15 15 15

Highest 26 15 12 10 8 6

Above Normal 25 14 11 9 7 5

Normal 24 13 10 8 6 4

Below Normal 23 12 9 7 5 3

Lowest 22 11 8 6 4 2

Idle 16 1 1 1 1 1

Page 9: Microsoft Windows 2000

Memory Management

• Volume Management– Combining multiple disks by logical

concatenation– Round-robin fashion– Disk mirroring

Page 10: Microsoft Windows 2000

Memory Management cont’d

• Virtual Memory– Where information not in physical memory is

kept– 2 steps to memory allocation in VM

• Reserve address space

• Committ address space

Page 11: Microsoft Windows 2000

Page States

• 6 Different States– Valid– Free– Zeroed– Standby– Modify– Bad

Page 12: Microsoft Windows 2000

Win32 API

• Four ways of memory use– Virtual memory– Memory-mapped files– Heaps– Thread-local storage

Page 13: Microsoft Windows 2000

Dealing with Deadlock

• COM (Component Object Model)– Developed specifically for Windows– Runs a message pump

• Nested method calls

– Tracks methods with a “causality ID”

Page 14: Microsoft Windows 2000

Special Capabilities

• Reparse Points– Mount Points

• New volume can be created

• Transfer old data to new location

• Mount new volume in original place

– Data still accessible to other programs

Page 15: Microsoft Windows 2000

Special Capabilities cont’d

• Fault Tolerance– FtDisk

• Provides multiple ways to combine disk drives into one logical volume when installed

• Can improve:– Capacity

– Performance

– Reliability

Page 16: Microsoft Windows 2000

Hard Real-Time?

• Windows 2000 does not offer hard real-time operations

• Lower-priority thread is preempted if a real-time thread becomes ready

• No guarantee that a thread will start to execute within any specific time limit

Page 17: Microsoft Windows 2000

Physical Organization of File System

• NT File System (NTFS)– Uses 64-bit disk addresses– Provides data recovery, security, fault

tolerance, large files, and systems, mulitple data streams, UNICODE names, and file compression

• FAT and OS/2 HPFS supported in Windows 200

Page 18: Microsoft Windows 2000

NTFS

• Main component of a NTFS is a Volume– A volume contains a Master File Table (MFT)

that describes a directory or file with their attributes

– Each MFT has a set of 16 meta data files

Page 19: Microsoft Windows 2000
Page 20: Microsoft Windows 2000

Directory Structure

• NTFS setup organizes file by a hierarchy of directories, like in MS-DOS and UNIX

• A B+ tree is used in every directory to contain and index of file names of that directory.

• The MFT stores the root directory and the name and file reference of each directory entry

Page 21: Microsoft Windows 2000

Protection Mechanisms

• Unexpected shutdowns can damage file-system data structures

• The MTF stores information for redoing and undoing operations before files are modified

• No guarantee that user-file contents are correct

• Possible to fix but overhead would damage the file-system performance

Page 22: Microsoft Windows 2000

Windows 2000

THE END