UNIX & Windows NT Name: Jing Bai ID: 90297 Date:8/28/00.

Slides:



Advertisements
Similar presentations
Chapter 12: File System Implementation
Advertisements

Chapter 4 : File Systems What is a file system?
14 Macintosh OS X Internals. © 2005 Pearson Addison-Wesley. All rights reserved The Macintosh Platform 1984 – first affordable GUI Based on Motorola 32-bit.
File Systems.
Case study 1 Windows 7.
File Systems Examples.
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.
CMPT 300: Final Review Chapters 8 – Memory Management: Ch. 8, 9 Address spaces Logical (virtual): generated by the CPU Physical: seen by the memory.
File Management Systems
Course Overview Introduction Computer System Structures
INTRODUCTION OS/2 was initially designed to extend the capabilities of DOS by IBM and Microsoft Corporations. To create a single industry-standard operating.
1 Case Study 2: Windows 2000 Chapter History of windows Programming windows System structure 11.4 Processes and threads in.
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
Windows XP 1 © Silbershatz, Galvin, Gagne CS502 Spring 2006 Windows XP CS-502 Operating Systems Slides excerpted from Silbershatz, Ch. 22.
1 File Management in Representative Operating Systems.
Cs238 Lecture 3 Operating System Structures Dr. Alan R. Davis.
Chapter 11 Operating Systems
CS-3013 & CS-502, Summer 2006 Windows XP1 CS-502 Operating Systems Slides excerpted from Silbershatz, Ch. 22.
MEMORY MANAGEMENT By KUNAL KADAKIA RISHIT SHAH. Memory Memory is a large array of words or bytes, each with its own address. It is a repository of quickly.
Computer Forensics Principles and Practices by Volonino, Anzaldua, and Godwin Chapter 6: Operating Systems and Data Transmission Basics for Digital Investigations.
OPERATING SYSTEMS Introduction
Chapter 12 File Management Systems
File System Variations and Software Caching May 19, 2000 Instructor: Gary Kimura.
Wince File systems. File system on embedded File system choice on embedded is important –File system size can be an issue –Different media are used –
1 I/O Management in Representative Operating Systems.
7/15/2015B.RamamurthyPage 1 File System B. Ramamurthy.
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.
File System. NET+OS 6 File System Architecture Design Goals File System Layer Design Storage Services Layer Design RAM Services Layer Design Flash Services.
Chapter 3 Operating Systems Introduction to CS 1 st Semester, 2015 Sanghyun Park.
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.
Rensselaer Polytechnic Institute CSCI-4210 – Operating Systems David Goldschmidt, Ph.D.
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.
UNIX System Administration OS Kernal Copyright 2002, Dr. Ken Hoganson All rights reserved. OS Kernel Concept Kernel or MicroKernel Concept: An OS architecture-design.
1 Chapter 12 File Management Systems. 2 Systems Architecture Chapter 12.
Chapter pages1 File Management Chapter 12.
Operating Systems Advanced OS - E. OS Advanced Evaluating an Operating System.
Page 110/1/2015 CSE 30341: Operating Systems Principles Windows XP  32-bit preemptive multitasking operating system for Intel microprocessors  Key goals.
Segmentation & O/S Input/Output Chapter 4 & 5 Tuesday, April 3, 2007.
In a nut shell 1.  Goals  A little history  System components  Threads & CPU scheduling  Virtual memory  Environmental subsystems  File System:
IOS110 Introduction to Operating Systems using Windows Session 5 1.
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.
Microsoft Windows 2000 Daniel Hummell Ryan McKenica Valerie Grinblat.
File Systems CSCI What is a file? A file is information that is stored on disks or other external media.
Windows NT Operating System. Windows NT Models Layered Model Client/Server Model Object Model Symmetric Multiprocessing.
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.
1 File Management Chapter File Management n File management system consists of system utility programs that run as privileged applications n Concerned.
Ihr Logo Operating Systems Internals & Design Principles Fifth Edition William Stallings Chapter 2 (Part II) Operating System Overview.
File Storage Organization The majority of space on a device is reserved for the storage of files. When files are created and modified physical blocks are.
Disk & File System Management Disk Allocation Free Space Management Directory Structure Naming Disk Scheduling Protection CSE 331 Operating Systems Design.
UNIX Unit 1- Architecture of Unix - By Pratima.
Lecture 18 Windows – NT File System (NTFS)
CSC414 “Introduction to UNIX/ Linux” Lecture 2. Schedule 1. Introduction to Unix/ Linux 2. Kernel Structure and Device Drivers. 3. System and Storage.
Concepts and Structures. Main difficulties with OS design synchronization ensure a program waiting for an I/O device receives the signal mutual exclusion.
MINIX Presented by: Clinton Morse, Joseph Paetz, Theresa Sullivan, and Angela Volk.
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
CITA 171 Section 1 DOS/Windows Introduction. DOS Disk operating system (DOS) –Term most often associated with MS-DOS –Single-tasking operating system.
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 3: Windows7 Part 3.
Day 28 File System.
Introduction to Kernel
Chapter 11: File System Implementation
Chapter 11: File System Implementation
Chapter 3: Windows7 Part 3.
Case Study 2: Windows History of windows 2000
File System B. Ramamurthy B.Ramamurthy 11/27/2018.
Outline Operating System Organization Operating System Examples
Chapter 12: File-System Implementation CSS503 Systems Programming
Mr. M. D. Jamadar Assistant Professor
Presentation transcript:

