Multiprocessor Scheduling: Will Consider Only Shared Memory Multiprocessor
Multiprocessor Scheduling: Will Consider Only Shared Memory Multiprocessor
Multiprocessor Scheduling: Will Consider Only Shared Memory Multiprocessor
•Salient features:
– One or more caches: cache affinity is important
– Semaphores/locks typically implemented as spin-locks: preemption
during critical sections
• Measure of load
– Queue lengths at CPU, CPU utilization
• Types of policies
– Static: decisions hardwired into system
– Dynamic: uses load information
– Adaptive: policy varies according to load
• Preemptive versus non-preemptive
• Centralized versus decentralized
• Stability: l>m => instability, l1+l2<m1+m2=>load balance
– Job floats around and load oscillates
• Transfer policy
• Motivation
• How does migration occur?
• Resource migration
• Agent-based system
• Details of process migration
• Flexibility
– Dynamic configuration of distributed system
– Clients don’t need preinstalled software – download on demand
• Code migration:
– Execute in a separate process
– [Applets] Execute in target process
• Process migration
– Remote cloning
– Migrate the process