System and Network Administration lecture in color

A Crash Course in Operating Systems

Peeling the Onion Several Ways

First layer: machines and operating system

Machine:

Semantic Bootstrapping

Machine Components

What can we forget?

Memory

Disk

Tiered Memory

Paging

Physical/Cache Paging Algorithm

Swapping

Memory states

Paging/Swapping Caveats

Problem of the day

  1. Give a plausible picture of the initial load image for the program, labelling its pages 0-11, presuming that the program will be allocated into memory from page 0 to page 11 and that pages that don't fit will be virtualized.
  2. Suppose the program starts running in the first byte of page 0 and its first instruction accesses data in page 10. Draw a picture of all of memory after this access, labelling each page with the number of the page of the program whose data it contains.
  3. Suppose the next instruction, still in page 0, accesses data in page 7. What will memory look like after this?

Spying on swapping: vmstat

Operating system

UNIX Architecture

Processes

Mapping

Kinds of memory maps

Get used to it: overlapping layers

Contexts

How the OS copes with processes:

The process scheduler:

Spying on processes: ps

Fundamental goals of the OS

Filesystems

Filesystem structure.

Oversimplified model of how a filesystem works:

Very important notes on files

Directories

Example: /usr/bin/gcc


Directory requirements

Problem of the day

  1. what is the inode number of /foo/cat?
  2. Give all possible absolute pathnames of inode 8.

The Super Block

Filesystems and the OS

Files and the OS

File caching

Kinds of files and directories

Another taxonomy of files


lecture in color

/comp/150NET/notes/systems.php
downloaded on Nov-23-2009 03:08:42 PM,
was last modified on Feb-17-2004 10:49:58 PM.

All lecture note content is copyright 2004 by
Alva L. Couch, Computer Science, Tufts University