Computer Architecture and
Organization: Design and
Performance Analysis
This briefing document synthesizes the foundational concepts, historical evolution, and
performance modeling strategies outlined in William Stallings' Computer Architecture and
Organization (8th Edition). It examines the structural and functional nature of modern
computing systems, emphasizing the critical balance between architectural design and
organizational implementation.
Executive Summary
The primary objective of this text is to provide a comprehensive analysis of the nature and
characteristics of modern computer systems. The central thesis posits that despite the rapid
pace of technological change, fundamental concepts of organization and architecture remain
consistent. A critical distinction is made between architecture (attributes visible to a
programmer) and organization (the hardware implementation of those attributes).
The text highlights a shift in modern computing where performance is no longer just a goal
but a primary design constraint. As processor speeds, memory capacities, and interconnect
rates evolve at different paces, designers must utilize sophisticated techniques—such as
multicore processors, speculative execution, and cache hierarchies—to maintain system
balance. Key case studies include the Intel x86 (CISC) and ARM (RISC) families, which
represent the dominant paradigms in general-purpose and embedded computing,
respectively.
--------------------------------------------------------------------------------
1. Fundamental Concepts: Architecture and
Organization
A core theme of the analysis is the distinction between the "what" and the "how" of a
computer system.
1.1 Architecture vs. Organization
● Computer Architecture: Refers to those attributes of a system visible to a
programmer, or those that have a direct impact on the logical execution of a program.
Examples include:
○ Instruction sets.
○ Number of bits used for data representation.
○ I/O mechanisms.
○ Techniques for memory addressing.
● Computer Organization: Refers to the operational units and their interconnections
that realize the architectural specifications. Examples include:
○ Hardware details transparent to the programmer.
○ Control signals and interfaces between the computer and peripherals.
○ Memory technology used.
1.2 The Hierarchical Nature of Systems
Computer systems are best characterized through a hierarchical structure, described in
terms of structure (how components are interrelated) and function (the operation of
individual components).
● Top-Level Structure: Consists of the Central Processing Unit (CPU), Main Memory,
I/O, and System Interconnection (e.g., system bus).
● CPU Internal Structure: Includes the Control Unit, Arithmetic and Logic Unit (ALU),
Registers, and CPU Interconnection.
● Four Basic Functions:
1. Data Processing: Fundamental methods of data manipulation.
2. Data Storage: Short-term (dynamic processing) and long-term (files).
3. Data Movement: Input/Output (I/O) and data communications for remote
devices.
4. Control: Management of resources and coordination of functional parts.
--------------------------------------------------------------------------------
2. The Evolution of Computing Technology
The text categorizes the evolution of computers into generations based on the underlying
technology.
Geração
Technology
Notable Characteristics
1st
(1946–1957)
Vacuum Tubes
ENIAC (first general-purpose); IAS (Von
Neumann) model.
2nd
(1958–1964)
Transistors
High-level languages; system software; IBM
7000; DEC PDP-1.
3rd
(1965–1971)
Integrated Circuits
(SSI/MSI)
IBM System/360 (family concept); DEC
PDP-8 (minicomputer).
4th
(1972–1977)
Large-Scale Integration
(LSI)
Introduction of the microprocessors (Intel
4004).
5th
(1978–1991)
Very Large-Scale
Integration (VLSI)
Over 10,000 components per chip.
6th
(1991–Presen
t)
Ultra Large-Scale
Integration (ULSI)
Over one million components per chip.
2.1 The Von Neumann Architecture
Most modern computers are based on the IAS (Institute for Advanced Studies) prototype,
which established:
● Stored Program Concept: Instructions and data are stored in a single read-write
memory.
● Addressability: Memory contents are addressable by location regardless of data
type.
● Sequential Execution: Operations occur in sequence unless explicitly modified.
--------------------------------------------------------------------------------
3. Designing for Performance
A significant portion of the text is dedicated to the "Performance Balance"—the adjustment
of architecture and organization to compensate for differing rates of evolution in system
components.
3.1 Moore’s Law and Its Consequences
Moore’s Law observed that the number of transistors on a chip doubles approximately every
18 to 24 months. This has led to:
● Decreased cost of logic and memory.
● Increased operating speeds due to shorter electrical paths.
● Reduced power and cooling requirements.
3.2 Performance Obstacles and Strategies
Modern designers face three primary obstacles: power density, RC
(Resistance-Capacitance) delay in chip interconnects, and memory latency. Strategies to
mitigate these include:
● Pipelining: Treating instruction execution like an assembly line.
● Branch Prediction: Anticipating code branches to keep the processor buffer full.
● Speculative Execution: Executing instructions before they are reached in the
program flow.
● Multicore Processors: Placing multiple processors on a single chip to increase
performance without drastically increasing clock rates or power consumption.
3.3 Amdahl’s Law
This law quantifies the potential speedup of a system when only a portion of it is improved.
● Formula: Speedup = \frac{1}{(1-f) + \frac{f}{N}}
● Conclusion: The speedup of a program using multiple processors (N) is limited by
the fraction of the code that is inherently serial (1-f). Even with infinite processors, the
maximum speedup is 1/(1-f).
--------------------------------------------------------------------------------
4. Evaluation and Benchmarking
The text emphasizes that raw metrics like clock speed are insufficient for comparing different
architectures.
● MIPS (Millions of Instructions Per Second): A measure of instruction execution
rate, but highly dependent on the instruction set complexity.
● CPI (Cycles Per Instruction): The average number of clock cycles required to
execute instructions for a given program.
● SPEC Benchmarks: The System Performance Evaluation Corporation provides
standardized suites (like CPU2006) to measure the performance of processors
across diverse, real-world applications.
● Geometric Mean: The preferred method for summarizing normalized benchmark
results because it maintains performance relationships regardless of the reference
machine.
--------------------------------------------------------------------------------
5. Comparative Case Studies: Intel x86 and ARM
The text utilizes two specific families to illustrate architectural concepts:
5.1 Intel x86 (CISC)
● Evolution: From the 8080 (8-bit) to the 80386 (32-bit) and modern multicore Core 2
Quad (64-bit).
● Philosophy: A Complex Instruction Set Computer (CISC) that maintains backward
compatibility. Over 30 years, it has evolved by adding instructions (now over 500)
while retaining the ability to run older software.
5.2 ARM Architecture (RISC)
● Evolution: Originated with Acorn Computers for the BBC; now developed and
licensed by ARM Ltd.
● Philosophy: A Reduced Instruction Set Computer (RISC) designed for high
performance, small die size, and low power consumption.
● Market Position: The most widely used architecture for embedded systems,
including smartphones (iPhone), iPods, and remote sensors.
--------------------------------------------------------------------------------
6. System Functionality: The Instruction Cycle
The fundamental operation of a computer is the Instruction Cycle, which consists of two
primary sub-cycles:
1. Fetch Cycle: The processor reads an instruction from memory. The Program
Counter (PC) holds the address; the instruction is loaded into the Instruction Register
(IR).
2. Execute Cycle: The processor interprets the opcode and performs the required
action (Processor-Memory, Processor-I/O, Data Processing, or Control).
The IAS Machine Registers:
●
●
●
●
MAR (Memory Address Register): Specifies memory addresses for reads/writes.
MBR (Memory Buffer Register): Contains data to be written or just read.
PC (Program Counter): Contains the address of the next instruction.
IR (Instruction Register): Contains the 8-bit opcode of the instruction being
executed.
● AC & MQ (Accumulator & Multiplier Quotient): Used for temporary storage of
operands and ALU results.
●