Page 1 2P13 Week 1. Page 2 Page 3 Page 4 Page 5.

Slides:



Advertisements
Similar presentations
Threads, SMP, and Microkernels
Advertisements

Multiprocessors— Large vs. Small Scale Multiprocessors— Large vs. Small Scale.
Lecture 6: Multicore Systems
Threads, SMP, and Microkernels Chapter 4. Process Resource ownership - process is allocated a virtual address space to hold the process image Scheduling/execution-
Chapter 4 Threads, SMP, and Microkernels Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design.
Computer Systems/Operating Systems - Class 8
Operating System Overview
Processes Part I Processes & Threads* *Referred to slides by Dr. Sanjeev Setia at George Mason University Chapter 3.
What is Concurrent Programming? Maram Bani Younes.
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Computer System Architectures Computer System Software
Operating System A program that controls the execution of application programs An interface between applications and hardware 1.
Chapter 4 Threads, SMP, and Microkernels Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E.
Operating System Overview Dr. Sunny Jeong & Mr. M.H. Park Operating Systems: Internals and Design Principles, 6/E William Stallings.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: System Structures.
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Chapter 2 Operating System Overview Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William.
1 Operating System Overview Chapter 2 Advanced Operating System.
Chapter 2 Operating System Overview Operating Systems: Internals and Design Principles, 6/E William Stallings.
Operating System 4 THREADS, SMP AND MICROKERNELS
Chapter 4 Threads, SMP, and Microkernels Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design.
Fall 2000M.B. Ibáñez Lecture 01 Introduction What is an Operating System? The Evolution of Operating Systems Course Outline.
Parallel Processing - introduction  Traditionally, the computer has been viewed as a sequential machine. This view of the computer has never been entirely.
Processes and Threads Processes have two characteristics: – Resource ownership - process includes a virtual address space to hold the process image – Scheduling/execution.
Threads, SMP, and Microkernels Chapter 4. Process Resource ownership - process is allocated a virtual address space to hold the process image Scheduling/execution-
Computers Operating System Essentials. Operating Systems PROGRAM HARDWARE OPERATING SYSTEM.
Ihr Logo Operating Systems Internals & Design Principles Fifth Edition William Stallings Chapter 2 (Part II) Operating System Overview.
Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS.
1 Operating System Overview Chapter 2. 2 Operating System A program that controls the execution of application programs An interface between applications.
1 Threads, SMP, and Microkernels Chapter Multithreading Operating system supports multiple threads of execution within a single process MS-DOS.
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Operating System 4 THREADS, SMP AND MICROKERNELS.
1 Operating System Overview Chapter 2. 2 Operating System A program that controls the execution of application programs An interface between applications.
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Faculty of Sciences and Social Sciences HOPE Chapter 2 Operating System Overview Stewart Blakeway FML
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 4: Threads.
Chapter 4 Threads, SMP, and Microkernels Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E.
1 Operating System Overview Chapter 2. 2 Operating System A program that controls the execution of application programs An interface between applications.
SMP Basics KeyStone Training Multicore Applications Literature Number: SPRPxxx 1.
Threads, SMP and Microkernels Process vs. thread: –Unit of resource ownership (process has virtual address space, memory, I/O channels, files) –Unit of.
Threads, SMP, and Microkernels Chapter 4. Processes and Threads Operating systems use processes for two purposes - Resource allocation and resource ownership.
Lecture 13 Parallel Processing. 2 What is Parallel Computing? Traditionally software has been written for serial computation. Parallel computing is the.
Chapter 2 Operating System Overview Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William.
Operating System Overview
Chapter 4: Multithreaded Programming
CHAPTER SEVEN PARALLEL PROCESSING © Prepared By: Razif Razali.
Parallel Processing - introduction
Chapter 4: Threads.
Threads, SMP, and Microkernels
Chapter 4: Threads.
Chapter 17 Parallel Processing
Symmetric Multiprocessing (SMP)
CHAPTER 2: Demand and Approach in the Development of Modern OS
What is Concurrent Programming?
Lecture 4- Threads, SMP, and Microkernels
Operating System 4 THREADS, SMP AND MICROKERNELS
Operating Systems : Overview
What is Concurrent Programming?
Operating Systems : Overview
Operating Systems : Overview
Operating Systems : Overview
Chapter 4: Threads & Concurrency
Operating Systems : Overview
Operating Systems : Overview
Operating Systems : Overview
Operating Systems : Overview
Chapter 2 Operating System Overview
Operating System Overview
Chapter 2 Operating System Overview
Presentation transcript:

Page 1 2P13 Week 1

Page 2

Page 3

Page 4

Page 5

Page 6

Page 7

Page 8

Page 9

Page 10

Page 11

Page 12

Page 13

Page 14

Page 15

Page 16 The nature of the threat that concerns an organization will vary greatly depending on the circumstances The problem involves controlling access to computer systems and the information stored in them Main issues availability confidentiality data integrity authenticity

Page 17 Scheduling and Resource Management Key responsibility of an OS is managing resources Resource allocation policies must consider: fairness differential responsivene ss efficiency

Page 18 Key Elements of an Operating System

Page 19 Different Architectural Approaches Demands on operating systems require new ways of organizing the OS

Page 20 Microkernel Architecture Assigns only a few essential functions to the kernel: –The approach: address spaces interprocess communication (IPC) basic scheduling simplifies implementation provides flexibility is well suited to a distributed environment

Page 21 Technique in which a process, executing an application, is divided into threads that can run concurrently Thread dispatchable unit of work includes a processor context and its own data area to enable subroutine branching executes sequentially and is interruptible Process a collection of one or more threads and associated system resources programmer has greater control over the modularity of the application and the timing of application related events

Page 22 Symmetric Multiprocessing (SMP) Term that refers to a computer hardware architecture and also to the OS behavior that exploits that architecture Several processes can run in parallel Multiple processors are transparent to the user these processors share same main memory and I/O facilities all processors can perform the same functions The OS takes care of scheduling of threads or processes on individual processors and of synchronization among processors

Page 23 SMP Advantages Performance more than one process can be running simultaneously, each on a different processor Availability failure of a single process does not halt the system Incremental Growth performance of a system can be enhanced by adding an additional processor Scaling vendors can offer a range of products based on the number of processors configured in the system

Page 24

Page 25

Page 26

Page 27 Symmetric Multiprocessor OS Considerations A multiprocessor OS must provide all the functionality of a multiprogramming system plus additional features to accommodate multiple processors Key design issues:

Page 28 Multicore OS Considerations The design challenge for a many-core multicore system is to efficiently harness the multicore processing power and intelligently manage the substantial on-chip resources efficiently Potential for parallelism exists at three levels: hardware parallelism within each core processor, known as instruction level parallelism potential for multiprogramming and multithreaded execution within each processor potential for a single application to execute in concurrent processes or threads across multiple cores

Page 29 Developer must decide what pieces can or should be executed simultaneously or in parallel Grand Central Dispatch (GCD) implemented in Mac Os X 10.6 helps a developer once something has been identified that can be split off into a separate task thread pool mechanism allows anonymous functions as a way of specifying tasks

Page 30 The End