Unit 6 Flashcards

1
Q

The locality principle stating that if a data location is referenced then it will tend to be referenced again soon.

A

Temporal locality

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

The locality principle stating that if a data location is referenced, data locations with nearby addresses will tend to be referenced soon.

A

Spatial locality

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

The high likelihood of accessing multiple elements within array A is an example of _____ locality.

A

spatial

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

The high likelihood of accessing i = i + 1 repeatedly is an example of _____ locality.

A

temporal

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

A structure that uses multiple levels of memories; as the distance from the processor increases, the size of the memories and the access time both increase.

A

Memory hierarchy

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

The minimum unit of information that can be either present or not present in a cache.

A

Block (or line)

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

The fraction of memory accesses found in a level of the memory hierarchy.

A

Hit rate

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

The fraction of memory accesses not found in a level of the memory hierarchy.

A

Miss rate

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

The time required to access a level of the memory hierarchy, including the time needed to determine whether the access is a hit or a miss.

A

Hit time

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

The time required to fetch a block into a level of the memory hierarchy from the lower level, including the time to access the block, transmit it from one level to the other, insert it in the level that experienced the miss, and then pass the block to the requestor.

A

Miss penalty

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

Blank exhibit both temporal locality, the tendency to reuse recently accessed data items, and spatial locality, the tendency to reference data items that are close to other recently accessed items.

A

Programs

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

Memory hierarchies take advantage of temporal locality by keeping more recently accessed data items closer to the blank.

A

processor

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

Memory hierarchies take advantage of spatial locality by moving blocks consisting of multiple contiguous words in memory to blank of the hierarchy.

A

upper levels

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

A memory hierarchy uses smaller and faster memory technologies blank to the processor.

A

close

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

In most systems, the memory is a true blank, meaning that data cannot be present in level i unless they are also present in level i + 1.

A

hierarchy

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

Blank are simply integrated circuits that are memory arrays with (usually) a single access port that can provide either a read or a write. Blank have a fixed access time to any datum, though the read and write access times may differ.

A

SRAMs

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

SRAMs don’t need to blank and so the access time is very close to the cycle time.

A

refresh

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

Cache type of memory

A

SRAMS

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

In a blank, the value kept in a cell is stored as a charge in a capacitor.

A

dynamic RAM (DRAM)

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

Because DRAMs use only blank per bit of storage, they are much denser and cheaper per bit than SRAM.

A

one transistor

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

As DRAMs store the charge on a capacitor, it cannot be kept indefinitely and must periodically be blank

A

refreshed.

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

Main memory type

A

DRAM

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

To improve performance, DRAMs buffer blank for repeated access.

A

rows

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

Modern DRAMS are organized in banks. Each bank consists of a series of ___

A

rows

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

DRAMs enable fast access to data by transferring bits in bursts. Successive bits are transferred on each _____.

A

clock edge

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

Between 1980 and 2012, the average column access time to an existing row _____.

A

decreased

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

Blank is a type of electrically erasable programmable read-only memory (EEPROM).

A

Flash memory

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

Unlike disks and DRAM, but like other EEPROM technologies, writes can wear out flash memory bits. To cope with such limits, most flash products include a controller to spread the writes by remapping blocks that have been written many times to less trodden blocks. This technique is called blank.

A

wear leveling

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

One of thousands of concentric circles that make up the surface of a magnetic disk.

A

Track

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

One of the segments that make up a track on a magnetic disk; a sector is the smallest amount of information that is read or written on a disk.

A

Sector

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

Also called rotational delay. The time required for the desired sector of a disk to rotate under the read/write head; usually assumed to be half the rotation time.

A

Rotational latency

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

The process of positioning a read/write head over the proper track on a disk

A

Seek

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

The time required to transfer a block of bits.

A

Transfer time

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

The time required to move the head to the desired track.

A

Seek time

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

The time required for the desired sector to rotate under the head.

A

Rotational latency

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

A cache structure in which each memory location is mapped to exactly one location in the cache

A

Direct-mapped cache

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

A field in a table used for a memory hierarchy that contains the address information required to identify whether the associated block in the hierarchy corresponds to a requested word.

A

Tag

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

A field in the tables of a memory hierarchy that indicates that the associated block in the hierarchy contains valid data.

