15.1 Processors, Parallel processing and virtual machines Flashcards
Reduced instruction set computers (RISC)
is a computer with a small, highly optimized set of instructions
Complex instruction set computers (CISC)
is a computer in which single instructions can execute several low-level operations (such as a load from memory, an arithmetic operation, and a memory store) or are capable of multi-step operations or addressing modes within single instructions.
RISC processors
Reduced Instruction Set Computing
- Emphasis on software
- Executing a set of instructions only takes one cycle
- Aim is to complete cycles as fast as possible
- Simplified instructions e.g. using the MULTIPLY example, it would have to load the values to be multiplied, multiply them and then store the answer
- Longer sequences = more RAM required
- Can take advantage of pipelining
- Cheaper to produce due to needing fewer transistors
- RISC compliers are more complex as they generate extra instructions
CISC processors
Complex Instruction Set Computing
- Emphasis on hardware
- Transistors store complex instructions
- Executing a set of instructions may take more than one cycle
- Aim is to complete a task in as few lines as possible
- Processor is able to understand and execute a series of operations
- Has pre-defined instructions that allow processes to be more efficient e.g. using a MULTIPLY command that knows how to take 2 numbers and multiply them together
- Short code= less RAM required
What is interrupt handling?
Interrupt handling is a key function in real-time software, and comprises interrupts and their handlers. … The software assigns each interrupt to a handler in the interrupt table. An interrupt handler is just a routine containing a sequence of operations. Each of these may request input and output while running.
Pipelining in RISC processors
when the processor works on different steps of the instruction at the same time, more instructions can be executed in a shorter period of time.
Importance of registers in RISC
Registers act as the fast local memory store for all data processing operations.
What are the four basic computing architectures?
SISD
SIMD
MISD
MIMD
SISD
SISD is a computer architecture in which a single uni-core processor executes a single instruction stream, to operate on data stored in a single memory.
SIMD
Single instruction, multiple data (SIMD) is a type of parallel processing in Flynn’s taxonomy. … Such machines exploit data level parallelism, but not concurrency: there are simultaneous (parallel) computations, but each unit performs the exact same instruction at any given moment (just with different data).
MISD
MISD is a type of parallel computing architecture where many functional units perform different operations on the same data
MIMD
MIMD is a technique employed to achieve parallelism. Machines using MIMD have a number of processors that function asynchronously and independently. At any time, different processors may be executing different instructions on different pieces of data
characteristics of massively parallel computers?
Massively parallel is the term for using a large number of computer processors to simultaneously perform a set of coordinated computations in parallel.
What is a virtual machine?
In computing, a virtual machine is the virtualization/emulation of a computer system. Virtual machines are based on computer architectures and provide functionality of a physical computer. Their implementations may involve specialized hardware, software, or a combination
Benefits of virtual machines?
Multiple OS environments can exist simultaneously on the same machine, isolated from each other;
Virtual machine can offer an instruction set architecture that differs from real computer’s;
Easy maintenance, application provisioning, availability and convenient recovery.