Chapter 12: I/O Systems (Ch 12 Silberschatz) Flashcards

1
Q

Port: (I/O Systems)

A

port: A communication address; a system may have one IP address for network connections but many ports, each for a separate communication. In computer I/O, a connection point for devices to attach to computers. In software development, to move code from its current platform to another platform (e.g., between operating systems or hardware systems). In the Mach OS, a mailbox for communication.

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

Phy: (I/O Systems)

A

PHY: The physical hardware component that connects to a network (implements layer 1 in the OSI model).

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

Bus: (I/O Systems)

A

bus: A communication system; e.g., within a computer, a bus connects various components, such as the CPU and I/O devices, allowing them to transfer data and commands.

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

Daisy Chain: (I/O Systems)

A

daisy chain: In computer I/O, a connection method involving connecting devices to each other in a string (device A to B, B to C, C to D, etc.).

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

Pcie Bus: (I/O Systems)

A

PCIe bus: A common computer I/O bus connecting the CPU to I/O devices.

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

Expansion Bus: (I/O Systems)

A

expansion bus: A computer bus for connecting slow devices like keyboards.

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

Serial-Attached Scsi (Sas): (I/O Systems)

A

serial-attached SCSI (SAS): A common type of I/O bus.

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

Sas: (I/O Systems)

A

SAS: A common type of I/O bus.

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

Controller: (I/O Systems)

A

controller: A special processor that manages I/O devices.

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

Fibre Channel (Fc): (I/O Systems)

A

fibre channel (FC): A type of storage I/O bus used in data centers to connect computers to storage arrays. A storage-attachment network.

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

Host Bus Adapter (Hba): (I/O Systems)

A

host bus adapter (HBA): A device controller installed in a host bus port to allow connection of one or more devices to the host.

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

Memory-Mapped I/O: (I/O Systems)

A

memory-mapped I/O: A device I/O method in which device-control registers are mapped into the address space of the processor.

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

Data-In Register: (I/O Systems)

A

data-in register: A device I/O register where data is placed to be sent to the device.

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

Data-Out Register: (I/O Systems)

A

data-out register: A device I/O register where data is placed by the device to be read by the computer.

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

Status Register: (I/O Systems)

A

status register: A device I/O register in which status is indicated.

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

Control Register: (I/O Systems)

A

control register: A device I/O register where commands are placed by the computer.

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

Busy Waiting: (I/O Systems)

A

busy waiting: A practice that allows a thread or process to use CPU time continuously while waiting for something. An I/O loop in which an I/O thread continuously reads status information while waiting for I/O to complete.

18
Q

Polling: (I/O Systems)

A

polling: An I/O loop in which an I/O thread continuously reads status information waiting for I/O to complete.

19
Q

Interrupt: (I/O Systems)

A

interrupt: A hardware mechanism that enables a device to notify the CPU that it needs attention.

20
Q

Interrupt-Request Line: (I/O Systems)

A

interrupt-request line: The hardware connection to the CPU on which interrupts are signaled.

21
Q

Interrupt-Handler Routine: (I/O Systems)

A

interrupt-handler routine: An operating system routine that is called when an interrupt signal is received.

22
Q

Interrupt-Controller Hardware: (I/O Systems)

A

interrupt-controller hardware: Computer hardware components for interrupt management.

23
Q

Nonmaskable Interrupt: (I/O Systems)

A

nonmaskable interrupt: An interrupt that cannot be delayed or blocked (such as an unrecoverable memory error)

24
Q

Maskable: (I/O Systems)

A

maskable: Describes an interrupt that can be delayed or blocked (such as when the kernel is in a critical section).

25
Q

Address Space Layout Randomization (Aslr): (I/O Systems)

A

address space layout randomization (ASLR): An operating system technique to avoid code-injection attacks that place memory objects like the stack and heap at unpredictable locations.

26
Q

Interrupt Vector: (I/O Systems)

A

interrupt vector: An operating-system data structure indexed by interrupt address and pointing to the interrupt handlers. A kernel memory data structure that holds the addresses of the interrupt service routines for the various devices.

27
Q

Interrupt Chaining: (I/O Systems)

A

interrupt chaining: A mechanism by which each element in an interrupt vector points to the head of a list of interrupt handlers, which are called individually until one is found to service the interrupt request.

28
Q

Interrupt Priority Level: (I/O Systems)

A

interrupt priority level: Prioritization of interrupts to indicate handling order.

29
Q

Exception: (I/O Systems)

A

exception: A software-generated interrupt caused either by an error (such as division by zero or invalid memory access) or by a specific request from a user program than an operating-system service be performed.

30
Q

First-Level Interrupt Handler: (I/O Systems)

A

first-level interrupt handler: In some operating systems, an interrupt handler responsible for reception and queuing of interrupts; the interrupts are actually handled at another level (by the second-level handler).

31
Q

Second-Level Interrupt Handler: (I/O Systems)

A

second-level interrupt handler: In some operating systems, the interrupt handler that actually handles interrupts; reception and queueing of interrupts are handled at another level (by the first-level handler).

32
Q

Software Interrupt: (I/O Systems)

A

software interrupt: A software-generated interrupt; also called a trap. The interrupt can be caused either by an error (e.g., division by zero or invalid memory access) or by a specific request from a user program that an operating-system service be performed.

33
Q

Trap: (I/O Systems)

A

trap: A software interrupt. The interrupt can be caused either by an error (e.g., division by zero or invalid memory access) or by a specific request from a user program that an operating-system service be performed.

34
Q

Programmed I/O (Pio): (I/O Systems)

A

programmed I/O (PIO): A method of transferring data between a CPU and a peripheral device in which data are transferred one byte at a time.

35
Q

Direct Memory Access (Dma): (I/O Systems)

A

direct memory access (DMA): A resource-conserving and performance-improving operation for device controllers allowing devices to transfer large amounts of data directly to and from main memory.

36
Q

Scatter-Gather: (I/O Systems)

A

scatter-gather: An I/O method in which multiple sources or destinations of I/O are specified in one command structure.

37
Q

Double Buffering: (I/O Systems)

A

double buffering: The copying of data twice (e.g., from a device to the kernel and then from the kernel to a process’s address space), or the use of two buffers to decouple producers and consumers.

38
Q

Cycle Stealing: (I/O Systems)

A

cycle stealing: The act of a device, such as a DMA controller, using the bus and preventing the CPU from using it temporarily.

39
Q

Direct Virtual Memory Access (Dvma): (I/O Systems)

A

direct virtual memory access (DVMA): DMA that uses virtual addresses rather than physical memory addresses as transfer sources and destinations.

40
Q

The device drivers present a uniform device-access interface to the

A

I/O subsystem, much as system calls provide a standard interface between the application and the operating system.