Stored Program Concept
Stored Program Concept
1
04. Computers that store both instructions and data on
the same memory are said to be based on the Von
Neumann architecture.
Modern desktop computers are still based on the same
stored program concept.
2
A von Neumann Architecture computer has five parts:
1. An arithmetic-logic unit
2. A control unit
3. A memory
3
4. Some form of input/output
5. System bus (that provides a data path between these
parts)
Instructions include,
A control unit
System bus
a single computer bus that connects the major components of a
computer system, combining the functions of a data bus to carry
information.
5
• Data Stream is a sequence of data including input or temporary
result, called by the instruction Stream.
6
• Instructions are decoded by the control unit and then ctrl
unit send the instructions to the processing units for
execution.
7
Single-Instruction Single-Data streams (SISD)
➢ Conventional single-processor von Neumann computers
are classified as SISD systems.
➢ A single processor computer (Uni-processor) in which a
single stream of instructions is generated from the
program.
Characteristics
8
02.MISD (Multiple Instruction stream, Single Data stream)
Computer Systems
9
➢ In the MISD category, the same stream of data flows
through a linear array of processors executing different
instruction streams.
All processors receive the same instruction from the control unit
but operate on different items of data.
10
Single-Instruction Multiple-Data streams (SIMD)
11
Characteristics
12
Characteristics
13
Characteristics
Example:
Bus and cache-based systems
- Sequent Balance, Encore
Multistage IN-based systems
- Ultra computer, RP3, HEP
Crossbar switch-based systems
- Alliant FX/8
MESSAGE-PASSING MULTICOMPUTER
Characteristics
- Interconnected computers
- Each processor has its own memory, and communicate via
message-passing
14
Example:
- Tree structure: Teradata,
- Mesh-connected: Rediflow, Series 2010
15
- Computer system architecture is decided on the basis
of the type of applications or usage of the computer.
16
The Computer Level Hierarchy
17
The computer hierarchy ranks components in terms of response
times, with processor registers at the top of the structure and tape
backup at the bottom.
18
– Computer Architecture is the combination of microarchitecture
and instruction set design.
Hardwired Control
21
Computer performance metrics include
➢ availability
➢ response time
➢ channel capacity
➢ completion time
➢ service time
➢ bandwidth
➢ throughput
➢ relative efficiency
➢ scalability
➢ performance
➢ compression ratio
➢ instruction path length
➢ speed up.
22
Many different factors to take into account when
determining performance:
Technology
23
Organization
• type of processor (ILP)
• configuration of the memory hierarchy
• type of I/O devices
• number of processors in the system
Software
• quality of the compilers
• organization & quality of OS, databases, etc.
Response time.
➢ is the time from start to completion of a task.
Throughput.
➢ total amount of work completed in a given time. It is
the number of tasks that can be completed within a given
time of interval.
24
➢ transactions (database) or packets (web servers) /
second.
➢ an indication of how well hardware resources are
being used.
➢ good metrics for chip designers or managers of
computer systems.
25
Component metrics:
➢ subsystem performance, e.g., memory behavior.
➢ help explain how execution time was obtained.
➢ pinpoints performance.
(Performance of A / Performance of B)
= (Execution Time of B / Execution Time of A)
They include:
➢ speed of the CPU,
➢ space on the hard disk
➢ size of the RAM
➢ type of the graphics card
➢ speed of the hard disk
➢ Defragmenting files.
26
How to Improve Performance….
27