UNIX & Windows NT Name: Jing Bai ID: Date:8/28/00

Content 1. Introduction 2. Kernel Architecture 3. File System 4. Memory Management 5. Security 6. Conclusion

Introduction UNIX: It is a machine independent operating system. Ken Thompson developed it in 1969 Unix OS was written by programmer to programmer. It use C language to instead of the previously used assembly language Time-sharing, multi-user, multi-tasking are basic designed in the system(Multiple users can have multiple tasks running at same time) Windows NT Microsoft released it in It was a full 32-bit OS Its design goals include extensibility, portability, reliability, compatibility, performance and international support.

Unix Kernel model Figure 1 System call interface File subsystem Process management subsystem inter-process communication process scheduling Disk block cache Character I/O Block I/O Hardware Unix shell us us User program library Unix command program library Use level Kernel level Memory management Derive drivers Hardware control-interrupt service Kernel level Hardware level Swapper process 0 Int process 1 =Process

Windows NT kernel mode Figure 2 Win 16 application Logon process O/S application Win 32 application MSDOD application POSIX application Security subsystem Authentication package Security-account- manage database O/S system Win 16 VDM MSDOS VDM POSIX system Win 32 subsystem Kernel Hardware abstraction Layer Hardware I/O manager User mode Object manager Security- reference- monitor Process manager Virtual- memory- manager Local procedure call facility Kernel mode Executive Device drivers network drive File system cache manager

UNIX File System UNIX file is a Hierarchical file structure. All the files are organized into a multi-leveled hierarchy called a directory tree The file system supports two main objects: file and directory The directory contains a root directory with many subdirectories File is stored as an array of fixed-size data blocks with perhaps a fragment The block sizes are set during a file system creation

Directory files at interior node / AB d1d2 dev AB f1 AA a2a1a3 The root directory Normal files at the leaves Special files in the device directory/dev Other directories and file UNIX File System Interface

UNIX File System Implementation IN Unix system, a file is represented by an Inode (Index Node) An Inode is a record that stores most of the information about a file on the disk, such as its size and location. Each file has an own indoe, all inodes have the same size The inode contains pointer that points to file block. In Unix, the first 12 pointers of inode point to blocks directly, so small files can be accessed efficiently. Example for READ file

UNIX mapping of a file descriptor to an Inode User space System space Disk space Read(4...) Tables of open files File- structure table In-core inode list Inode list Data blocks

UNIX Memory Management UNIX system uses swapping to handle memory contention among processes. Processes are swapped out until enough memory is available. The process is either in the memory or on the disk. Decisions regarding which processes to swap in or out are made by the scheduler process. The scheduler wakes up at least once every 4 seconds to check for processes to be swapped in or out A process is more likely to be swapped out if it is idle, has been in main memory a long time or it is large A process is more likely to be swapped in if it has been swapped out a long time, or is small

Unix Memory Management Berkeley introduced paging to UNIX. Paging is added in order to handle a large programs. The basic idea is : some programs don’t need entirety bring into memory to run. Such as text, data. We can bring them to memory by dynamic. When we need them, we can bring in. Paging can eliminate the external fragmentation of memory. Page- replacement algorithm can keep enough free frames to support the executing processes.

Window NT File System The fundament entity in NTFS is a volume. A volume is created by the NT disk administrator utility, and is based on a logical disk partition. The volume may occupy a portion of a disk, may occupy an entire disk, or may span across several disks. In NTFS, all information about the volume are stored in a regular file. NTFS does not deal with individual sectors of a disk, but instead uses clusters as the unit of disk allocation. A cluster is a number of disk sectors that is a power of 2. The cluster size is configured when an NTFS file system is formatted.

Window NT File System A file in NTFS is a structured object consisting of attributes. Each attribute of a file is an independent byte stream that can be created, deleted, read, and written. Every file in NTFS is described by one or more records in an array stored in a special file called the master file table (MFT). The size of a record is determined when the file system is created.

Windows NT Memory Management The virtual-memory portion of the NT executive is the virtual-memory manager(VM) The VM manager in NT uses a page-based management scheme with a page size of 4KB. Pages of data that are assigned to a process but are not in physical memory are stored in the paging file on disk The VM manager uses 32 bit addresses, so each process has a 4 GB virtual address space. The upper 2GB is identical for all processes, and is used by NT in kernel mode. The low 2 GB is distinct for every process, and is accessible by both user-and kernel mode threads

Windows NT Memory Management The NT VM manager uses a two-step process to allocate memory. The first step reserves a portion of the process’s address space. The second step commits the allocation by assigning space in the NT paging file. The VM manager allows a privileged process to lock selected pages in physical memory thus ensuring that the pages will not be swapped out to the paging file

FILE SYSTEM  UNIX Hierarchical file structure File and Directory Block Inode  WINDOWs NT NTFS Volume Clusters MFT(master file table)

Memory Management  UNIX Swapping Paging  WINDOWs NT Virtual-memory manager(VM) Paging File

Conclusion UNIX Mature and cheaper Reliability Configuration do not require a shutdown and reboot Can setting keyboard and mouse NT Immature And Expensive Set up by separate software Slow More crash than UNIX Less stability than UNIX