Linux vs. Windows NT Rehana Shrestha. Linux vs. Windows NT History Design Principles System Components Kernel Memory Management File Systems Security.

Slides:



Advertisements
Similar presentations
An Overview Of Windows NT System Student: Yifan Yang Student ID:
Advertisements

Chorus and other Microkernels Presented by: Jonathan Tanner and Brian Doyle Articles By: Jon Udell Peter D. Varhol Dick Pountain.
Chap 2 System Structures.
Operating-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.
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.
Chapter 1 Network Operating Systems ISQA424 Instructor: Rob Knauerhase Portland State University.
Cs238 Lecture 3 Operating System Structures Dr. Alan R. Davis.
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.
CENG334 Introduction to Operating Systems Erol Sahin Dept of Computer Eng. Middle East Technical University Ankara, TURKEY URL:
OPERATING SYSTEMS Introduction
Xuan Guo Chapter 1 What is UNIX? Graham Glass and King Ables, UNIX for Programmers and Users, Third Edition, Pearson Prentice Hall, 2003 Original Notes.
Chapter 8: Network Operating Systems and Windows Server 2003-Based Networking Network+ Guide to Networks Third Edition.
What Is TCP/IP? The large collection of networking protocols and services called TCP/IP denotes far more than the combination of the two key protocols.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3 Operating System Organization.
Operating Systems.
Operating Systems.
Starting Windows NT An overview and introduction Instructor: Professor: Dr. Anvari Students: Li-Yen Chen & Chunwa (Joanna) Chan Southeastern University.
AN INTRODUCTION TO LINUX OPERATING SYSTEM Zihui Han.
1 Chapter Overview Network Operating Systems Network Clients Directory Services.
Chapter 8 Windows Outline Programming Windows 2000 System structure Processes and threads in Windows 2000 Memory management The Windows 2000 file.
Ceng Operating Systems
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,
Operating System A program that controls the execution of application programs An interface between applications and hardware 1.
NetworkProtocols. Objectives Identify characteristics of TCP/IP, IPX/SPX, NetBIOS, and AppleTalk Understand position of network protocols in OSI Model.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: System Structures.
21.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 21: The Linux System Linux History Design Principles Kernel.
Chapter 6 Operating System Support. This chapter describes how middleware is supported by the operating system facilities at the nodes of a distributed.
Chapter Three Network Protocols By JD McGuire ARP Address Resolution Protocol Address Resolution Protocol The core protocol in the TCP/IP suite that.
2001 Networking Operating Systems (CO32010) 1. Operating Systems 2. Processes and scheduling 3.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 13 Understanding and Installing Windows 2000 and Windows NT.
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.
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.
Chapter 1 : The Linux System Part 1 Lecture 1 10/21/
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Advanced Design and System Patterns The Microkernel Pattern.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3.
Ihr Logo Operating Systems Internals & Design Principles Fifth Edition William Stallings Chapter 2 (Part II) Operating System Overview.
Network Operating Systems : Tasks and Examples Instructor: Dr. Najla Al-Nabhan
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.
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
UNIX & Windows NT Name: Jing Bai ID: Date:8/28/00.
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 2: The Linux System Part 1.
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 2: The Linux System Part 5.
Lecture 4: Windows Operating Systems. Symmetric Multiprocessing Memory Operating System User Thread User Thread User Thread User Thread Operating System.
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.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Some Network Commands n Some useful network commands –ping –finger –nslookup –tracert –ipconfig.
The Linux System.
Operating System & Application Software
Lecture 4: Windows Operating Systems
Chapter 3: Windows7 Part 4.
Chapter 3: Windows7 Part 1.
Chapter 3: Windows7 Part 3.
Objective Understand the concepts of modern operating systems by investigating the most popular operating system in the current and future market Provide.
Chapter 2: System Structures
Chapter 2: The Linux System Part 1
Chapter 2: The Linux System Part 5
Outline Operating System Organization Operating System Examples
Objective Understand the concepts of modern operating systems by investigating the most popular operating system in the current and future market Provide.
Presentation transcript:

Linux vs. Windows NT Rehana Shrestha

Linux vs. Windows NT History Design Principles System Components Kernel Memory Management File Systems Security Networking

