CSE 120 Operating Systems Principles Lecture 17: Virtual Machines

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/13

flashcard set

Earn XP

Description and Tags

Flashcards for Operating Systems Principles Lecture 17 focusing on vocabulary.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

14 Terms

1
New cards

Crash Consistency Problem

File system operations may involve writing multiple blocks and crashes can happen at any time, possibly leaving the file system in an inconsistent state. Goal: ensure updates occur atomically.

2
New cards

fsck

The file system checker in Unix that scans the file system for inconsistencies when the system boots and attempts to repair them or notify an administrator.

3
New cards

Ordered Writes

A method to prevent file system inconsistencies by writing blocks to disk in a specific, safe order, such as initializing blocks before writing pointers to them.

4
New cards

Journaling (Write-Ahead Logging)

A technique where changes to the file system are first recorded in a special append-only log file (the journal) before being applied to the main file system.

5
New cards

Journal

An append-only file containing log records of file system transactions, including transaction IDs, block addresses, and commit records.

6
New cards

Checkpointing

In journaling, it involves recording the current position in the log, copying modified blocks to their final destinations, and then clearing the log before the recorded position.

7
New cards

Virtual Machine (VM)

An abstraction that provides an environment with virtualized hardware, allowing guest operating systems to run as if they have full control of the underlying hardware.

8
New cards

Virtual Machine Monitor (VMM) / Hypervisor

Software that virtualizes an entire physical machine, presenting a hardware interface to guest OSes, managing resources, and isolating VMs from each other.

9
New cards

Trap-and-Emulate

A VMM approach where guest OS actions that require privilege cause a trap to the VMM, which then simulates the appropriate behavior before returning control to the guest OS.

10
New cards

Type 1 Hypervisor (Bare Metal)

A hypervisor that runs directly on the hardware, without an underlying host OS.

11
New cards

Type 2 Hypervisor (Hosted)

A hypervisor that runs on top of a host operating system.

12
New cards

Paravirtualization

A virtualization technique where the guest OS is modified to cooperate with the VMM, often through a hypervisor API, to improve performance.

13
New cards

Binary Translation

A virtualization method where guest OS code is rewritten at runtime to replace privileged instructions with emulation code, often trapping to the VMM.

14
New cards

Full Virtualization

Virtualization without modification of guest OS.