Module 2.3 Flashcards
(20 cards)
What is the informal definition of a process?
A program in execution
What is the broad definition of a process?
All CPU activities
What keeps track of all the processes running?
PCB (Process Control Block)
What data are included in PCB (Process Control Block?
-Process ID
-Process State
-Process Priority
-Memory Usage
-Allocated Resource
What are resources needed for processes?
-CPU
-Main Memory
-I/O
What are threads?
Parts of a process that may run concurrently
Another name for threads?
lightweight process
What is a heavyweight process?
contains only one thread
What are peer threads?
Threads belonging to the same process
Why are threads process-dependent?
You cant have a thread without a process; threads are not standalone
What is time slicing?
Needed for resources that is shared in time
What is inter-process communication?
a process may communicate with one or more processes
What is a socket?
An endpoint for communication
What is inter-process communication over a network?
A pair of communicating processes consists of two sockets
What is virtualization?
Multiple virtual systems hosted in one hardware
How is virtualization implemented?
By using hypervisor
Threads pros and cons?
PROS
-Efficiency
-Potentially faster process execution
CONS
-Synchronization complexities
-A misbehaving thread may cause problems to the entire process
Virtualization Pros and Cons?
PROS
-Maximizes hardware
-Lower costs
-Multiplatform hosting
CONS
-Eggs in one basket
-Sluggish with less powerful hardware
What is Type 1 Hypervisor?
-Also called Bare-Metal
-Directly connects with the hardware
What is Type 2 Hypervisor?
-Also called Hosted
-Installed as a application running as a process running on top of a Host OS