A

Valid bit

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

Caching is perhaps the most important example of the big idea of blank.

A

prediction

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

Blank relies on the principle of locality to try to find the desired data in the higher levels of the memory hierarchy, and provides mechanisms to ensure that when the prediction is wrong it finds and uses the proper data from the lower levels of the memory hierarchy.

A

Caching

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

The hit rates of the cache prediction on modern computers are often above blank

A

95%

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

The blank size is 2^n blocks, so n bits are used for the index

A

cache

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

The blank is 2^m words (2m+2 bytes), so m bits are used for the word within the block, and two bits are used for the byte part of the address

A

block size

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

A request for data from the cache that cannot be filled because the data are not present in the cache

A

Cache miss

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

Steps to be taken on an instruction cache miss:

A

Send the original PC value to the memory.
Instruct main memory to perform a read and wait for the memory to complete its access.
Write the cache entry, putting the data from memory in the data portion of the entry, writing the upper bits of the address (from the ALU) into the tag field, and turning the valid bit on.
Restart the instruction execution at the first step, which will refetch the instruction, this time finding it in the cache.

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

A scheme in which writes always update both the cache and the next lower level of the memory hierarchy, ensuring that data are always consistent between the two.

A

Write-through

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

A queue that holds data while the data are waiting to be written to memory

A

Write buffer

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

A scheme that handles writes by updating values only to the block in the cache, then writing the modified block to the lower level of the hierarchy when the block is replaced.

A

Write-back

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

A value is read from the cache and modified. The modified value is written to the cache and the corresponding memory location.

A

Write-through scheme

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

A value is read from the cache and modified. The modified value is written to the cache and to a queue that stores the value while waiting to be written to the corresponding memory location.

A

Write buffer

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

A value is read from the cache and modified. The modified value is written to the cache. The modified value is only written from the cache to memory when the cache block is replaced.

A

Write-back scheme

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

A scheme in which a level of the memory hierarchy is composed of two independent caches that operate in parallel with each other, with one handling instructions and one handling data.

A

Split cache

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

To take advantage of blank, a cache must have a block size larger than one word.

A

spatial locality

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

A cache structure in which a block can be placed in any location in the cache.

A

Fully associative cache

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

A cache that has a fixed number of locations (at least two) where each block can be placed.

A

Set-associative cache

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

Remember that in a direct-mapped cache, the position of a memory block is given by blank

A

block number modulo number of blocks in cache

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

In a set-associative cache, the set containing a memory block is given by blank

A

block number modulo number of sets in cache

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

A replacement scheme in which the block replaced is the one that has been unused for the longest time.

A

Least recently used (LRU)

59
Q

A memory hierarchy with multiple levels of caches, rather than just a cache and main memory.

A

Multilevel cache

60
Q

The fraction of references that miss in all levels of a mutlilevel cache.

A

Global miss rate

61
Q

The fraction of references to one level of a cache that miss; used in multilevel hierarchies.

A

Local miss rate

62
Q

Blank is a measure of the continuous service accomplishment—or, equivalently, of the time to failure—from a reference point.

A

Reliability

63
Q

Blank where the service is delivered as specified

A

Service accomplishment

64
Q

Blank where the delivered service is different from the specified service

A

Service interruption

65
Q

A related term is blank which is just the percentage of devices that would be expected to fail in a year for a given MTTF

A

annual failure rate (AFR)

66
Q

Blank is measured as mean time to repair (MTTR). Mean time between failures (MTBF) is simply the sum of MTTF + MTTR. Although MTBF is widely used, MTTF is often the more appropriate term.

A

Service interruption

67
Q

Blank is then a measure of service accomplishment with respect to the alternation between the two states of accomplishment and interruption.

A

Availability

68
Q

Preventing fault occurrence by construction.

A

Fault avoidance

69
Q

Using redundancy to allow the service to comply with the service specification despite faults occurring.

A

Fault tolerance

70
Q

Predicting the presence and creation of faults, allowing the component to be replaced before it fails.
PARTICIPATION ACTIVITY
6.5.2: Terms and measures.

A

Fault forecasting

71
Q

Four nines of availability per year indicates that the service is available _____% of the year.

A

