LINUX System : Lecture 6 Bong-Soo Sohn

Slides:



Advertisements
Similar presentations
Principles of I/O Hardware I/O Devices Block devices, Character devices, Others Speed Device Controllers Separation of electronic from mechanical components.
Advertisements

Slide 19-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 19.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3 3 Operating System Organization.
16 UNIX and Linux. Fig. 16.1: The shell and the kernel.
04/14/2008CSCI 315 Operating Systems Design1 I/O Systems Notice: The slides for this lecture have been largely based on those accompanying the textbook.
Architectural Support for Operating Systems. Announcements Most office hours are finalized Assignments up every Wednesday, due next week CS 415 section.
Introduction to Kernel
I/O Hardware n Incredible variety of I/O devices n Common concepts: – Port – connection point to the computer – Bus (daisy chain or shared direct access)
Home: Phones OFF Please Unix Kernel Parminder Singh Kang Home:
Embedded Real-time Systems The Linux kernel. The Operating System Kernel Resident in memory, privileged mode System calls offer general purpose services.
Advanced OS Chapter 3p2 Sections 3.4 / 3.5. Interrupts These enable software to respond to signals from hardware. The set of instructions to be executed.
Figure 1.1 Interaction between applications and the operating system.
Cs238 Lecture 3 Operating System Structures Dr. Alan R. Davis.
1 An Architectural View of an OS Inter-process communication Process Scheduling Process Control Subsystem File Subsystem Device Drivers Hardware Control.
Introduction Operating Systems’ Concepts and Structure Lecture 1 ~ Spring, 2008 ~ Spring, 2008TUCN. Operating Systems. Lecture 1.
1 I/O Management in Representative Operating Systems.
Slide 6-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 6.
ThreadsThreads operating systems. ThreadsThreads A Thread, or thread of execution, is the sequence of instructions being executed. A process may have.
Copyright Arshi Khan1 System Programming Instructor Arshi Khan.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3.
Slide 6-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 6.
OPERATING SYSTEM OVERVIEW. Contents Basic hardware elements.
Kernel, processes and threads Windows and Linux. Windows Architecture Operating system design Modified microkernel Layered Components HAL Interacts with.
Lecture 3 Process Concepts. What is a Process? A process is the dynamic execution context of an executing program. Several processes may run concurrently,
30 October Agenda for Today Introduction and purpose of the course Introduction and purpose of the course Organization of a computer system Organization.
LINUX System : Lecture 7 Bong-Soo Sohn Lecture notes acknowledgement : The design of UNIX Operating System.
OSes: 3. OS Structs 1 Operating Systems v Objectives –summarise OSes from several perspectives Certificate Program in Software Development CSE-TC and CSIM,
OS, , Part I Operating - System Structures Department of Computer Engineering, PSUWannarat Suntiamorntut.
Linux API Dr. Michael L. Collard 1.
UNIX Unit 1- Architecture of Unix - By Pratima.
Overview of Operating Systems Introduction to Operating Systems: Module 0.
CSC414 “Introduction to UNIX/ Linux” Lecture 2. Schedule 1. Introduction to Unix/ Linux 2. Kernel Structure and Device Drivers. 3. System and Storage.
Security Architecture and Design Chapter 4 Part 2 Pages 319 to 357.
Concepts and Structures. Main difficulties with OS design synchronization ensure a program waiting for an I/O device receives the signal mutual exclusion.
Direct memory access. IO Command includes: buffer address buffer length read or write dada position in disk When IO complete, DMA sends an interrupt request.
Major OS Components CS 416: Operating Systems Design, Spring 2001 Department of Computer Science Rutgers University
WHY AN OPERATING SYSTEM (OS) OS interacts with hardware and manages programs. Programs not expected to know which hardware they will run on. Must be possible.
Unit - I Real Time Operating System. Content : Operating System Concepts Real-Time Tasks Real-Time Systems Types of Real-Time Tasks Real-Time Operating.
OPERATING SYSTEMS STRUCTURES Jerry Breecher 2: Operating System Structures 1.
CSCE451/851 Introduction to Operating Systems
Introduction to Operating Systems Concepts
Chapter 13: I/O Systems.
Introduction to Kernel
Module 12: I/O Systems I/O hardware Application I/O Interface
Applied Operating System Concepts
CS 6560: Operating Systems Design
Jonathan Walpole Computer Science Portland State University
Operating Systems: A Modern Perspective, Chapter 6
KERNEL ARCHITECTURE.
CGS 3763 Operating Systems Concepts Spring 2013
2P13 Week 2.
Threads and Data Sharing
CPSC 457 Operating Systems
I/O Systems I/O Hardware Application I/O Interface
Operating System Concepts
13: I/O Systems I/O hardwared Application I/O Interface
CS703 - Advanced Operating Systems
Mid Term review CSC345.
Linux Architecture Overview.
Chapter 2: The Linux System Part 5
Operating Systems Lecture 1.
LINUX System : Lecture 7 Lecture notes acknowledgement : The design of UNIX Operating System.
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Operating Systems: A Modern Perspective, Chapter 3
System Calls System calls are the user API to the OS
Process and Thread State Diagrams
Operating Systems Structure
Process and Thread State Diagrams
Mr. M. D. Jamadar Assistant Professor
Module 12: I/O Systems I/O hardwared Application I/O Interface
Presentation transcript:

LINUX System : Lecture 6 Bong-Soo Sohn Lecture notes acknowledgement : The design of UNIX Operating System

Architecture of the UNIX libraries system call interface file subsystem process control subsystem inter-process communication scheduler memory management hardware control hardware buffer cache device drivers character block user Level kernel Level hardware Level trap user programs 좌측에 파일서브시스템과 우측에 프로세스 서브시스템이 가장 핵심되는 축이 된다. 3종류의 레벨로 나뉘어져 있다 – user level, kernel level, hardware level

Libraries (1) process control libraries system call interface user programs libraries trap user Level kernel Level system call interface file subsystem process control subsystem inter-process communication scheduler memory management buffer cache device drivers character block hardware control kernel Level hardware Level hardware

File Subsystem (1) process control libraries system call interface user programs libraries trap user Level kernel Level system call interface file subsystem process control subsystem inter-process communication scheduler memory management buffer cache device drivers character block hardware control kernel Level hardware Level hardware

File Subsystem (2) Managing files Allocating file space Administering free space Controlling access to files Retrieving data for users Interact with set of system calls open, close, read, write, state, chown, chmod …

Buffering Mechanism (1) user programs libraries trap user Level kernel Level system call interface file subsystem process control subsystem inter-process communication scheduler memory management buffer cache device drivers character block hardware control kernel Level hardware Level hardware

Buffering Mechanism (2) Interact with block I/O device drivers to initiate data transfer to and from kernel.

Process Control Subsystem (1) user programs libraries trap user Level kernel Level system call interface file subsystem process control subsystem inter-process communication scheduler memory management buffer cache device drivers character block hardware control kernel Level hardware Level hardware

Process Control Subsystem (2) Responsible for process synchronization. Interprocess communication (IPC) Memory management Process scheduling Interact with set of system calls fork, exec, exit, wait, brk, signal … 파일시스템과 프로세스 컨트롤 시스템간의 서로 연계되는 때는 프로그램 실행을 위해서 메모리에 프로그램을 로딩할 때이다.

Process Control Subsystem (3) Memory management module Control the allocation of memory Scheduler module Allocate the CPU to processes Interprocess communication There are several forms.

Hardware Control (1) process control libraries system call interface user programs libraries trap user Level kernel Level system call interface file subsystem process control subsystem inter-process communication scheduler memory management buffer cache device drivers character block hardware control kernel Level hardware Level hardware

Hardware Control (2) Responsible for handling interrupts and for communicating with the machine.