P3L5 Flashcards

1
Q

I/O 3 Facts

A
  1. Have protocols
  2. Have dedicated handlers
  3. Decouple I/O details from core processing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Microcontroller

A

Device’s CPU

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Command Registers

A
  • Command
  • Data transfers
  • Status
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

PCI

A

Peripheral Component Interconnect

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Character device

A

get/put character

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

BAR

A

Base Address Registers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Memory Mapped IO

A

Part of host physical memory dedicated for device interactions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

IO Port Model

A

Dedicated in/out instructions fro device access

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

PIO

A

Programmed I/O

  • No additional hw support needed
  • CPU programs device via command registers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

DMA

A

Direct Memory Access

  • 2 CPU instructions, but 1 is complex
  • Data must be in physical memory (Pinned)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Typical Device Access

A
  • system call
  • in-kernel stack
  • driver invocation
  • device request configuration
  • device performs request
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

indoe

A

persistent representation of file “index”

list of all data blocks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

dentry

A

directory entry

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

superblock

A

filesystem-specific information regarding the FS layout

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

superblock contents

A

inode blocks
data blocks
free blocks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Direct Access Optimizations

A

Caching/Buffering
I/O Scheduling
Prefetching
Journaling/Logging