99.99

72
Q

A code that enables the detection of an error in data, but not the precise location and, hence, correction of the error.

A

Error detection code

73
Q

Richard Hamming invented a popular redundancy scheme for memory, for which he received the Turing Award in 1968. To invent redundant codes, it is helpful to talk about how “close” correct bit patterns can be. What we call the blank is just the minimum number of bits that are different between any two correct bit patterns.

A

Hamming distance

74
Q

Hamming used a blank for error detection. In a parity code, the number of 1s in a word is counted; the word has odd parity if the number of 1s is odd and even otherwise. When a word is written into memory, the parity bit is also written (1 for odd, 0 for even). That is, the parity of the N+1 bit word should always be even.

A

parity code

75
Q

blank were first developed in the mid-1960s, and they have remained an important part of mainframe computing over the years.

A

Virtual machines (VM)

76
Q

VMs provide two other benefits that are commercially significant:

A

Managing software.
Managing hardware.

77
Q

A technique that uses main memory as a “cache” for secondary storage.

A

Virtual memory

78
Q

An address in main memory.

A

Physical address

79
Q

A set of mechanisms for ensuring that multiple processes sharing the processor, memory, or I/O devices cannot interfere, intentionally or unintentionally, with one another by reading or writing each other’s data. These mechanisms also isolate the operating system from a user process.

A

Protection

80
Q

An event that occurs when an accessed page is not present in main memory.

A

Page fault

81
Q

An address that corresponds to a location in virtual space and is translated by address mapping to a physical address when memory is accessed.

A

Virtual address

82
Q

Also called address mapping. The process by which a virtual address is mapped to an address used to access memory.

A

Address translation

83
Q

A virtual memory miss.

A

Page fault

84
Q

Segmentation: A variable-size address mapping scheme in which an address consists of two parts: a segment number, which is mapped to a physical address, and a segment offset.

A

Segmentation

85
Q

The table containing the virtual to physical address translations in a virtual memory system. The table, which is stored in memory, is typically indexed by the virtual page number; each entry in the table contains the physical page number for that virtual page if the page is currently in memory.

A

Page table

86
Q

The space on the disk reserved for the full virtual memory space of a process.

A

Swap space

87
Q

Also called use bit or access bit. A field that is set whenever a page is accessed and that is used to implement LRU or other replacement schemes.

A

Reference bit

88
Q

A cache that keeps track of recently used address mappings to try to avoid an access to the page table.

A

Translation-lookaside buffer (TLB)

89
Q

A cache that is accessed with a virtual address rather than a physical address.

A

Virtually addressed cache

90
Q

A situation in which two addresses access the same object; it can occur in virtual memory when there are two virtual addresses for the same physical page.

A

Aliasing

91
Q

A cache that is addressed by a physical address.

A

Physically addressed cache

92
Q

Also called kernal mode. A mode indicating that a running process is an operating system process.

A

Supervisor mode

93
Q

A special instruction that transfers control from user mode to a dedicated location in supervisor code space, invoking the exception mechanism in the process.

A

System call

94
Q

A changing of the internal state of the processor to allow a different process to use the processor that includes saving the state needed to return to the currently executing process.

A

Context switch

95
Q

Also called interrupt enable. A signal or action that controls whether the process responds to an exception or not; necessary for preventing the occurrence of exceptions during intervals before the processor has safely saved the state needed to restart.

A

Exception enable

96
Q

An instruction that can resume execution after an exception is resolved without the exception’s affecting the result of the instruction.

A

Restartable instruction

97
Q

How is a block found?

A

there are four methods: indexing (as in a direct-mapped cache), limited search (as in a set-associative cache), full search (as in a fully associative cache), and a separate lookup table (as in a page table).

98
Q

A cache model in which all cache misses are classified into one of three categories: compulsory misses, capacity misses, and conflict misses.

A

Three Cs model

99
Q

Also called cold-start miss. A cache miss caused by the first access to a block that has never been in the cache.

A

Compulsory miss

100
Q

A cache miss that occurs because the cache, even with full associativity, cannot contain all the blocks needed to satisfy the request.

A

Capacity miss

101
Q

Also called collision miss. A cache miss that occurs in a set-associative or direct-mapped cache when multiple blocks compete for the same set and that are eliminated in a fully associative cache of the same size.

