What is a single-core processor ?
What is a multicore processor ?
Single vs Multiple Core
PROCESSING UNITS –> ONE CORE | TWO OR MORE COES
PERFORMANCE –> Handle one task at a time | Can handle multiple tasks simultaneously
POWER EFFICENCY –> Less efficient as clock speed increases | More efficient because has multiple cores and runs at lower clock speed
HEAT GENERATION –> Produces less heat | Produces more heat
Multitasking –> Time-sharing mechanisms | True Parallel execution
What are the 3 types of multiprocessing architecture
What is symmetric processor (SMP)
Challenges in SMP
Solutions in SMP
Use multi-level cache (L1, L2,L3) to reduce memory access delay
Use cache coherence protocol such as MESI (Modified, Exclusive, Shared, Invalid)
Use hyper-threading and optimize software
What is Asymmetric Processor (AMP)
One processor acts as the “Master” controlling the system and assigning tasks to “slave” processors
Processors are not equal in functionality or capability
Processors may run different operating system or perform specialized tasks
Only master processor has full access to system resources
Challenges in AMP
Solutions in AMP
-
Distributed Multiprocessing
Disadvantages in Distributed Multiprocessing
Requires Complex programming
Communication latency becomes bottleneck
What is load balancing