Computer System Structures

Slides:



Advertisements
Similar presentations
Introduction to Android Mohammad A. Gowayyed CS334-Spring 2014.
Advertisements

Android Platform Overview (1)
Introduction To Java Objectives For Today â Introduction To Java â The Java Platform & The (JVM) Java Virtual Machine â Core Java (API) Application Programming.
Chorus and other Microkernels Presented by: Jonathan Tanner and Brian Doyle Articles By: Jon Udell Peter D. Varhol Dick Pountain.
Operating-System Structures
Chapter 5 Operating Systems. 5 The Operating System When working with multimedia, the operating system is perhaps the most important, the most complex,
1/21/2008CSCI 315 Operating Systems Design1 Operating System Structures Notice: The slides for this lecture have been largely based on those accompanying.
Chapter 2: Operating-System Structures
1/28/2004CSCI 315 Operating Systems Design1 Operating System Structures & Processes Notice: The slides for this lecture have been largely based on those.
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 2: Operating-System Structures.
Chapter 4 Structure of Operating Systems Copyright © 2008.
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 2: Operating-System Structures Modified from the text book.
Types of software. Sonam Dema..
Operating Systems CS3502 Fall 2014 Dr. Jose M. Garrido
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 2: Operating-System Structures.
Chapter 2: Operating-System Structures. 2.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 14, 2005 Operating System.
Introduction 1-1 Introduction to Virtual Machines From “Virtual Machines” Smith and Nair Chapter 1.
2.1 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 2: Operating-System Structures Overview of topics covered Operating System Services.
Chapter 2 Operating System Overview
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 7 OS System Structure.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: Operating-System Structures.
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 2: Operating-System Structures.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Operating System What is an Operating System? A program that acts as an intermediary between a user of a computer and the computer hardware. An operating.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
ANDROID BY:-AANCHAL MEHTA MNW-880-2K11. Introduction to Android Open software platform for mobile development A complete stack – OS, Middleware, Applications.
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
1.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Lecture 2: OS Structures (Chapter 2.7)
Introduction Why are virtual machines interesting?
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
CENG334 Introduction to Operating Systems 1 Erol Sahin Dept of Computer Eng. Middle East Technical University Ankara, TURKEY URL:
2.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition System Programs (p73) System programs provide a convenient environment.
Operating Systems A.Biswas Architecture. Computer Startup.
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Lecture 8 Chapter 2: Operating-System Structures Provided & Updated by Sameer.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Introduction to Operating Systems Concepts
Computer System Structures
Chapter 2: Operating-System Structures
OPERATING SYSTEM CONCEPTS AND PRACTISE
Chapter 5 Operating Systems.
Android Mobile Application Development
Chapter 2: Operating-System Structures
Operating System & Application Software
Chapter 2: Operating-System Structures
Chapter 2: Operating-System Structures
Visit for more Learning Resources
Chapter 2: Operating-System Structures
Chapter 2: Operating-System Structures
CMPE419 Mobile Application Development
Chapter 2: Operating-System Structures
Chapter 3: Windows7 Part 1.
Chapter 2: Operating-System Structures
Chapter 2: System Structures
Chapter 3: Operating-System Structures
Chapter 2: The Linux System Part 1
Chapter 3: Operating-System Structures
Virtual Machines (Introduction to Virtual Machines)
B.Ramamurthy Chapter 2 : Appendix
Outline Chapter 2 (cont) OS Design OS structure
Chapter 2: Operating-System Structures
Android Introduction Platform Mihail L. Sichitiu.
Introduction to Virtual Machines
Android Platform, Android App Basic Components
Outline Operating System Organization Operating System Examples
System calls….. C-program->POSIX call
Chapter 2: Operating-System Structures
Introduction to Virtual Machines
CMPE419 Mobile Application Development
Hypervisor A hypervisor or virtual machine monitor (VMM) is computer software, firmware or hardware that creates and runs virtual machines. A computer.
Presentation transcript:

Computer System Structures System Operation Operating system structure. OS examples Virtual Machines Textbook Silberschatz, Chapter 2

Different OS - Monolithic, Microkernel, Modular ? Hybrid ! Windows W95 and earlier – layered monolithic Windows NT – layered microkernel - very slow Windows XP and … - layered, more monolithic DLL ability Unix type systems (Solaris, Linux, FreeBSD) Mainly monolithic Could build custom kernel monolithic or micro DLL ability MAC OS from microkernel to more monolithic DLL ability

Linux The Linux system is composed of three main bodies of code, in line with most traditional UNIX implementations: Kernel maintaining all the important abstractions of the operating system, including such things as virtual memory, processes, device drivers, file systems, networking code. All the kernel code executes in privileged mode . the kernel is created as a single, monolithic binary Single Reason - performance. Supports dll (so*). System libraries standard set of functions through which applications can interact with the kernel Work in user mode. Libc,… Monolithic DLL support No message passing No layers System utilities perform individual, specialized management tasks Run once Daemons kernel mode

Windows kernel mode Mainly Monolithic Layered DLL support Message Passing kernel mode

Mac OS X uses a hybrid structure layered system Aqua user interface set of application environments and services Cocoa - an API for the Objective-C programming language, which is used for writing Mac OS X applications. Below these layers is the kernel environment, which consists primarily of the Mach microkernel BSD UNIX kernel. Hybrid Layered DLL support Message Passing Mach - memory management; RPC, IPC, message passing, thread scheduling. The BSD - command-line interface, networking and file systems, POSIX APIs, Pthreads. I/O kit - development of device drivers and dynamically loadable modules (which Mac OS X refers to as kernel extensions).

iOS iOS is a mobile operating system designed by Apple to run its smartphone, the iPhone, as well as its tablet computer, the iPad Cocoa Touch is an API for Objective-C that provides several frameworks for developing applications that run on iOS devices (touch screens). The media services layer provides services for graphics, audio, and video. The core services layer provides a variety of features, including support for cloud computing and databases. The bottom layer represents the core operating system, which is based on the kernel environment (not fully compatible with Unix).

Android Whereas iOS is designed to run on Apple mobile devices and is close-sourced, Android runs on a variety of mobile platforms and is open-sourced. Layered The Android runtime environment includes a core set of libraries as well as the Dalvik virtual machine. Google has designed a separate Android API for Java development. The Java class files are first compiled to Java bytecode and then translated into an executable file that runs on the Dalvik virtual machine. At the bottom of this software stack is the Linux kernel, although it has been modified by Google and is currently outside the normal distribution of Linux releases.

Virtual Machines Virtualization supported by the kernel IBM VM370 divided a mainframe into multiple virtual machines (logical partitions- LPARs), each running its own operating system. (a) Non virtual machine. (b) Virtual machine.

Vmware, Virtual Box, ESXi Vmware Elastic Sky X Integrated virtualization tool to run in user mode

The Java Virtual Machine Sun’s (now Oracle’s) VM For each Java class, the compiler produces an architecture-neutral bytecode output (.class) file that will run on any implementation of the JVM. The JVM is a specification for an abstract computer. It consists of a class loader and a Java interpreter that executes the architecture-neutral bytecodes C

THE .NET FRAMEWORK Microsoft’s VM This platform allows programs to be written in the platform independent .NET Framework instead of a specific architecture. The Common Language Runtime - CLR is the implementation of the .NET virtual machine. Programs written in languages such as C# and VB.NET are compiled into an intermediate, architecture-independent language called Microsoft Intermediate Language (MS-IL). These compiled files, called assemblies, include MS-IL instructions and metadata. They have file extensions of either .EXE or .DLL. Upon execution of a program, the CLR loads assemblies, converts the MS-IL instructions inside the assemblies into native code that is specific to the underlying architecture using just-in-time compilation. Once instructions have been converted to native code, they are kept and will continue to run as native code for the CPU