Program that contains low level I/O software (read keyboard, print to screen, etc.) allowing system configuration (Nowadays stored in flash memory)
Back
Stack Segment
Front
Portion of memory used by a program to hold procedure call frames
Back
Command Interpreter
Front
Shells, get and execute the next user-specified command
Back
SSD (Solid-State Drive)
Front
A flash memory storage device that contains its own processor to manage its storage
Back
Address Space
Front
Each process has an associated address space, a list of memory locations from 0 to some maximum, which a process can read and write
Back
Process Table
Front
Array of structures, one for each process currently in existence
Stores information about process's state such as:
1. Program counter
2. Stack pointer
3. Memory allocation
4. File handles
Back
Interrupt
Front
A signal that tells the operating system that it is in need of immediate attention
Back
User Mode
Front
A mode in which only a subset of instructions are available
Back
Parallel Bus Architecture
Front
Send each word of data over multiple wires
Back
Busy Waiting
Front
A method by which processes, waiting for an event to occur, continuously test to see if the condition has changed and remain in unproductive, resource consuming wait loops
Back
Shared Bus Architecture
Front
Multiple devices use the same wires to transfer data
Back
Track
Front
Annular region the heads can read
Back
ROM (Read Only Memory)
Front
Nonvolatile chips located on the motherboard into which data or programs have been permanently stored
Back
Cache Hit
Front
When the CPU finds the stored data in the cache
Back
PSW (Program Status Word)
Front
Register that contains code bits, which are set by comparison instructions, the CPU priority, the mode (user/kernel), and various other control bits
Plays important role in system calls and I/O
Back
Hard Real-Time System
Front
If an action absolutely must occur at a certain moment (or within a certain range)
Back
Multiprocessor Systems
Front
2 or more CPUs sharing the same physical memory
True hardware parallelism
Back
Process
Front
A program in execution
Back
Operating System
Front
Layer of software whose job is to provide user programs with better, simpler, cleaner, model of the computer and to handle managing all the resources just mentioned
Back
Multithreading (Hyperthreading)
Front
Allows the CPU to hold the state of two different threads and then switch back and forth on a nanosecond time scale
Back
Serial Bus Architecture
Front
Sends all bits in a message through a single connection, known as a lane, much like a network packet
Back
Cylinder
Front
Together, all the tracks for a given arm position form a cylinder
Back
Core Image
Front
A suspended processes address space
Back
Multiplexing
Front
Sharing resources in two different ways; in time and space (split time on cpu, or share total resources)
Back
Flash Memory
Front
Type of nonvolatile memory that can be erased electronically and rewritten
Back
Involuntary or voluntary? Fatal error
Front
Involuntary
Back
Kernel Mode (Supervisor mode)
Front
A mode in which the operating system has complete access to all the hardware and can execute any instruction the machine is capable of executing
Back
Multiprogramming
Front
The technique of keeping multiple programs in main memory at the same time, competing for the CPU, increases CPU utilization
Back
Involuntary or voluntary? Normal exit
Front
Voluntary
Back
Daemons
Front
Programs that do not have GUI and run in the background
Back
Virtual Memory
Front
Process of optimizing RAM storage by borrowing hard drive space
Back
Stack Pointer
Front
Register that points to the top of the current stack in memory
Back
Child Process
Front
A process created by another process
Back
Text Segment
Front
The segment of a UNIX object file that contains the machine language code for routines in the source file
Back
Process Termination Conditions:
Front
1. Normal exit (voluntary)
2. Error exit (voluntary)
3. Fatal error (involuntary)
4. Killed by another process (involuntary)
Back
Involuntary or voluntary? Error exit
Front
Voluntary
Back
Spooling
Front
(Simultaneous Peripheral Operation On Line)
Load all jobs into main memory and then load each one from memory at a time
Back
L2 Cache
Front
A type of memory cache that is slightly slower than L1 cache, but has a much larger capacity, ranging from 64 KB to 16 MB, stores recently used memory words
Back
DMA (Direct Memory Access) Chip
Front
A chip that can control flow of bits between memory and some controller without constant CPU intervention (cpu creates, when done it creates interrupt)
Back
Cache Lines (often called cache blocks)
Front
The organizational unit of main memory, typically 64 bytes, with addresses 0-63 in cache line 1, 64-127 in cache line 1, etc.
Most used cache lines are kept in a cache close to CPU
Back
Context Switch
Front
The exchange of register information that occurs when one process is removed from the CPU and another takes its place
Back
Pseudoparallelism
Front
The illusion of parallelism, processes still run sequentially just at a nanosecond timeframe
Back
System Call
Front
An instruction that interrupts the program being executed and requests a service from the operating system
Back
Program Counter
Front
Register that holds the memory address of the next instruction to be fetched
Back
Interrupt Vector
Front
Address where the CPU starts executing to service an interrupt
Back
Soft Real-Time System
Front
Where missing an occasional deadline, while not desirable, is acceptable and does not cause any permanent damage
Back
L1 Cache
Front
Cache used by a CPU for short-term storage of data and instructions. It is the fastest and closest to the CPU
Back
RAM (Random Access Memory)
Front
Memory modules on the motherboard containing microchips used to temporarily hold data and programs while the CPU processes both. Information in RAM is lost when the PC is turned off (volatile)
Back
Timesharing
Front
A system in which CPU time is shared among multiple interactive users at the same time
Back
Data Segment
Front
The variables
Back
Section 2
(19 cards)
Compute-Bound (CPU Bound) Process
Front
Longer CPU burst
CPU heavy processes
Back
Preemptive Scheduling
Front
CPU scheduling that occurs when the operating system decides to favor another process, preempting the currently executing process
Back
Process Control Blocks
Front
Entries per process within the process table
Back
Four conditions for a good solution:
Front
1. Processes can't be in critical regions at the same time
2. No assumption about CPU speed
3. Processes outside its critical region can't block any other process
4. Process shouldn't have to wait forever to enter its critical region
Back
Semaphore
Front
A new variable type, indicating the number of wakeups that were saved (either none or some positive amount)
Back
Turnaround Time
Front
Statistically average time from the moment that a batch job is submitted until the moment it is completed
Back
In multithreaded programs, the kernel informs an application about certain events using a procedure known as a(n) ____.
Front
Upcall
Back
Thread Table
Front
When threads are managed in user space, each process needs its own private thread table to keep track of the threads in that process
Back
Three states of a process:
Front
1. Running
2. Ready
3. Blocked
Back
Nonpreemptive Scheduling
Front
CPU scheduling that occurs when the currently executing process gives up the CPU voluntarily
Back
Spin Lock
Front
Lock that uses busy waiting
Back
Involuntary or voluntary? Killed by another process
Front
Involuntary
Back
Response Time
Front
The time between issuing a command and getting the result
Back
Mutex
Front
A mutex is a Mutual Exclusion Semaphore. It indicates that someone else is using that service
Shared variable that can be in one of two states: locked or unlocked
Back
Threads
Front
Separate, independent tasks within a job
"Miniprocesses"
"Lightweight-processes"
Back
Multi threading
Front
Allows different parts of a single program to run concurrently
Back
Throughput
Front
Number of jobs per hour
Back
I/O Bound
Front
Longer I/O burst
I/O heavy process, small computation
Back
Atomic Action
Front
Action which indivisibly examines or changes a state (cannot be interrupted)