Concurrency Conclusion

Slides:



Advertisements
Similar presentations
Computer Hardware & Systems
Advertisements

Concurrency: Threads, Address Spaces, and Processes Sarah Diesburg Operating Systems COP 4610.
Operating Systems Parallel Systems (Now basic OS knowledge)
Threads Irfan Khan Myo Thein What Are Threads ? a light, fine, string like length of material made up of two or more fibers or strands of spun cotton,
Winter 2005 CMPE 151: Network Administration Lecture 2.
Operating Systems Parallel Systems and Threads (Soon to be basic OS knowledge)
Threads. Processes and Threads  Two characteristics of “processes” as considered so far: Unit of resource allocation Unit of dispatch  Characteristics.
Process Concept An operating system executes a variety of programs
1 DOS with Windows 3.1 and 3.11 Operating Environments n Designed to allow applications to have a graphical interface DOS runs in the background as the.
Processes Part I Processes & Threads* *Referred to slides by Dr. Sanjeev Setia at George Mason University Chapter 3.
© Paradigm Publishing Inc. 4-1 Chapter 4 System Software.
Chapter 8 Windows Outline Programming Windows 2000 System structure Processes and threads in Windows 2000 Memory management The Windows 2000 file.
COMP 6005 An Introduction To Computing Session Two: Computer Software Systems Software.
Chapter 4 System Software.
System Software Chapter 4 of Computers: Understanding Technology (Third edition) 1September 16, William Pegram.
T HREADS Gursharan Singh Tatla 27-Jan-11 1
Cosc 4740 Chapter 6, Part 3 Process Synchronization.
1 Chapter 7 Operating System & Utility Programs.  consists of the programs that control or maintain the operations of the computer and its devices. It.
System Software Provides GUI Manages the resources of the computer system Defines the Software Platform Components of System Software Operating system.
OPERATING SYSTEMS UNIT – I R.SOUJANYA IT Dept. UNIT I Computer System and Operating System Overview Chapter 1: IntroductionIntroduction Overview of Computer.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 13 Threads Read Ch 5.1.
© Paradigm Publishing Inc. 4-1 OPERATING SYSTEMS.
CMPF124 Basic Skills For Knowledge Workers Chapter 1 – Part 1 Introduction To Windows Operating Systems CMPF 112 : COMPUTING SKILLS.
Chapter 4: Threads. 4.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th edition, Jan 23, 2005 Chapter 4: Threads Overview Multithreading.
Fundamental of Computer Architecture By Panyayot Chaikan September 13, 2004.
© Paradigm Publishing, Inc. 4-1 Chapter 4 System Software Chapter 4 System Software.
Department of Computer Science and Software Engineering
CMPF124 Basic Skills For Knowledge Workers Chapter 1 – Part 1 Introduction To Windows Operating Systems.
Lecture 1: Network Operating Systems (NOS) An Introduction.
HNC COMPUTING - Network Concepts 1 Network Concepts Network Concepts Network Operating Systems Network Operating Systems.
Operating System Concepts
Concurrency Conclusion Andy Wang Operating Systems COP 4610 / CGS 5765.
WHAT IS HARDWARE ? Computer hardware is the collection of physical elements that comprise a COMPUTER SYSTEM LIKE A MOUSE, MONITOR, KEYBOARD, SPEAKER MICROPHONE,
Lecture 5. Example for periority The average waiting time : = 41/5= 8.2.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 4: Threads.
CMPS Operating Systems Prof. Scott Brandt Computer Science Department University of California, Santa Cruz.
OPERATING SYSTEMS STRUCTURES Jerry Breecher 2: Operating System Structures 1.
Software.
Introduction to threads
Chapter 5 Operating Systems.
Introduction to Operating Systems
Operating System & Application Software
2. OPERATING SYSTEM 2.1 Operating System Function
Sarah Diesburg Operating Systems COP 4610
Process Management Presented By Aditya Gupta Assistant Professor
Chapter 4 Threads.
Unit OS2: Operating System Principles
O/S State Diagrams © 2004, D. J. Foreman.
CS490 Windows Internals Quiz 2 09/27/2013.
Threads & multithreading
Chapter 4: Threads.
Chapter 3: Windows7 Part 1.
Concurrency: Threads, Address Spaces, and Processes
Concurrency Conclusion
Chapter 1: Intro (excerpt)
ICS 143 Principles of Operating Systems
Concurrency: Threads, Address Spaces, and Processes
Chapter 26 Concurrency and Thread
The LINUX Operating System
B.Ramamurthy Chapter 2 : Appendix
Threads Chapter 4.
Implementing Mutual Exclusion
Chapter 3 – Operating Systems
Types of Software Mrs. S. Palmer Office Administration.
Concurrency Conclusion
Light-Weight Process (Threads)
Concurrency Conclusion
Introduction and History
Chapter 3: Process Management
Sarah Diesburg Operating Systems CS 3430
Presentation transcript:

Concurrency Conclusion Sarah Diesburg Operating Systems COP 4610

Threads and Synchronization Better, cleaner, and simpler abstraction to application programmers Programming abstraction Sequential execution, each with its own CPU Semaphores and monitors Physical hardware Single CPU Interrupts test_and_set

Since 1985 Every major OS comes with threads OS X OS/2 Windows XP, NT, Vista, 7 Linux Solaris

Since 1985 Major applications are written in threads Word processing Databases Web servers Embedded systems

A Cautionary Tale Microsoft OS/2 Spectacular failure (IBM re-wrote the whole OS from scratch) Used threads for everything Window systems Communication among programs

Microsoft OS/2 Created many threads Few are ready to run Most threads wait around for user typing and network packets Since each thread needs to store its own execution stack (running or waiting), OS/2 required $200 extra memory to store those threads $200 for working while printing?

The Moral of the Story… Threads are cheap But they are not free