Beruflich Dokumente
Kultur Dokumente
Learning Objectives
After completing this chapter, you should be able to describe: The design goals for Windows operating systems The role of MS-DOS in early Windows releases The role of the Memory Manager and Virtual Memory Manager The use of the Device, Processor, and Network Managers System security challenges The Windows user interface
2
Windows Development
First Windows product communication method
Graphical user interface (GUI)
Primary user communication method Needed underlying operating system to translate users requests into system commands
Windows 3.1
Standardized look and feel
Similar to Apples Macintosh computer
Microsoft response
Developed and released succession of Windows
Not mere GUIs; had home and office user appeal
Windows NT Server
Small to medium-sized offices Web servers and off-site locations
10
11
Design Goals
Fulfilling marketing requirements
Incorporate security features Facilitate decision making (coding process)
Object model
Manage and allocate resources Symmetric multiprocessing (SMP) Maximum multiprocessor performance
Understanding Operating Systems, Sixth Edition 12
Response
Five design goals
Extensibility Portability Reliability Compatibility Performance
13
Extensibility
Easily enhancing operating system Ensuring code integrity: separate functions
Privileged executive process
Kernel mode Processors mode of operation All machine instructions allowed System memory accessible
Extensibility (cont'd.)
Four more features
Modular structure
New components added to executive process
Objects
Abstract data types manipulated by special services System resources managed uniformly
Drivers
New file systems, devices, and networks added to system at any time
Portability
Operate on different machines
Different processors or configurations Minimum amount of recoding
Portability (cont'd.)
Windows NT and successors features
Modular code Written in C (most of code) Hardware abstraction layer (HAL)
Dynamic-link library Provides isolation from vendors hardware dependencies
17
Reliability
Robustness of system Ability to protect itself and users
Accidental or deliberate user programs damage
Compatibility
Execute programs written for other operating systems (or earlier system versions)
Use protected subsystems
Provide application execution different from primary programming interface
Built-in verification
Important hardware and software
Understanding Operating Systems, Sixth Edition 19
Performance
Achieve good performance levels Windows features
Testing and optimization system calls, page faults, crucial processes Incorporate local procedure call (LPC): guarantee fast communication among protected subsystems Maximize speed of frequently used system services Critical Windows networking software elements built into operating system privileged portion
20
Memory Management
Every operating system
Has own physical memory view Makes application programs access memory in specified ways
User process
Cannot read or write system memory directly
23
User-Mode Features
VM Manager (virtual machine manager)
User-mode subsystems share memory efficiently Provides process services to manage virtual memory
Allocate memory in two stages Read and/or write protection for virtual memory Lock virtual pages in physical memory Retrieve information about virtual pages Protect virtual pages Rewrite virtual pages to disk
24
25
Complex combination
Software policies: when to bring a page into memory and where to put it Hardware mechanisms: exact manner VM Manager translates virtual addresses into physical addresses
27
Processor Management
Windows
Preemptive-multitasking, multithreaded operating system
Windows NT process
Requires at least one thread
Default
Process contains one thread
28
29
31
32
33
Device Management
Windows NT I/O system and networking descendents provide:
Multiple installable file systems (FAT, CDFS, NTFS) Services making device-driver development easy
Workable on multiprocessor systems
IRP
Data structure controlling how I/O operation processed at each step
36
38
Driver object
Represents individual driver in system I/O manager creates Created when driver loaded into system May have multiple device objects connected to it
Device object
Physical, logical, or virtual device on the system Describes device characteristics
Understanding Operating Systems, Sixth Edition 39
40
41
Easy loading of new drivers Easy assigning drivers to control additional or different devices
If system configuration changes
Understanding Operating Systems, Sixth Edition 42
43
File Management
Windows current versions
Designed to be independent of file system on which they operate Support multiple file systems for hard disks including:
MS-DOSs FAT file system 32-bit FAT file system NTFS
45
Processes call native file object services to read from or write to file I/O manager directs virtual file requests
Real files, file directories, physical devices
Understanding Operating Systems, Sixth Edition 46
Opening file
Process supplies files name and type of access required
47
Provides memory-based representation of shareable physical resources Created with new set of handle-specific attributes
Each time process opens a handle
48
49
50
Network Management
Networking
Integral to Windows NT-based operating systems Provides services
User accounts, resource security Communication between computers
Named pipes
Provide high-level interface for passing data between two processes (regardless of locations)
Mailslots
Provide one-to-many and many-to-one communication mechanisms
Understanding Operating Systems, Sixth Edition 52
Three components
Redirector Server message block (SMB) protocol Network server
MS-NET components
Extensively refurbished and incorporated into Windows NT and later versions
Understanding Operating Systems, Sixth Edition 53
54
56
Directory Services
Active Directory
Database storing all information types General-purpose directory service for heterogeneous network Built entirely around DNS and LDAP Groups machines into administrative units called domains
Each domain gets a DNS domain name (e.g., pitt.edu) Each domain must have at least one domain controller Domain can have more than one domain controller
Active Directory clients use standard DNS and LDAP protocols to locate objects on the network
Understanding Operating Systems, Sixth Edition 57
58
Security Management
Windows network operating systems
Provide object-based security model Security object
Represent any resource in system (file, device, process, program, or user)
Security Basics
U.S. Department of Defense
Identified and categorized operating system features Seven levels of security
60
Distinguishes between owners and groups Users decide operation types person is allowed to perform on a file Gives user auditing capabilities
Automatically keeps track of who uses files and how
Understanding Operating Systems, Sixth Edition 61
Security Terminology
Built-in security
Necessary element for managers of Web servers and networks Requires authentication mechanism allowing client to prove identity to server Client supplies authorization information Server uses information to determine specific access rights given to client Provides data integrity using various methods
63
64
User Interface
Start an application
Double-click application icon Select it from Start menu
Quit application
Select Exit from File menu Click x in top-right corner of window
65
66
67
69
70
Command interface
Resembles MS-DOS Available from most Windows desktops
Keyboard shortcuts: (CTRL+C for copy) Built-in input methods and fonts for languages Windows offers an on-screen keyboard Resource monitor
71
72
73
74
75
76
Summary
Current Windows operating systems
Ease-of-use with technical power Operate network across several platforms