Skip to main content

Multiprocessing versus multitasking

Short answer

Multiprocessing uses multiple CPUs for true parallel execution, increasing throughput and reliability. Multitasking shares a single CPU among tasks via time-slicing, improving responsiveness with lower hardware cost.

Differentiate between multiprocessing and multi tasking in RTOS.

PointMultiprocessingMultitasking
MeaningSystem with two or more CPUs (processors) executing in parallelSeveral tasks share a single CPU by time slicing and switching
ProcessorsMultipleOne (or more)
ExecutionTrue parallel executionApparent (concurrent) execution; one task at a time per CPU
Hardware costHighLow
OverheadNeeds CPU communication and sharingContext-switch overhead
PurposeThroughput, reliabilityBetter CPU use and responsiveness
ExampleDual-core processorRTOS running 3 tasks on one microcontroller

✓ Answer checked by Claude Opus 5.5 (high effort)

All Embedded System chapter 6 questions →