Chapter_2_-_Processes_and_Threads

Chapter_2_-_Processes_and_Threads - 2 Processes and Threads...

Info iconThis preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon
1 2 Processes and Threads 2.1. Operating Systems Concepts
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2.1 Operating Systems Concepts 2 Outline • Operating system evolution – Serial processing, batch systems, multi programming, time sharing • Key concepts – Processes, – Operating system concepts –T h r e a d s
Background image of page 2
Questions • Was are the basic goals of operating systems • Which type of services are offered by Operating systems? • Which resources are managed by an Operating System? • Which is the evolution of operating systems? • What is batch processing? • What is multiprogramming? • What distinguishes a process from a program? 2.1 Operating Systems Concepts 3
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Summary • Important concepts – Impact of I/O on performance – Interrupts to change the flow – Relation of memory organization – Impact of organization on Security and protection • Overview on – Operating system evolution – Key concepts – Operating systems interfaces and utilities – Issues in Modern Operating Systems 2.1 Operating Systems Concepts 4
Background image of page 4
2.1 Operating Systems Concepts 5 Operating System: … it is a program … • relinquishes control of the processor to execute other programs OS Kernel: • (roughly) portion of OS that is in main memory • Contains most- frequently used functions
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2.1 Operating Systems Concepts 6 Major Elements of an Operating System OS = very large piece of sortware! Components: decompose a problem into more manageable subproblems (process manager, file manager, etc) Bootstrap program activates OS kernel (permanent system process) Shell ( kernel): program to let the user initiate processes User or system programs make direct use of the OS via system calls
Background image of page 6
2.1 Operating Systems Concepts 7 Interfaces of an Operating System • Set of Utlities – ls, cat, chmod, mv, . .. – du, df, . .. •S h e l l – provides command line interfaces – creates processes for different commands – link input and output between processes cat file1 file2 file3 | sort > text.txt & creates two processes: cat, sort and links input and output • Graphical User Interfaces System Calls – Programmer perspective
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2.1 Operating Systems Concepts 8 Some history: Evolution of Operating Systems • Hardware upgrades, new types of hardware, enabled features • New services, new needs • Development serial processing (1948 – 1955) batch systems (1955 for IBM) multiprogramming time shared systems (1966: Compatible Time Sharing System (CTSS) for IBM) • Before 1948?
Background image of page 8
Konrad Zuse (1910-1995) / Z3 (1941) 9 2.1 Operating Systems Concepts
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2.1 Operating Systems Concepts 10 OS history: Serial Processing (before the stone age) • No operating system • system model – simple console: display lights and toggle switches – input device (card reader) – execution monitoring output on a printer (job went well) control lights for error detection (check status of registers) • Job scheduling – manual (reservations on a piece of paper) overestimation of execution time low utilization of CPU • Setup included – loading the compiler, source program, – saving compiled program – loading, linking
Background image of page 10
2.1 Operating Systems Concepts
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 12
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 78

Chapter_2_-_Processes_and_Threads - 2 Processes and Threads...

This preview shows document pages 1 - 12. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online