Lecture Notes for Operating Systems
8 September 1999
These are provisional lecture notes, expect changes.
- 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 9 September 1999.