OA Flashcards
superscalar
Technique primarily associated with hardware.
Functional units (ALU, Floating Point Unit, Load/Store Unit) are duplicated in the pipeline of a superscalar processor which allows the hardware to issue multiple instructions to each unit simultaneously.
LEGv8 doubleword
Another natural unit of access in a computer, usually a group of 64 bits (8 bytes); corresponds to the size of a register in the LEGv8 architecture
virtual memory
A technique that uses main memory as a “cache” for secondary storage
The address is broken into a virtual page number and a page offset
Program counter (PC)
The register that contains the address of the next instruction to be executed
LDUR
load register
Register File
A state element that consists of a set of registers that can be read and written by supplying a register number to be accessed.
provides 1024 scalar 32-bit registers for up to 64 threads.
machine language
The language made up of binary-coded instructions that is used directly by the computer
system software
The set of programs that enables a computer’s hardware devices and application software to work together; it includes the operating system and utility programs.
operating system
(computer science) software that controls the execution of computer programs and may provide various services
Assembly Language
Programming language that has the same structure and set of commands as machine languages but allows programmers to use symbolic representations of numeric machine code.
IBM 360/91
Introduced many new concepts, including dynamic detection of memory hazards, generalized forwarding, and reservation stations. Tomasulo’s algorithm
The internal organization of the 360/91 shares many features with the Pentium III and Pentium 4, as well as with several other microprocessors. One major difference was that there was no branch prediction in the 360/91 and hence no speculation. Another major difference was that there was no commit unit, so once the instructions finished execution, they updated the registers.
Dynamic Random Access Memory (DRAM)
Memory built as an integrated circuit; it provides random access to any location. Access times are 50 nanoseconds and cost per gigabyte in 2012 was $5 to $10.
Multiple DRAMs are used together to contain the instructions and data of a program. In contrast to sequential access memories, such as magnetic tapes, the RAM portion of the term DRAM means that memory accesses take basically the same amount of time no matter what portion of the memory is read.
Modern DRAMS consist of rows in each bank
frame buffering
A portion of RAM containing a bitmap that drives a video display. It is a memory buffer containing a complete frame of data.
The image to be represented onscreen is stored in the frame buffer, and the bit pattern per pixel is read out to the graphics display at the refresh rate. The animation below shows a frame buffer with a simplified design of just 4 bits per pixel.
Datapath
The component of the processor that performs arithmetic operations
Control
The component of the processor that commands the datapath, memory, and I/O devices according to the instructions of the program.
Integrated circuit
Also called a chip. A device combining dozens to millions of transistors.
Central processor unit (CPU)
Also called processor. The active part of the computer, which contains the datapath and control and which adds numbers, tests numbers, signals I/O devices to activate, and so on.
Static random access memory (SRAM)
Also memory built as an integrated circuit, but faster and less dense than DRAM.
Instruction set architecture
Also called architecture. An abstract interface between the hardware and the lowest-level software that encompasses all the information necessary to write a machine language program that will run correctly, including instructions, registers, memory access, I/O, and so on.
Application binary interface (ABI)
The user portion of the instruction set plus the operating system interfaces used by application programmers. It defines a standard for binary portability across computers.
Volatile memory
Storage, such as DRAM, that retains data only if it is receiving power.
Nonvolatile Memory
A form of memory that retains data even in the absence of a power source and that is used to store programs between runs. A DVD disk is nonvolatile.
Magnetic disk
Also called hard disk. A form of nonvolatile secondary memory composed of rotating platters coated with a magnetic recording material. Because they are rotating mechanical devices, access times are about 5 to 20 milliseconds and cost per gigabyte in 2012 was $0.05 to $0.10
Main memory
Also called primary memory. Memory used to hold programs while they are running; typically consists of DRAM in today’s computers.
Secondary memory
Nonvolatile memory used to store programs and data between runs; typically consists of flash memory in PMDs and magnetic disks in servers.
Flash memory
A nonvolatile semiconductor memory. It is cheaper and slower than DRAM but more expensive per bit and faster than magnetic disks. Access times are about 5 to 50 microseconds and cost per gigabyte in 2012 was $0.75 to $1.00.
Single Instruction Single Data (SISD)
A uniprocessor
Multiple Instruction Multiple Data (MIMD)
The conventional MIMD programming model, where a single program runs across all processors.
Single Instruction Stream, Multiple Data Streams (SIMD)
The same instruction is applied to many data streams, as in a vector processor.
Data-level parallelism
Parallelism achieved by performing the same operation on independent data
LEGv8
assembly instructions
data hazard (pipeline data hazard)
When a planned instruction cannot execute in the proper clock cycle because data that is needed to execute the instruction are not yet available.
forwarding (bypassing)
A method of resolving a data hazard by retrieving the missing data element from internal buffers rather than waiting for it to arrive from programmer-visible registers or memory
Structural hazard
When a planned instruction cannot execute in the proper clock cycle because the hardware does not support the combination of instructions that are set to execute.
Pipelining
Technique that allows the CPU to work on more than one instruction at a time
Formula
total process time = [longest task * (total load -1)] + total load time
R-format ALU operations
Requires register file and the ALU.
Program Counter (PC)
(PC)
The register that contains the address of the next instruction to be executed
output
The results of the operation of any system.
spatial locality
The principle stating that if a data location is referenced, data locations with nearby addresses will tend to be referenced soon.
RAID 2
Bit-level striping with dedicated Hamming-code parity. OBSOLETE.
Application Binary Interface (ABI)
The user portion of the instruction set plus the operating system interfaces used by application programmers. It defines a standard for binary portability across computers.
Smaller is faster
A very large number of registers may increase the clock cycle time simply because it takes electronic signals longer when they must travel farther.
Guidelines such as “smaller is faster” are not absolutes; 31 registers may not be faster than 32. Even so, the truth behind such observations causes computer designers to take them seriously. In this case, the designer must balance the craving of programs for more registers with the designer’s desire to keep the clock cycle fast. Another reason for not using more than 32 is the number of bits it would take in the instruction format.
commit unit
The unit in a dynamic or out-of-order execution pipeline that decides when it is safe to release the result of an operation to programmer-visible registers and memory.
in-order commit
A commit in which the results of pipelined execution are written to the programmer-visible state in the same order that instructions are fetched.
Exception Enable (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 for restart.
Weak scaling
Speed-up achieved on a multiprocessor while increasing the size of the problem proportionally to the increase in the number of processors.
Not bound by Amdah’s Law
Write serialization
Method that ensures writes to a location are seen in the same order by all processors.
Maintaining the order of writes to a given location ensures that all processors sharing memory read the correct data.
multimedia extensions (MMX)
An expanded set of instructions supported by a processor that provides multimedia-specific functions.
temporal locality
The principle stating that if a data location is referenced then it will tend to be referenced again soon.
Memory hierarchy
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.
Block (or line)
The minimum unit of information that can be either present or not present in a cache.
Hit rate
The fraction of memory accesses found in a level of the memory hierarchy.
Miss rate
The fraction of memory accesses not found in a level of the memory hierarchy
miss penalty
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.
Hit time
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.
Parallelization
consist of dividing a program into separate components that run in parallel on individual computers in the cluster
ARM architecture
can support 16-bit
Amdahl’s Law
A formula used to find the maximum improvement possible by improving a particular part of a system. In parallel computing, Amdahl’s law is mainly used to predict the theoretical maximum speedup for program processing using multiple processors
multiprocessor
A term used to refer to a computer with more than one CPU.
Uniform Memory Access (UMA)
A multiprocessor in which latency to any word in main memory is about the same no matter which processor requests the access.
Non-Uniform Memory Access (NUMA)
Varying system memory access times, because of system hardware.
loop unrolling
A technique to get more performance from loops that access arrays, in which multiple copies of the loop body are made and instructions from different iterations are scheduled together.
Blocking
a failure to retrieve information that is available in memory even though you are trying to produce it
can help reduce cache miss rate
Set Associative Cache
A cache that has a fixed number of locations (at least two) where each block can be placed.
RAID 0 (Disk Striping)
Disk Striping. Disk striping requires at least two drives. It does not provide redundancy to data. If any one drive fails, all data is lost.
RAID 1 (mirroring)
Two drives are used in unison, and all data is written to both drives, giving you a mirror or extra copy of the data, in the case that one drive fails
RAID 3
Byte-level striping with dedicated parity. OBSOLETE, replaced with RAID 5.
RAID 4
Block-level striping with dedicated parity. Not often used, replaced with RAID 5.
RAID 5
Disk striping with parity. RAID-5 uses three or more disks and provides fault tolerance.
RAID 6
Disk striping with parity. RAID-6 uses four or more disks and provides fault tolerance. It can survive the failure of two drives.
silicon crystal ingot
A rod composed of a silicon crystal that is between 8 and 12 inches in diameter and about 12 to 24 inches long.
wafer
A slice from a silicon ingot no more than 0.1 inches thick, used to create chips.
Instruction Set Architecture (ISA)
Also called architecture. An abstract interface between the hardware and the lowest-level software that encompasses all the information necessary to write a machine language program that will run correctly, including instructions, registers, memory access, I/O, and so on
Transistor
An on/off switch controlled by an electric signal
very large-scale integrated (VLSI) circuit
A device containing hundreds of thousands to millions of transistors.
silicon
A natural element that is a semiconductor
- Excellent conductors of electricity (using either microscopic copper or aluminum wire)
- Excellent insulators from electricity (like plastic sheathing or glass)
- Areas that can conduct or insulate under special conditions (as a switch)
Semiconductor
A substance that can conduct electricity under some conditions
Die
The individual rectangular sections that are cut from a wafer, more informally known as chips.
complementary metal-oxide semiconductor (CMOS)
Dominant technology for integrated circuits
LEGv8 word
A natural unit of access in a computer, usually a group of 32 bits
LEGv8 register
64 bits wide
more registers will lead to a slower clock frequency
Data transfer instruction
A command that moves data between memory and registers.
Address
A value used to delineate the location of a specific data element within a memory array.
load
data transfer instruction that copies data from memory to a register
LEGv8 LDUR
The sum of the constant portion of the instruction and the contents of the second register forms the memory address
The U in LDUR stands for unscaled immeditate
base address
starting address of an array in memory (5000 below)
base register
register that holds an array’s base address (X22 below)
offset
a constant value added to a base address to locate a particular array element (8 below)