28
Operating System 2 Overview

Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Embed Size (px)

Citation preview

Page 1: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Operating System 2 Overview

Page 2: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Page 3: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

An OS is a program that controls the execution of application programs and acts as an interface between applications and the computer hardware. Objectives:

ConvenienceEfficiencyAbility to evolve

Page 4: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Briefly, the OS typically provides services in the following areas:

Program developmentProgram executionAccess to I/O devicesControlled access to filesSystem accessError detection and responseAccounting

Page 5: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS
Page 6: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS
Page 7: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

THE EVOLUTION OF OPERATING SYSTEMS

Page 8: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Serial Processing Simple Batch Systems Multiprogrammed Batch Systems Time-Sharing Systems

Page 9: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Serial ProcessingWith the earliest computers, from the late 1940s to the mid-

1950s, the programmer interacteddirectly with the computer hardware; there was no

OS.These computers were runfrom a console consisting of display lights, toggle switches,

some form of input device,and a printer. Programs in machine code were loaded via

the input device (e.g., a cardreader). If an error halted the program, the error condition

was indicated by the lights. Ifthe program proceeded to a normal completion, the output

appeared on the printer.

Page 10: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Simple Batch Systems

Page 11: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Multiprogrammed batch system

Page 12: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Time sharing single user was inefficient, a large group

of users together were not. the "state" of each user and their

programs would have to be kept in the machine, and then switched between quickly. Ex:

NEW — to name and begin writing a programOLD — to retrieve a previously named programLIST — to display the current programSAVE — to save the current programRUN — to execute the current program

Page 13: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS
Page 14: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Five major theoretical advances

1. Processes A program in execution • An instance of a program running on a computer • The entity that can be assigned to and executed on a processor • A unit of activity characterized by a single sequential thread of execution, a

current state, and an associated set of system resources• Three major lines of computer system development created

problems in timing and synchronization that contributed to the development of the concept of the process:multiprogramming batch operation, time sharing, and real-time transaction systems

• problems: Improper synchronization, Failed mutual exclusion, Nondeterminate program operation, Deadlocks

Page 15: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Five major theoretical advances

2. Memory management• Process isolation• Automatic allocation and management• Support of modular programming• Support of modular programming• Long-term storage

Page 16: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Cont..

3. Information protection and security• Availability• Confidentiality• Data integrity• Authenticity

4. Scheduling and resource management\• Fairness• Differential responsiveness• Efficiency

5. System structure

Page 17: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS
Page 18: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

MICROSOFT WINDOWS OVERVIEW

Page 19: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

TRADITIONAL UNIX SYSTEMS

Page 20: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS
Page 21: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Modern Unix & Linux

Page 22: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS
Page 23: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS
Page 24: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS
Page 25: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS
Page 26: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

System calls: The system call is the means by which a process requests a specifickernel service. There are several hundred system calls, which can be roughly grouped into six categories: filesystem, process, scheduling, interprocess communication, socket (networking), and miscellaneous.Table 2.7 defines a few examples in each category.

Page 27: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

System calls: The system call is the means by which a process requests a specifickernel service. There are several hundred system calls, which can be roughlygrouped into six categories: filesystem, process, scheduling, interprocess communication,socket (networking), and miscellaneous.Table 2.7 defines a few examplesin each category.

Page 28: Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Selesai....