리눅스 : Lecture 2 운영체제 및 UNIX 요약 중앙대학교 컴퓨터공학부 손 봉 수 교수.

Slides:



Advertisements
Similar presentations
UNIX Chapter 01 Overview of Operating Systems Mr. Mohammad A. Smirat.
Advertisements

Operating systems This work is licensed under a Creative Commons Attribution-Noncommercial- Share Alike 3.0 License. Skills: none IT concepts: popular.
Operating Systems: Software in the Background
CMPTR1 CHAPTER 3 COMPUTER SOFTWARE Application Software – The programs/software/apps that we run to do things like word processing, web browsing, and games.
Understanding Operating Systems 1 Overview Introduction Operating System Components Machine Hardware Types of Operating Systems Brief History of Operating.
Lecture 1: Introduction CS170 Spring 2015 Chapter 1, the text book. T. Yang.
Introduction Operating Systems’ Concepts and Structure Lecture 1 ~ Spring, 2008 ~ Spring, 2008TUCN. Operating Systems. Lecture 1.
System Software, functions of an operating system
Operating Systems.
Operating Systems ECE344 A brief history of OS Ding Yuan ECE Dept., University of Toronto
Linux Operating system
Unix Presentation. What is an Operating System An operating system (OS) is a program that allows you to interact with the computer -- all of the software.
The University of Akron Summit College Business Technology Department Computer Information Systems 2440: 145 Operating Systems Introduction to UNIX/Linux.
Chapter 3  Manage the computer’s resources ◦ CPU ◦ Memory ◦ Disk drives ◦ Printers  Establish a user interface  Execute and provide services for applications.
Week 6 Operating Systems.
Operating Systems Bryce Boe 2012/08/07 CS32, Summer 2012 B.
Computer Organization Review and OS Introduction CS550 Operating Systems.
Operating Systems Operating System
Lecture 14: Operating Systems Intro to IT COSC1078 Introduction to Information Technology Lecture 14 Operating Systems James Harland
LINUX System : Lecture 2 (English-Only Lecture) Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University Acknowledgement.
Operating System. Architecture of Computer System Hardware Operating System (OS) Programming Language (e.g. PASCAL) Application Programs (e.g. WORD, EXCEL)
part I, , Part I Introduction to Operating Systems First Semester, Year 2000 Wannarat Suntiamorntut Department of Computer Engineering,
 What is OS? What is OS?  What OS does? What OS does?  Structure of Operating System: Structure of Operating System:  Evolution of OS Evolution of.
Operating Systems.
LINUX System : Lecture 2 OS and UNIX summary Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University Acknowledgement.
COSC513 Project Linux Features Instructor: Prof. Mort Anvari Student: Yingfeng Luo ID: #
OS provide a user-friendly environment and manage resources of the computer system. Operating systems manage: –Processes –Memory –Storage –I/O subsystem.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Recall: Three I/O Methods Synchronous: Wait for I/O operation to complete. Asynchronous: Post I/O request and switch to other work. DMA (Direct Memory.
Operating Systems Sara Mullan Johns Hopkins University Fall 2010
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
INVITATION TO COMPUTER SCIENCE, JAVA VERSION, THIRD EDITION Chapter 6: An Introduction to System Software and Virtual Machines.
LINUX System : Lecture 2 OS and UNIX summary Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University Acknowledgement.
LINUX System : Lecture 1 Course Overview Bong-Soo Sohn Associate Professor School of Computer Science and Engineering Chung-Ang University.
Operating Systems David Goldschmidt, Ph.D. Computer Science The College of Saint Rose CIS 432.
Computers & Operating Systems
Just Enough Unix, Chapter 1
1 Operating Systems: Principles and Practice Cpr E 308.
Operating System Principles And Multitasking
Computer Systems 1 Fundamentals of Computing
리눅스 : Lecture 3 Vmware, Cygwin, LINUX 설치 Acknowledgement : notes from A. Gokhale, A, Taylor.
© Paradigm Publishing, Inc. 4-1 Chapter 4 System Software Chapter 4 System Software.
Basic UNIX Concepts. Why We Need an Operating System (OS) OS interacts with hardware and manages programs. A safe environment for programs to run is required.
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
Operating Systems.
Programming for GCSE Topic 5.2: Operating Systems T eaching L ondon C omputing William Marsh School of Electronic Engineering and Computer Science Queen.
CS4315A. Berrached:CMS:UHD1 Introduction to Operating Systems Chapter 1.
Gorman, Stubbs, & CEP Inc. 1 Introduction to Operating Systems Lesson 8 Linux.
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.
This slide deck is for LPI Academy instructors to use for lectures for LPI Academy courses. ©Copyright Network Development Group Module 01 Introduction.
Computer Center | Network Group IISER Bhopal Introduction to Basic Component of Computer System Vinay Bajpai iiserb.ac.in Computer Center Indian.
Operating System Structure Lecture: - Operating System Concepts Lecturer: - Pooja Sharma Computer Science Department, Punjabi University, Patiala.
Systems Software / The Operating System CSC October 14, 2010.
Introduction to unix. The UNIX Operating System An operating system "OS” is a set of programs that controls a computer. It controls both the hardware.
UDel CISC361 Study Operating System principles - processes, threads - scheduling - mutual exclusion - synchronization - deadlocks - memory management -
1 OPERATING SYSTEMS. 2 CONTENTS 1.What is an Operating System? 2.OS Functions 3.OS Services 4.Structure of OS 5.Evolution of OS.
Copyright © 2003 by Prentice Hall 1 Computers: Tools for an Information Age Chapter 3 Operating Systems: Software in the Background BSM025 Computers.
Operating System & Application Software
Lecture 1-Part 2: Operating-System Structures
2. OPERATING SYSTEM 2.1 Operating System Function
Introduction to Operating System (OS)
What is an Operating System?
Chapter 2: System Structures
Chapter 2: The Linux System Part 1
Chapter 2: Operating-System Structures
Linux Professor Sabol.
The Main Features of Operating Systems
Software - Operating Systems
Chapter 2: Operating-System Structures
Presentation transcript:

리눅스 : Lecture 2 운영체제 및 UNIX 요약 중앙대학교 컴퓨터공학부 손 봉 수 교수

Operating Systems OS 는 사용자와 HW 간의 중간 매개체 역할을 한다. 자원 관리자 (Resource Manager) 시스템 자원 (CPU, Memory, Disks, Networks) 을 할당하고 관리함. 자원의 효율적이고 공정한 사용을 목표로 함. 인터페이스 (Interface) OS 는 사용자와 응용프로그램이 시스템 자원에 접근하고 사용할수 있도록 함. 사용자 프로그램의 실행을 제어함. 효율성, 공정성, 정확성, 추상성 (abstract) 지향

Computer System Structure HW – 기본적인 computing resources 제공 CPU, memory, disk, … OS 커널 (Kernel) HW 를 직접 제어 System call 시스템 자원에 대하여 OS 에 의해 제공되는 서비스가 일종의 함수 형태로 되어있는 programming interface 커널은 전원이 켜져있는 컴퓨터에서 항상 실행되고 있다. 다른 프로그램은 OS 와 함께 제공되는 시스템 프로그램 (system program) 이거나 응용 프로그램 (application program) 이다. 응용 프로그램 (Application programs) 시스템 자원이 사용자의 문제를 해결하는데 사용되는 방 식을 정의함. 쉘 또는 GUI 를 통해 실행됨 Ex) 워드프로세서, 컴퓨터 게임 등

