ch06 - Chapter 6 Concurrent Processes Understanding...

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

View Full Document Right Arrow Icon
Chapter 6 Concurrent Processes Understanding Operating Systems, Fourth Edition
Background image of page 1

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

View Full DocumentRight Arrow Icon
Understanding Operating Systems, Fourth Edition 2 Objectives Objectives You will be able to describe: The critical difference between processes and processors, and their connection The differences among common configurations of multiprocessing systems The significance of a critical region in process synchronization The basic concepts of process synchronization software: test-and-set, WAIT and SIGNAL, and semaphores
Background image of page 2
Understanding Operating Systems, Fourth Edition 3 Objectives (continued) Objectives (continued) You will be able to describe: The need for process cooperation when several processes work together How several processors, executing a single job, cooperate The similarities and differences between processes and threads The significance of concurrent programming languages and their applications
Background image of page 3

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

View Full DocumentRight Arrow Icon
Understanding Operating Systems, Fourth Edition 4 What Is Parallel Processing? What Is Parallel Processing? Parallel Processing (multiprocessing): Two or more processors operate in unison, which means two or more CPUs execute instructions simultaneously Processor Manager needs to coordinate the activity of each processor Processor Manager needs to synchronize the interaction among the CPUs
Background image of page 4
Understanding Operating Systems, Fourth Edition 5 What Is Parallel Processing? What Is Parallel Processing? (continued) (continued) Reasons for development of parallel processing: To enhance throughput To increase computing power Benefits of parallel processing: Increased reliability If one processor fails the other can take over Faster processing Instructions can be processed in parallel
Background image of page 5

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

View Full DocumentRight Arrow Icon
Understanding Operating Systems, Fourth Edition 6 What Is Parallel Processing? What Is Parallel Processing? (continued) (continued) Different methods of parallel processing: CPU allocated to each program or job CPU allocated to each working set or parts of it Individual instructions are subdivided so each subdivision can be processed simultaneously (concurrent programming) Two major challenges: How to connect the processors into configurations How to orchestrate their interaction
Background image of page 6
Understanding Operating Systems, Fourth Edition 7 Typical Multiprocessing Configurations Typical Multiprocessing Configurations Typical Multiprocessing Configurations: Master/slave Loosely coupled Symmetric
Background image of page 7

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

View Full DocumentRight Arrow Icon
Understanding Operating Systems, Fourth Edition 8 Master/Slave Configuration Master/Slave Configuration An asymmetric multiprocessing system A single-processor system with additional slave processors, each of which is managed by the primary master processor Master processor is responsible for Managing the entire system Maintaining status of all processes in the system Performing storage management activities Scheduling the work for the other processors Executing all control programs
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/20/2008 for the course IST 341 taught by Professor Woldering during the Fall '08 term at Cleveland State.

Page1 / 52

ch06 - Chapter 6 Concurrent Processes Understanding...

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

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