Computer Architecture and Operating Systems (CS31702)
Computer Architecture and Operating Systems (CS31702)
ARCHITECTURE AND
OPERATING SYSTEMS
(CS31702)
Syllabus
• Architecture:
– Basic organization,
– fetch-decode-execute cycle,
– data path and control path,
– instruction set architecture,
– I/O subsystems, interrupts, memory hierarchy, overview of
pipelined architecture.
• Operating systems:
– An overview,
– process management,
– user and supervisor modes,
– process synchronization, semaphores,
– memory management, virtual memory,
– file systems, I/O systems.
Books
Computer Architecture:
• David A. Patterson and John L. Hennessy, Computer
Organization and Design: The Hardware/Software Interface,
Elsevier.
• Carl Hamachar, Zvonco Vranesic and Safwat Zaky,
Computer Organization, McGraw-Hill.
• John P. Hayes, Computer Architecture and Organization,
McGraw-Hill.
Operating System:
• Avi Silberschatz, Peter Galvin, Greg Gagne, Operating
System Concepts, Wiley Asia Student Edition.
• William Stallings, Operating Systems: Internals and Design
Principles, Prentice Hall of India.
COMPUTER ORGANIZATION AND DESIGN
5
Edition
th
Chapter 1
Computer Abstractions and
Technology
§1.1 Introduction
The Computer Revolution
Progress in computer technology
Underpinned by Moore’s Law – 2x integration
density every 18 months
Makes novel applications feasible
Computers in automobiles
Cell phones
Human genome project
World Wide Web
Search Engines
Computers are pervasive
Chapter 1 — Computer Abstractions and Technology — 5
Classes of Computers
Personal computers
General purpose, variety of software
Subject to cost/performance tradeoff
Server computers
Network based
High capacity, performance, reliability
Range from small servers to building sized
Embedded computers
Hidden as components of systems
Stringent power/performance/cost constraints
Computer board
Clock (cycles)
Data transfer
and computation
Update state
Relative frequency
Sequence 1: IC = 5 Sequence 2: IC = 6
Clock Cycles Clock Cycles
= 2×1 + 1×2 + 2×3 = 4×1 + 1×2 + 1×3
= 10 =9
Avg. CPI = 10/5 = 2.0 Avg. CPI = 9/6 = 1.5
Chapter 1 — Computer Abstractions and Technology — 24
Performance Summary
The BIG Picture
Performance depends on
Algorithm: affects IC, possibly CPI
Programming language: affects IC, CPI
Compiler: affects IC, CPI
Instruction set architecture: affects IC, CPI, Tc
In CMOS IC technology
Power Capacitive load Voltage 2 Frequency
×30 5V → 1V ×1000