A

Conflict miss

102
Q

A sequential logic function consisting of a set of inputs and outputs, a next-state function that maps the current state and the inputs to a new state, and an output function that maps the current state and possibly the inputs to a set of asserted outputs.

A

Finite-state machine

103
Q

A combinational function that, given the inputs and the current state, determines the next state of a finite-state machine.

A

Next-state machine

104
Q

When two unrelated shared variables are located in the same cache block and the full block is exchanged between processors even though the processors are accessing different variables.

A

False sharing

105
Q

An organization of disks that uses an array of small and inexpensive disks so as to increase both performance and reliability.

A

Redundant arrays of inexpensive disks (RAID)

106
Q

Allocation of logically sequential blocks to separate disks to allow higher performance than a single disk can deliver.

A

Striping

107
Q

No redundancy

A

(RAID 0)

108
Q

Mirroring

A

(RAID 1)

109
Q

Writing identical data to multiple disks to increase data availability.

A

Mirroring

110
Q

Error detecting and correcting code

A

(RAID 2)

111
Q

Bit-interleaved parity

A

(RAID 3)

112
Q

The group of data disks or blocks that share a common check disk or block.

A

Protection group:

113
Q

Block-interleaved parity

A

(RAID 4)

114
Q

Distributed block-interleaved parity

A

(RAID 5)

115
Q

P + Q redundancy

A

(RAID 6)

116
Q

Replacing a hardware component while the system is running

A

Hot-swapping

117
Q

Reserve hardware resources that can immediately take the place of a failed component.

A

Standby spares

118
Q

A cache that allows the processor to make references to the cache while the cache is handling an earlier miss.

A

Nonblocking cache

119
Q

The two “non-cache” or “no allocate” blank and blank are intended for streaming through lots of data, so the data are unlikely to be used in the future; that is, no temporal locality.

A

load pair (LDNP)
store pair (STNP)

120
Q

A technique in which data blocks needed in the future are brought into the cache early by using special instructions that specify the address of the block.

A

Prefetching

121
Q

J . Presper Eckert developed technology based on _____ delay lines to act as registers and to replace vacuum tube technology.

A

mercury

122
Q

_____ had the first known working mercury delay lines.

A

EDSAC

123
Q

In the 1950s, _____ memory emerged as a cheaper, faster, and more reliable storage method than previous technologies.

A

core

124
Q

Building a _____ became possible because of the development of the integrated circuit.

A

DRAM

125
Q

Currently, DRAMs are packaged with multiple chips on a little board called a _____.

A

DIMM

126
Q

First computer to employ two level memory hierarchy.

A

ATLAS

127
Q

Replaced by the 32-bit VAX because of too little address space

A

PDP-11

128
Q

The computer for which the term translation-lookaside buffer was coined

A

IBM-370

129
Q

The first RISC architecture to transition from 32-bit addressing to 64-bit addressing.

A

MIPS

130
Q

The first _____ implementation was based on tunnel diode memory, the fastest form of memory available at the time.

A

cache

131
Q

The 1956 blank was the first computer to use a moving-head disk storage system.

A

IBM 305 RAMAC

132
Q

Blank developed removable hard disk drives in 1962, six years before Intel existed.

A

IBM

133
Q

The sealed blank disk replaced removable disks in the 1980s partly because the cost of disk electronics continued to decrease.

A

Winchester

134
Q

Flash memory was first used in blank

A

digital cameras

135
Q

A pioneering database management system created at General Electric in 1961.

A

IDS

136
Q

A database system created to test the viability of relational databases.

A

System R and Ingres

137
Q

In the 1990s, _____ databases emerged for analytic processing and data mining.

A

parallel

138
Q

The first personal computer.

A

Alto

139
Q

A timesharing system that incorporated the good ideas from MULTICS and left out the more complex features.

A

UNIX

140
Q

First timesharing system

A

CTSS

141
Q

The operating system that Microsoft provided to IBM.

A

MS_DOS

142
Q

Berkeley Software Distribution

A

BSD

143
Q

Berkeley timesharing system that added paging virtual memory hardware to the SDS 920 computer and had a new operating system.

A

CAL TSS