History of Linux  1991; self-contained kernel for processor, the first true 32-bit processor in Intel’s range of PC-compatible CPUs  Development revolved largely around the central operating- system kernel - that manages all system resources and that interacts directly with the hardware  The Kernel is an entirely original piece of software developed from scratch by the Linux community  The Linux system includes a multitude of components, some written from scratch, others borrowed from other development projects or created in collaboration with other teams  Linux distribution includes all the standard components of the Linux system, a set of administrative tools to simplify the initial installation and upgrading of Linux, and to manage installation and de-installation of other packages on the system

History of Windows NT 1988 by Microsoft; portable operating system that supported both the OS/2 and POSIX application programming interfaces (APIs). NT was supposed to use the OS/2 API as its native environment, but during the development NT was changed to use the 32-bit Windows API for Win32 API, reflecting the popularity of Windows 3.0 The first Version of NT were Windows NT 3.1 and Windows NT 3.1 Advanced Server. In Version 4.0, NT adopted the Windows 95 user interface and incorporated Internet web-server and browser software

Design Principles of Linux Multi-user, multitasking system with a full set of UNIX- compatible tools runs on a wide variety of platforms, in its early days it was developed exclusively on PC architecture, run on a multiprocessor machine with hundreds of megabytes of main memory and many gigabytes of disk space, but it is still capable of operating under 4 MB of RAM Speed and efficiency are important design goals, but much of the recent and current work has concentrated on Standardization. Supporting a wide base of applications is important for any operating system, so implementation of standards is a major goal for Linux development even if the implementation is not formally certified. There is a substantial expense involved in certifying an operating system’s compliance with most standards.

Design Principles of NT Extensibility, portability, reliability, compatibility, performance, and international support Extensibility: hopes to keep up with advancement in computing technology NT uses loaded drivers in the I/O system, so that new file systems, new kinds of I/O devices, and new kinds of networking can be added while the system is running NT utilizes a client-server model like the Mac operating system, and supports distributed processing by remote procedure calls Portable: it can be moved from one hardware architecture to another with relatively few changes.

Design Principles of NT Reliability: ability to handle error conditions, including the ability of the operating system to protect itself and its users from defective or malicious software. NT comes with a file system, called the native NT file system (NTFS), that recovers automatically from many kinds of file system errors after a system crash. Compatibility: NT can run the executable binaries for many programs compiled for Intel X86 running MS-DOS, 32-bit Windows, OS/2, LAN Manager, and 32-bit Windows. Performance: communicate with one another efficiently by a local-procedure-call facility that provides high-performance message passing International use: support for different locales via the national language support API.

System Components of Linux Kernel: responsible for maintaining all the important abstractions of the operating system, including such things as virtual memory and processes System libraries: a standard set of functions through which applications can interact with the kernel, and which implement much of the operating system functionality that does not need the full privileges of kernel code System utilities: programs that perform individual, specialized management tasks.

System Components of NT The architecture of NT is a layered system of modules. The main layers are the hardware, abstraction layer, the kernel and the executive that run in protected mode, and a large collection of subsystems that run in user mode.

Kernel of Linux First Linux kernel was version 0.01, dated May 14 th It has no networking, ran on only compatible Intel processors and PC hardware, and had extremely limited device-driver support In March 14, 1994 Linux 1.0 was released. This included support for UNIX’s standard TCP/IP networking protocols as well as a BSD compatible socket interface for networking programming. Device-driver support was added for running IP over an Ethernet or over serial lines or modems.

Kernel of Linux Cont.. In March 1995, the 1.2 kernel was released. It include support for a much wider variety of hardware, including PCI hardware bus architecture, support for CPU’s virtual 8086 mode, networking stack was updated to provide support for the IPX protocol, and a more complete IP implementation was provided that included accounting and firewall functionality Linux 2.0 was released in June This include support for multiple architectures, including a fully 64-bit native Alpha port, and support for multiprocessor architectures. Linux distributions based on 2.0 are also available for the Motorola series processors and for Sun’s Sparc systems. It also included much improved TCP/IP performance, and a number of new networking and ISDN support.

