Welcome to CS697B! Special Topics on Concurrent and Distributed Systems Tue Thu 8:30pm to 9:45 :-(

Slides:



Advertisements
Similar presentations
Operating Systems COMP 4850/CISG 5550 Processes Introduction to Threads Dr. James Money.
Advertisements

CMPT 300: Operating Systems I Dr. Mohamed Hefeeda
6/9/2015B.Ramamurthy1 Process Description and Control B.Ramamurthy.
Process Description and Control
1 School of Computing Science Simon Fraser University CMPT 300: Operating Systems I Dr. Mohamed Hefeeda.
OS Fall ’ 02 Introduction Operating Systems Fall 2002.
1/27/2010CSCI 315 Operating Systems Design1 Processes Notice: The slides for this lecture have been largely based on those accompanying an earlier version.
Welcome to CS680! Tue Thu 7pm - 8:15pm :-(
CS 447 Distributed Objects Instructor: Shangping Ren.
Review: Operating System Manages all system resources ALU Memory I/O Files Objectives: Security Efficiency Convenience.
1HW1 Explain the transition “interrupted” and “event wait.” Describe how they are different. NewReadyRunningTerminated Waiting (Blocked) admitted Dispatched.
1/28/2004CSCI 315 Operating Systems Design1 Operating System Structures & Processes Notice: The slides for this lecture have been largely based on those.
1 CS 603: Advanced Topics in Distributed Systems Spring 2002 Professor Chris Clifton.
1/23/2008CSCI 315 Operating Systems Design1 Processes Notice: The slides for this lecture have been largely based on those accompanying the textbook Operating.
CSE451 Processes Spring 2001 Gary Kimura Lecture #4 April 2, 2001.
Process Concept An operating system executes a variety of programs
Operating Systems (CSCI2413) Lecture 3 Processes phones off (please)
An Introduction to Internetworking. Algorithm for client-server communication with UDP (connectionless) A SERVER A CLIENT Create a server-socket (listener)and.
Chapter 3 Operating Systems Introduction to CS 1 st Semester, 2015 Sanghyun Park.
Advanced Operating Systems CIS 720 Lecture 1. Instructor Dr. Gurdip Singh – 234 Nichols Hall –
1 RTOS Design Some of the content of this set of slides is taken from the documentation existing on the FreeRTOS website
Mid Term review CSC345.
Multiprogramming. Readings r Silberschatz, Galvin, Gagne, “Operating System Concepts”, 8 th edition: Chapter 3.1, 3.2.
Process A program in execution. But, What does it mean to be “in execution”?
14.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts with Java – 8 th Edition Chapter 4: Threads.
Computer Studies (AL) Operating System Process Management - Process.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 3: Process-Concept.
Concurrency & Context Switching Process Control Block What's in it and why? How is it used? Who sees it? 5 State Process Model State Labels. Causes of.
Processes, Threads, and Process States. Programs and Processes  Program: an executable file (before/after compilation)  Process: an instance of a program.
1 OS Review Processes and Threads Chi Zhang
Chapter 2 Process Management. 2 Objectives After finish this chapter, you will understand: the concept of a process. the process life cycle. process states.
What is an Operating System? Various systems and their pros and cons –E.g. multi-tasking vs. Batch OS definitions –Resource allocator –Control program.
Cs431-cotter1 Processes and Threads Tanenbaum 2.1, 2.2 Crowley Chapters 3, 5 Stallings Chapter 3, 4 Silberschaz & Galvin 3, 4.
CMPT 401 Distributed Systems Concepts And Design.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 4: Processes Process Concept Process Scheduling Types of shedulars Process.
Process Control Management Prepared by: Dhason Operating Systems.
SLC/VER1.0/OS CONCEPTS/OCT'99 1Processes Process Concept Process Scheduling Operation On Processes Cooperating Processes Threads Interprocess Communication.
Multiprogramming. Readings r Chapter 2.1 of the textbook.
Applied Operating System Concepts
Advanced Operating Systems CIS 720
Operating Systems CMPSC 473
Process Management Process Concept Why only the global variables?
O/S State Diagrams © 2004, D. J. Foreman.
Process and Thread State Diagrams
Intro to Processes CSSE 332 Operating Systems
CGS 3763 Operating Systems Concepts Spring 2013
Chapter 15, Exploring the Digital Domain
CGS 3763 Operating Systems Concepts Spring 2013
CGS 3763 Operating Systems Concepts Spring 2013
CGS 3763 Operating Systems Concepts Spring 2013
Mid Term review CSC345.
CGS 3763 Operating Systems Concepts Spring 2013
What is Concurrent Programming?
Process Description and Control
Systems Programming University of Ilam
Chapter 2 Processes and Threads 2.1 Processes 2.2 Threads
Process Description and Control
Process and Thread State Diagrams
What is Concurrent Programming?
Process Description and Control
Process Description and Control
Process Description and Control
Process Description and Control
An Introduction to Internetworking
CS510 Operating System Foundations
Process Description and Control
Processes and Process Table
Process Management -Compiled for CSIT
Operating System Overview
Chapter 3: Process Management
Presentation transcript:

Welcome to CS697B! Special Topics on Concurrent and Distributed Systems Tue Thu 8:30pm to 9:45 :-(

2 Course Topics Object-oriented concurrent systems –Processes and threads –Concurrency principles and techniques –Java threads –Design patterns for threading Object-oriented distributed systems –TCP and UDP –Socket interface –I/O techniques –Design patterns for socket and I/O handling –Remoting middleware including Java RMI, corba

3 Course Work Lectures Homework -> –Reading –Programming exercises –Project Student presentations

4Grading Grading factors –Programming exercises (in Java) (40%) –Deliverables of a course project (40%) –Student presentations (20%) No textbooks! No midterm and final exams!!

Processes in an Operating System

6Processes One of the most important concepts in all operating systems A process is a container (or execution environment) for a program (software) in execution. In terms of operating systems, a software system is a collection of processes.

7 Example Processes

8 Multi-Tasking (Time Sharing) Any modern OS support multi-tasking. –e.g., writing a document with MS Word, while listening music with iTunes and downloading a file. At any moment, a CPU can execute a single program. Pseudo parallelism: an OS periodically assigns one program to another to a CPU –every several tens of milliseconds to several hundreds of milliseconds –A CPU is multiplexed among processes; processes are not executed in a completely parallel manner.

9 Process State As a process runs, it changes its state. New ReadyRunning Terminated Waiting (Blocked) admitted Dispatched to a CPU interrupted I/O or event wait I/O or event completion exit

10 New –A process is being created Ready –Waiting to be assigned to a CPU Running –A program is being executed. Waiting –Waiting for some event to occur (I/O completion or signal reception) Termination –Execution finished. New ReadyRunning Terminated Waiting (Blocked) admitted Dispatched to a CPU interrupted I/O or event wait I/O or event completion exit

11 cat file1 file2 file3 | grep UMB InputStreamReader fp = new InputStreamReader(System.in); fp.read();