Operating Systems 운영체제의 기능 프로세스 관리 (Process Management) CPU scheduling : batch vs time-sharing 메모리 관리 (Memory Management) Memory allocation : determine what is in memory when? Virtual memory : a technique that gives an application program the impression that it has large contiguous working memory, while in fact it is physically fragmented and may even overflow on to disk storage. Disk and file system 제공 및 관리 Device driver : interface for communicating with HW devices Networking : supports network protocols. (ex) TCP/IP Security : authentication (login), authorization (file permission), … UI : GUI (Graphical User Interface), CLI (Command Line Interface)

저장 장치의 계층 (Storage Hierarchy) Register, Cache, Main memory, Secondary Storage (disks), Magnetic tapes Why hierarchical structure? Speed Cost 휘발성 (Volatility) 캐슁 기법 (Caching ) Copying information into faster storage system. Faster storage checked first to determine if information is there Cache main memory, main memory disk Important principle, performed at many levels in computer

멀티프로그래밍, 시분할 멀티프로그래밍 (Multiprogramming) a technique used to utilize maximum CPU time by running multiple programs simultanously Single user cannot keep CPU and I/O devices busy at all times. Multiprogramming organizes jobs (code and data) so CPU always has one to execute One job is selected and run via job scheduler When a running job has to wait for I/O, OS switches to another job 시분할 (time-sharing) 시스템 CPU switches jobs so frequently that users can interact with each job while it is running. Creates interactive computing Response time can be controlled If processes don’t fit in memory, swapping moves them in and out to run

Operating Systems MS Windows Most popular on desktop computers Gaining popularity in servers. UNIX/LINUX Most popular in server environments LINUX are gaining popularity on desktop PC.

UNIX System has been popular for more than two decades Portability Written mostly in C + a few in assembly language Kernel size is small Multi-user, multi-tasking environment 안정성 (Stability) Powerful networking capabilities Free, open source code(LINUX) Suitable for using as a server

UNIX History Ken Thompson et al. (AT&T Bell Lab 연구원 ) 이 만듬 UNICS(1969) (shortened to UNIX later) : first version Released Fifth version of UNIX kernel was rewritten in C, which was a big step forwards in terms of system portability (1973) LINUX Developed by Linus Torvalds, a finnish undergrad student, in 1991 Free open source UNIX OS for PC Open source code nature means any one can add features and correct deficiencies. Turned in to collaboration of hundreds of volunteer developers around the world. Several different distributions (e.g. Redhat, Debian, … etc) Distribution comprises a prepackaged kernel, system utilities, GUI, application programs

LINUX Kernel Device driver support for various HW device Advanced processor and memory management Support different types of file system Shells / GUI : two forms of command input Textual command line shells (e.g. C shell, … ) Graphical user interface (e.g. GNOME window manager) System utilities Virtually every UNIX system utilities were ported to LINUX Include daemons server program running as a background process Application programs Come with standard application programs e.g. vi, emacs, xv, gcc/g++, xfig, latex, …