• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/10

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

10 Cards in this Set

  • Front
  • Back

What is an Operating System?

> a layer of software


> a resource manager


> a mechanism for virtualizing hardware resources

Role of the Operating System

> builds the Program Execution Environment


> provides a layer of software between user applications and the hardware

Applications Directly Accessing Hardware

+ small performance improvement


- not portable


- more complex


- difficulty running w/ other applications

Resource Manager

> allows programs to share hardware in a fair and efficient way

Major Components of Hardware

> do stuff (CPUs)


> store stuff (Program/data)


> interact w/ outside world

Functions of the CPU

> executes a sequence of machine instructions


> registers


- gen. purpose and special purpose


- captures instantaneous state of the CPU


> can have multiple CPUs or cores

Cache

> faster, smaller storage (cache)


> temporarily holds subset of a larger, slower storage area.

On Access, First Check...

cache


> if info is in cache, cache hit


> if info is not in cache, cache miss, goes to backing store


> sometimes copied to make faster

Why Does Caching Work?

> Temporal Locality: A program is likely to access data it has accessed recently


> Spatial Locality: A program is likely to access data nearby to what has been accessed recently

CPU Functions

> communicates with devices through device controllers


> initiate I/O requests, check I/O status or recover results


> interacts with DCs thru read/write functions