Lecture 1 - Chap - 1-2
Lecture 1 - Chap - 1-2
Lecture 1:
Introduction
1
Overview
2
Overview of COA
One or more CPUs, device controllers connect through common bus
providing access to shared memory
Concurrent execution of CPUs and devices competing for memory
cycles
Overview of COA
+ = Computer hardware
Processor
Motherboard (bus and I/O)
+
Graphics
adapter
Overview of Computer System Structure
OS is a resource manager
– Manages all resources
– Decides between conflicting requests for efficient and fair
resource use
OS is a control program
– Controls execution of programs to prevent errors and
improper use of the computer
– Protect the system from incorrect or malicious programs
and users
9
OS as Resource Manager
10
The Role of an OS (Cont’d)
11
Kernel
12
Computer Startup
A process consists of
– An executable program
– Associated data needed by the program
– Execution context of the program (or “process state”)
The execution context contains all information
the operating system needs to manage the
process
Process Management
Memory Management
bus
SMP Architecture
SMP OS Considerations
In an SMP system, the kernel can execute on any
processor, and typically each
– processor does self-scheduling from the pool of available processes
or threads.
– The kernel can be constructed as multiple processes or multiple
threads, allowing
– Portions of the kernel to execute in parallel. The SMP approach
complicates the OS.
Key design issues:
Chip Multi-Processor Architecture
Socket 0
One L3 Cache is shared among 4 cores but there are four L3 caches
covering a total of 16 physical cores
Quick fix to avoid performance penalty due to threads migration across
different dies:
https://www.legitreviews.com/game-mode-might-boost-performance-on-amd-r
yzen-3900x-processors_213087
Heterogeneous multi-processor
ARM’s big.LITTLE system: to which core should the OS migrate the
task? Performance vs power consumption.
Source: http://www.newelectronics.co.uk/electronics-technology/arms-big-little-systems-provide-more-processing-power-for-less-energy/43563/
Multiprogramming and Multiprocessing
Clustered Systems
Memory Hierarchy
Trend of Evolution
user of Evolution
applications computer of OS
hardware
End of Lecture 1