CHAPTER : HARDWARE & VIRTUAL MACHINES Flashcards
1
Q
RISC
Reduced Instruction Set Computer
A
- makes extensive use of general purpose registers
- simplified instruction set
- fewer instructions + instruction formats
- more registers
- fixed length instructions
- less complex circuits
- more RAM use
- easier to pipeline
eg: SunSparc
2
Q
CISC
Complex Instruction Set Computer
A
- more instructions + instruction formats
- fewer registers
- variable-length instructions
- more complex circuits
- more cache use
eg: Intel 80486
3
Q
Interrupt
A
- signal from hardware device or software source seeking processors’s attention
4
Q
Interrupt Routine
A
- interrupt detected
- current processes paused
- moved to registers (loaded to stack)
- ISR loaded onto pipeline and executed
- paused processes resumed
5
Q
Pipelining
A
- instruction level parallelism
- execution of an instruction is split into no of stages
- when the first stage ends the first stage of next stage immediately begins
- processing of instructions is simultaneous
6
Q
Disadvantages of pipelining
A
- dependency issues can cause stalls:
7
Q
Massive Parallel Computers
A
Massive: large number of processors
Parallel: perform coordinated computation simultaneously while communicating via a messaging interface
8
Q
Hardware and Software issues when parallel processing
A
- Hardware: - processors must be able to communicate with each other so data can be transferred
- Software: - suitable program to allow data to be processed by multiple processors simultaneously
9
Q
SISD
A
- only one processor
- execute one instruction on one set of data
- can’t parallel process
10
Q
SIMD
A
- several ALU’s
- ALU executes same instruction using different data from a dedicated memory
11
Q
MISD
A
- each processor executes different instruction
- each processor has its own partition in a shared memory
12
Q
MIMD
A
- several processors executing instructions from a common pool
- each processor operates on different data deawn from a common pool
13
Q
Virtual Machine
A
- emulation of computer system using a system software
- use of software to implement a hardware setup
14
Q
Advantages of VM
A
- no need to buy the required hardware to test the software
- reduces setup time for test system
- can run older versions of OS
15
Q
Disadvantages of VM
A
- software emulation slower than the actual hardware
- not all hardware can be successfully emulated
- processing time can be increased as there is extra code that needs to be executed