CENG 334 – Operating Systems 01- Introduction Asst. Prof. Yusuf Sahillioğlu Computer Eng. Dept,, Turkey.

Slides:



Advertisements
Similar presentations
CMSC 421: Principles of Operating Systems Section 0202 Instructor: Dipanjan Chakraborty Office: ITE 374
Advertisements

CMPT 300: Operating Systems I Dr. Mohamed Hefeeda
1 School of Computing Science Simon Fraser University CMPT 300: Operating Systems I Dr. Mohamed Hefeeda.
CMPTR1 CHAPTER 3 COMPUTER SOFTWARE Application Software – The programs/software/apps that we run to do things like word processing, web browsing, and games.
Modified from Silberschatz, Galvin and Gagne ©2009 CS 446/646 Principles of Operating Systems Lecture 1 Chapter 1: Introduction.
Chapter 1: Introduction
Lecture 1: Introduction CS170 Spring 2015 Chapter 1, the text book. T. Yang.
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.
1/16/2008CSCI 315 Operating Systems Design1 Introduction Notice: The slides for this lecture have been largely based on those accompanying the textbook.
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.
The University of Akron Summit College Business Technology Department Computer Information Systems 2440: 145 Operating Systems Introduction to UNIX/Linux.
 Introduction Introduction  Definition of Operating System Definition of Operating System  Abstract View of OperatingSystem Abstract View of OperatingSystem.
Chapter 3.1: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.
CIS-410: Operating Systems Spring Organizational Details Class Meeting: 7:00-9:45pm, Monday, Room 252N Instructor: Dr. Igor Aizenberg Office: Aikin.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 1: Introduction.
Objectives To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization.
CS212: OPERATING SYSTEM Lecture 1: Introduction 1.
Chapter 1. Introduction What is an Operating System? Mainframe Systems
Four Components of a Computer System. Computer System Components Users (people, machines, other computers) Applications programs – define the ways in.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 1 Introduction Read:
CS 444 Introduction to Operating Systems
المحاضرة الاولى Operating Systems. The general objectives of this decision explain the concepts and the importance of operating systems and development.
Chapter 1: Introduction. 1.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 1: Introduction What Operating Systems Do Computer-System.
INVITATION TO COMPUTER SCIENCE, JAVA VERSION, THIRD EDITION Chapter 6: An Introduction to System Software and Virtual Machines.
1.1 Operating System Concepts Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered.
CT 1503 Network Operating Systems Instructor: Dr. Najla Al-Nabhan 2014.
OPERATING SYSTEMS UNIT – I R.SOUJANYA IT Dept. UNIT I Computer System and Operating System Overview Chapter 1: IntroductionIntroduction Overview of Computer.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Operating System Principles And Multitasking
CS307 Operating Systems Introduction Fan Wu Department of Computer Science and Engineering Shanghai Jiao Tong University Spring 2013.
Lecture on Central Process Unit (CPU)
Lecture 1: Network Operating Systems (NOS) An Introduction.
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
Cloud Computing – UNIT - II. VIRTUALIZATION Virtualization Hiding the reality The mantra of smart computing is to intelligently hide the reality Binary->
Operating System (Reference : OS[Silberschatz] + Norton 6e book slides)
UNIX U.Y: 1435/1436 H Operating System Concept. What is an Operating System?  The operating system (OS) is the program which starts up when you turn.
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edit9on Chapter 1: Introduction.
Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered System Real.
Introduction to Operating Systems Concepts
Applied Operating System Concepts
Chapter 1: Introduction
Chapter 1: Introduction
Selected topic in computer science (1)
LINUX WINDOWS Vs..
Chapter 1: Introduction
Chapter 1: Introduction
Operating Systems Introduction
Introduction to Operating System (OS)
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
חוברת שקפים להרצאות של ד"ר יאיר ויסמן מבוססת על אתר האינטרנט:
Chapter 1: Intro (excerpt)
What is an Operating System?
Operating System Concepts
Chapter 1: Introduction
Introduction to Operating Systems
Introduction to Operating Systems
Chapter 2: Operating-System Structures
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Introduction to Operating Systems
Chapter 2: Operating-System Structures
Introduction TO Operating SYSTEM
Chapter 1: Introduction
Operating System Concepts
Chapter 1: Introduction
Presentation transcript:

CENG 334 – Operating Systems 01- Introduction Asst. Prof. Yusuf Sahillioğlu Computer Eng. Dept,, Turkey

Administrative 2 / 23 Tue 12:40-13:30 & Thu BMB-2. //official //my lecture slides Grading 42%: 2 Midterm Exams, 21% each. 22%: Final Exam. 36%: 3 Assignments, 12% each. Textbook: Operating System Concepts: Textbook slides and Erol Sahin’s slides are used/modified when needed. Instructor: Yusuf Sahillioğlu (office: B107)

About the Course 3 / 23 Learn Concepts and components of Oss. Code 3 programming assignments in C. Observe Linux.

What’s an Operating System? 4 / 23 A program that acts as an intermediary between a user of a computer(ized device) and the computer(ized device) hardware. Objectives Abstraction – Hides details of different hardware configurations. Develop programs easier. Arbitration – Manages access to shared hardware resources. Execute user programs and use computer hw efficiently.

Abstraction 5 / 23 Apps do not have to be tailored for each possible device in the system. App: FM Computer1: DellComputer2: Acer

Abstraction 6 / 23 Apps do not have to be tailored for each possible device in the system. App: FM Computer1: DellComputer2: Acer OS

Abstraction 7 / 23 Apps communicate with OS through Libraries; so we only have to code according to the API of the library in use, e.g., OpenGL, Qt, STL.

Arbitration 8 / 23 Multiple apps share the same hardware resources simultaneously (use hw efficiently). These managers of OS work together like a team to get jobs done.

Arbitration 9 / 23 Memory manager. Allows allocation and deallocation of memory space.

Arbitration 10 / 23 Process manager. Decides how to allocate the brain of the computer, the CPU.

Arbitration 11 / 23 Device manager. Monitors every device connected to the system.

Arbitration 12 / 23 File manager. Sets permissions so that certain users can only see certain files.

Computer System Structure 13 / 23 Hardware. CPU, memory, I/O devices. Operating system. Controls use of HW among apps and users. App programs. Word processors, games, compilers, browsers. Users. People, other computers.

Computer System Structure 14 / 23

OS Goals/Objectives 15 / 23 Decides who (process) should use which resource (CPU, file). Resolve conflictions and fairness for resource usage. Controls processes (program in execution) so that they don’t harm each other; single CPU, memory, etc. shared robustly. OS has the low level code that knows how to access devices, which makes program development easy for us. Your printf() triggers some OS routine to run in the CPU to do the actual I/O: send something to video card which goes to the screen.

OS Definition 16 / 23 Kernel: to be studied in this course! The one program running at all times on the computer.

Computer Startup 17 / 23 bootstrap program is loaded at power-up. Typically stored in ROM. Also known as firmware. Initializes all aspects of the system. Loads OS kernel (to memory) and starts execution.

Interrupt-Driven OS 18 / 23 CPU is either idle or used by application programs. Then an interrupt comes and activates kernel code.

What’s really going on under the hood? 19 / 23 a = a + 1; //C++ code //compiled into machine code OS knows how to feed this into the CPU, may it be AMD or Intel. CPU performs the instruction when OS process manager permits. OS knows how to give the CPU output to the C++ code. Inside the case (Computer Architecture course):

What’s really going on under the hood? 20 / 23 Inside CPU: lots of transistors (semi-conductors).

Abstraction or Arbitration? 21 / 23 Supporting both Intel and AMD processors. Switching between apps. Separating memory allocated to different apps. Enabling Skype to use different camera devices. Accessing two different hard disks.

Multiple Operating Systems. 22 / 23 Tablet devices made Unix-based OS as popular as Windows. Embedded systems: Android (embedded-linux). iOS (based on Apple’s Mac OS). Blackberry OS. Symbian (Samsung, Nokia). DOS/NT Unix-based (others: BSD, Solaris)

Multiple Operating Systems. 23 / 23 Linux: same unix-based kernel, different distributions. Ubuntu, Debian, Red Hat, Fedora, OpenSUSE, Slackware, Gentoo, etc. Kernel developed by undergrad Linus Torvalds (U of Helsinki, 91). Naming: Free, freak, x  Freax vs. Linux (egostical).