Lecture Notes for Operating Systems
11 September 2000 - Computer Architectures
- computer architecture
- the hardware and its organization
- os creates an extended machine
- architectures are your friend or not
- CPU
- arithmetic-logic unit (alu)
- register sets - psw, base and extent registers
- hardwired vs. microprogrammed control
- instruction sets - atomic instructions, traps
- interrupts - address vectors, polling
- protection - user-kernel, levels, masking
- issues - protections, irregularities, concurrency
- os functions - process model, scheduling
- Storage
- hierarchies - external storage; main storage; cache storage
- External storage - see below
- Main storage
- segmented vs. flat
- addressing - virtual; mmu
- page mapping - tlb;
- issues - protection, performance
- os function - vm
- Cache storage - cache consistency
- Input-Output
- I-O Devices - part of the address space; hardwired vs. programmable
- Interrupts vs dma
- Disks
- disks, arms, cylinders, sectors
- controller hardware - offload complexity
- issues - high throughput; arm scheduling; error recovery
- os functions - buffering, error detection and handling, load
balancing.
- Clocks
- hardware or software clocks
- count-up timers - like wall clocks
- count-down timers - issue alarms
- issues - what is being counted? resolution
- os functions - virtual clocks
- Terminals
- Slow, character-oriented i-o
- Issues - smart vs. dumb terminals.
- os functions - modes (input and output processing)
- Networks
- fast, block-oriented i-o
- exceptional amounts of processing involved
- issues - driver, kernel, user processing
- os functions - multiplexing-demultiplexing
- Busses
- Connect I-O to storage; storage to cpu
- issue - cache coherence
- os functions - consistency model
- Oddiments
- multi-processor systems - smp, numa
- embedded systems
This page last modified on 11 September 2000