Concurrency Conclusion

Slides:



Advertisements
Similar presentations
Introduction CSCI 444/544 Operating Systems Fall 2008.
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)
Process Concept An operating system executes a variety of programs
Operating Systems.
RESOURCE MANAGEMENT System Resources. What resources are managed in a computer system?
Operating Systems Sameer Mahajan. Overview Process management Interrupts Memory management File system Device drivers Networking (TCP/IP, UDP) Security.
Processes Part I Processes & Threads* *Referred to slides by Dr. Sanjeev Setia at George Mason University Chapter 3.
Chapter 8 Windows Outline Programming Windows 2000 System structure Processes and threads in Windows 2000 Memory management The Windows 2000 file.
Multithreading Allows application to split itself into multiple “threads” of execution (“threads of execution”). OS support for creating threads, terminating.
Multithreading in Java Project of COCS 513 By Wei Li December, 2000.
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.
Operating Systems. Overview What is an Operating System (OS) What is an Operating System (OS) What Operating Systems do. What Operating Systems do. Operating.
CMPF124 Basic Skills For Knowledge Workers Chapter 1 – Part 1 Introduction To Windows Operating Systems CMPF 112 : COMPUTING SKILLS.
© Paradigm Publishing, Inc. 4-1 Chapter 4 System Software Chapter 4 System Software.
CMPF124 Basic Skills For Knowledge Workers Chapter 1 – Part 1 Introduction To Windows Operating Systems.
Processes & Threads Introduction to Operating Systems: Module 5.
Lecture 1: Network Operating Systems (NOS) An Introduction.
Operating Systems. Categories of Software System Software –Operating Systems (OS) –Language Translators –Utility Programs Application Software.
HNC COMPUTING - Network Concepts 1 Network Concepts Network Concepts Network Operating Systems Network Operating Systems.
System Programming Basics Cha#2 H.M.Bilal. Operating Systems An operating system is the software on a computer that manages the way different programs.
What is O.S Introduction to an Operating System OS Done by: Hani Al-Mohair.
Concurrency Conclusion Andy Wang Operating Systems COP 4610 / CGS 5765.
Implementing Mutual Exclusion Andy Wang Operating Systems COP 4610 / CGS 5765.
CNKI 知识网络发现平台. 我们有许多需求 …… 检索结果不满意 找不到产品入口 很多功能我没 有发现 非专业读者没有 专业使用技巧 我想可视化 查看图表 要在线 浏览! 求分享 ! CNKI 都有什么 要更专业的分析!
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.
Computer System Structures
Introduction to threads
Introduction to Operating Systems
Operating System & Application Software
2. OPERATING SYSTEM 2.1 Operating System Function
Andy Wang COP 5611 Advanced Operating Systems
Course Introduction Dr. Eggen COP 6611 Advanced Operating Systems
Andy Wang COP 5611 Advanced Operating Systems
Process Management Presented By Aditya Gupta Assistant Professor
Chapter 4 Threads.
Unit OS2: Operating System Principles
CS490 Windows Internals Quiz 2 09/27/2013.
What is an Operating System?
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
What is an Operating System?
Concurrency: Threads, Address Spaces, and Processes
Chapter 26 Concurrency and Thread
Lecture Topics: 11/1 General Operating System Concepts Processes
B.Ramamurthy Chapter 2 : Appendix
Threads Chapter 4.
Andy Wang COP 5611 Advanced Operating Systems
Implementing Mutual Exclusion
EE 472 – Embedded Systems Dr. Shwetak Patel.
Implementing Mutual Exclusion
Andy Wang COP 5611 Advanced Operating Systems
- When you approach operating system concepts there might be several confusing terms that may look similar but in fact refer to different concepts:  multiprogramming, multiprocessing, multitasking,
Types of Software Mrs. S. Palmer Office Administration.
Outline Process Management Process manager Hardware process
Concurrency Conclusion
Andy Wang COP 5611 Advanced Operating Systems
Light-Weight Process (Threads)
Concurrency Conclusion
Concurrency: Threads, Address Spaces, and Processes
Presentation transcript:

Concurrency Conclusion Andy Wang Operating Systems COP 4610 / CGS 5765

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 Mach OS/2 Windows XP, NT, 7, 8, 10 Vista Solaris Mac OS X iOS Android

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