Views
2 years ago

Distributed Systems Principles and Paradigms - Maarten van Steen

Distributed Systems Principles and Paradigms - Maarten van Steen

4 / 34Context

4 / 34Context SwitchingProcesses3.1 ThreadsObservations1 Threads share the same address space. Thread context switchingcan be done entirely independent of the operating system.2 Process switching is generally more expensive as it involvesgetting the OS in the loop, i.e., trapping to the kernel.3 Creating and destroying threads is much cheaper than doing sofor processes.

Processes3.1 Threads5 / 34Threads and Operating SystemsMain issueShould an OS kernel provide threads, or should they be implemented asuser-level packages?User-space solutionAll operations can be completely handled within a single process ⇒implementations can be extremely efficient.All services provided by the kernel are done on behalf of the process inwhich a thread resides ⇒ if the kernel decides to block a thread, theentire process will be blocked.Threads are used when there are lots of external events: threads blockon a per-event basis ⇒ if the kernel can’t distinguish threads, how can itsupport signaling events to them?

Distributed Systems: Principles and Paradigms
Principles of Distributed Database Systems, Third Edition
Real-Time Systems: Design Principles for Distributed ... - VoWi
Adding a Flow-Oriented Paradigm to Commodity Operating Systems
roll-off system - Van Leeuwen Distributing
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Object-Based Systems - Maarten van Steen
Distributed Web-Based Systems - Maarten van Steen
Distributed Web-Based Systems - Maarten van Steen
Distributed Object-Based Systems - Maarten van Steen
Introduction Contents Distributed System - Maarten van Steen
Distributed Coordination-Based Systems - Maarten van Steen
Introduction Contents Distributed System - Maarten van Steen