Kernel of Windows NT The kernel of NT provides the foundation for the executive and the subsystems. It has four main responsibilities: thread scheduling, interrupt and exception handling, low-level processor synchronization, and recovery after a power failure. The kernel is object-oriented. An object type in NT is a system-defined data type that has a set of attributes and a set of methods. The kernel uses two sets of objects. The first set of objects is the dispatcher objects. These control dispatching and synchronization in the system. The second set of kernel objects comprises the control objects. These objects include asynchronous procedure calls, interrupts, power notify, power status, process, and profile objects

Memory Management of Linux 1. Two components to memory management: a. First: Physical memory-management system deals with allocating and freeing pages, groups of pages, and small blocks of memory. b. Second: Handles virtual memory, which is memory mapped into the address space of running processes.

Memory Management of NT The Win32 API provides several ways for an application to use memory: virtual memory, memory-mapped files, heaps, and thread-local storages. One way to use memory is by memory mapping a file into its address space. Memory mapping is also a convenient way for two processes to share memory – both processes map the same file into their virtual memory. Memory mapping is a multistage process

File Systems of Linux Linux kernel handles various different types of file by hiding the implementation details of any single file type behind a layer of software, the virtual file system (VFS)

File Systems of Windows NT Historically, MS-DOS systems have used the file-allocation table (FAT) file system. The 16-bit FAT file system has several shortcomings, including internal fragmentation, a size limitation of 2 GB, and a lack of access protection for files. The 32-bit FAT file system has solved the size and fragmentation problems, but the performance and features are still weak by comparison with modern file systems. The NTFS is much better. It was designed with many features in mind, including data recovery, security, fault tolerance, large files and file systems, multiple data streams, UNICODE names, and file compression.

Security of Linux 1. It’s security model can be classified in two groups: a. Authentication: Making sure that nobody can access the system without first providing that she has entry rights b. Access control: Providing a mechanism for checking whether a user has the right to access a certain object, and preventing access to objects as required

Security of Windows NT 1. Security of an NTFS volume is derived from the NT object model. Each file object has a security descriptor attribute stored in its MFT record. This attribute contains the access token of the owner of the file, and an access-control list that states the access privileges that are granted to each user that has access to the file.

Networking in Linux supports number of protocols native to other, non-UNIX operating systems such as Apple-Talk and IPX. The important set of protocols in the Linux networking system is the Internet Protocol (IP) suite. This suite comprises a number of separate protocols. The IP implements routing between different hosts anywhere on the network. On top of the routing protocol are built the UDP, TCP, and ICMP protocols. The UDP protocol carries arbitrary individual datagrams between hosts, whereas TCP implements reliable connections between hosts with guaranteed in-order delivery of packets and automatic retransmission of lost data. ICMP is used to carry various error and status messages between hosts. Internally, networking in the Linux kernel is implemented by three layers of software: a. The socket interface b. Protocol drivers c. Network device drivers

Networking in Windows NT NT supports both peer-to-peer and client-server networking The networking components in NT provide data transport, inter-process communication, file sharing across a network, and the ability to send print jobs to remote printers. NT comes with several networking protocols Server message-block protocol is used to send I/O requests over the network. Network Basic Input/Output System (NetBIOS) is a hardware- abstraction interface for networks, which is used to establish logical names on the network, to establish logical connections or sessions between two logical names on the network, and to support reliable data transfer for a session via either NetBIOS or SMB requests

Networking in Windows NT a. The NetBIOS Extended User Interface (NetBEUI) was introduced by IBM in 1985 as a simple, efficient networking protocol for up to 254 machines. It is the default protocol for Windows 95 peer networking and for Windows for Workgroups. b. The point-to-point tunneling protocol (PPTP) is a new protocol provided by Windows NT 4.0 to communicate between remote- access server modules running on NT machines that are connected over the Internet. The data-link control (DLC) protocol is used to access IBM mainframes and HP printer that are connected directly to the network. The AppleTalk protocol was designed as a low-cost connection by Apple so that Macintosh computers could share files. NT systems can share files and printers with Macintosh computers via AppleTalk if an NT server on the network is running the Windows NT Services for Macintosh package.

References Operating System Concepts, Fifth Edition