Module 5.1 Operating Systems

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

1/43

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

44 Terms

1
New cards

(HDDs) and (NVM) devices

The bulk of secondary storage for modern computers

2
New cards

spin platters of magnetically-coated material under moving read-write heads, their drives roatate at 60 to 250 times per sc

3
New cards
4
New cards

Positioning time (random-access time)

ime to move the disk arm to the desired cylinder (seek time) and time for the desired sector to rotate under the disk head (rotational latency)

5
New cards

Head crash

results from disk head making contact with the disk surface

6
New cards

Hard Disk Drives

Platters range from .85” to 14” (historically)

  • Commonly 3.5”, 2.5”, and 1.8”

Range from 30GB to 3TB per drive

7
New cards

Hard Disk Performance

  • Access Latency = Average access time = average seek time + average latency (milliseconds)

    • For fastest disk 3ms + 2ms = 5ms

    • For slow disk 9ms + 5.56ms = 14.56ms

8
New cards

The first commercial disk

1956IBM RAMDAC computer included the IBM Model 350 disk storage system

9
New cards

Non-volatile Memory Drives

If disk-drive like, then called solid-state disks (SSDs)

10
New cards

Non-volatile Memory Devices

Read and written in “page” increments (think sector) but can’t overwrite in place

11
New cards

NAND Flash Controller Algorithms

With no overwrite, pages end up with a mix of valid and invalid data

12
New cards

flash translation layer (FTL) table

To track which logical blocks are valid, the controller maintains a

13
New cards

garbage collection

frees invalid page space

14
New cards

overprovisioning

working space for GC

15
New cards

wear-leveling 

Each cell has a lifespan, so _____ needed to write equally to all cells

16
New cards

DRAM

used as a mass-storage device

17
New cards

RAM drives

present as raw block devices, common file system formatted

18
New cards

Disk drives

addressed as large 1-dimensional arrays of logical blocks, where the logical block is the smallest unit of transfer

19
New cards

logical blocks

Low-level formatting creates _____ on physical media

20
New cards

Disk Attachment

Host-attached storage accessed through I/O ports talking to I/O busses

21
New cards

NVM express (NVMe)

a new fast interface for NVM, connects directly to the PCI bus

22
New cards

controllers (or host-bus adapters, HBAs)

Data transfers on a bus carried out by special electronic processors

23
New cards

Disk drives

are addressed as large 1-dimensional arrays of logical blocks

24
New cards

logical block

the smallest unit of transfer

25
New cards

Shortest Seek Time First

selects the request with the minimum to seek time from the current head position

26
New cards

SSTF scheduling

form of SJF scheduling; may cause starvation of some requests

27
New cards

Scan

The disk arm starts at one end of the disk, and moves toward the other end, servicing requests until it gets to the other end of the disk, where the head movement is reversed and servicing continues

28
New cards

elevator algorithm

SCAN algorithm Sometimes called?

29
New cards

C-Scan

The head moves from one end of the disk to the other, servicing requests as it goes

30
New cards

C-Scan

Provides a more uniform wait time than SCAN

31
New cards

True

True or false

SCAN and C-SCAN perform better for systems that place a heavy load on the disk

32
New cards

deadline scheduler

To avoid starvation Linux implemented a?

33
New cards

deadline scheduler

  • Maintains separate read and write queues, gives read priority

  • Implements four queues: 2 x read and 2 x write

34
New cards

NVM Scheduling

No disk heads or rotational latency but still room for optimization

35
New cards

Error Detection and Correction

The fundamental aspect of many parts of computing (memory, networking, storage)

36
New cards

Error detection

determines if there a problem has occurred (for example a bit flipping)

37
New cards

Checksum

Parity is one form of?

38
New cards

checksum

uses modular arithmetic to compute, store, compare values of fixed-length words

39
New cards

cyclic redundancy check (CRC)

uses a hash function to detect multiple-bit errors

40
New cards

Error-correction code (ECC)

not only detects but can correct some errors

41
New cards

Low-level formatting, or physical formatting

Dividing a disk into sectors that the disk controller can read and write

42
New cards

Root partition

contains the OS, other partitions can hold other Oses, other file systems, or be raw

43
New cards

boot loader

set of blocks that contain enough code to know how to load the kernel from the file system

44
New cards