Computer Fundamentals Modern Computer Components. Dr Robert Harle

Similar documents
Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

CSCA0102 IT & Business Applications. Foundation in Business Information Technology School of Engineering & Computing Sciences FTMS College Global

The Central Processing Unit:

Chapter 6. Inside the System Unit. What You Will Learn... Computers Are Your Future. What You Will Learn... Describing Hardware Performance

CHAPTER 2: HARDWARE BASICS: INSIDE THE BOX

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to:

Memory Basics. SRAM/DRAM Basics

With respect to the way of data access we can classify memories as:

Solid State Drive Architecture

Chapter 3: Computer Hardware Components: CPU, Memory, and I/O

Chapter 4 System Unit Components. Discovering Computers Your Interactive Guide to the Digital World

Figure 1. Front and Back of a Computer Case

CHAPTER 7: The CPU and Memory

1. Memory technology & Hierarchy

Discovering Computers Living in a Digital World

Central Processing Unit

Parts of a Computer. Preparation. Objectives. Standards. Materials Micron Technology Foundation, Inc. All Rights Reserved

Storage Class Memory and the data center of the future

Chapter 2 Logic Gates and Introduction to Computer Architecture

Machine Architecture and Number Systems. Major Computer Components. Schematic Diagram of a Computer. The CPU. The Bus. Main Memory.

Computers. Hardware. The Central Processing Unit (CPU) CMPT 125: Lecture 1: Understanding the Computer

Computer Systems Structure Main Memory Organization

Lecture 2: Computer Hardware and Ports.

Module 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1

İSTANBUL AYDIN UNIVERSITY

EUCIP - IT Administrator. Module 1 - PC Hardware. Version 2.0

MULTIPLE CHOICE FREE RESPONSE QUESTIONS

Chapter 2 Basic Structure of Computers. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

Chapter 1 Computer System Overview

Communicating with devices

Choosing a computer for ANY-maze

Hardware: Input, Processing, and Output Devices. A PC in Every Home. Assembling a Computer System

Computer Hardware HARDWARE. Computer Hardware. Mainboard (Motherboard) Instructor Özgür ZEYDAN

Price/performance Modern Memory Hierarchy

1 PERSONAL COMPUTERS

Computer Systems Structure Input/Output

Introducción. Diseño de sistemas digitales.1

The Motherboard Chapter #5

Algorithms and Methods for Distributed Storage Networks 3. Solid State Disks Christian Schindelhauer

An Overview of Flash Storage for Databases

Slide Set 8. for ENCM 369 Winter 2015 Lecture Section 01. Steve Norman, PhD, PEng

NAND Flash FAQ. Eureka Technology. apn5_87. NAND Flash FAQ

MICROPROCESSOR AND MICROCOMPUTER BASICS

Chapter 10 Advanced CMOS Circuits

lesson 1 An Overview of the Computer System

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored?

RAM & ROM Based Digital Design. ECE 152A Winter 2012

Computer Hardware Submitted in partial fulfillment of the requirement for the award of degree Of MCA

Chapter Introduction. Storage and Other I/O Topics. p. 570( 頁 585) Fig I/O devices can be characterized by. I/O bus connections

Management Challenge. Managing Hardware Assets. Central Processing Unit. What is a Computer System?

Technical Product Specifications Dell Dimension 2400 Created by: Scott Puckett

September 25, Maya Gokhale Georgia Institute of Technology

CSCA0201 FUNDAMENTALS OF COMPUTING. Chapter 5 Storage Devices

BIOS and CMOS. Overview. The Function of BIOS. The Bus

How PCI Express Works (by Tracy V. Wilson)

Introduction To Computers: Hardware and Software

Primary Memory. Input Units CPU (Central Processing Unit)

Microprocessor or Microcontroller?

Computer Basics: Chapters 1 & 2

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory

Main Memory & Backing Store. Main memory backing storage devices

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

Big Picture. IC220 Set #11: Storage and I/O I/O. Outline. Important but neglected

Input/output (I/O) I/O devices. Performance aspects. CS/COE1541: Intro. to Computer Architecture. Input/output subsystem.

Programming Logic controllers

Emerging storage and HPC technologies to accelerate big data analytics Jerome Gaysse JG Consulting

Designing VM2 Application Boards

EUCIP IT Administrator - Module 1 PC Hardware Syllabus Version 3.0

Computer Components Study Guide. The Case or System Box

(Refer Slide Time: 02:39)

CPS104 Computer Organization and Programming Lecture 18: Input-Output. Robert Wagner

Chapter 2: Computer-System Structures. Computer System Operation Storage Structure Storage Hierarchy Hardware Protection General System Architecture

CHAPTER 6: Computer System Organisation 1. The Computer System's Primary Functions

Here is a diagram of a simple computer system: (this diagram will be the one needed for exams) CPU. cache

Caching Mechanisms for Mobile and IOT Devices

HP Z Turbo Drive PCIe SSD

Here are my slides from lecture, along with my notes about each slide.

OBJECTIVE ANALYSIS WHITE PAPER MATCH FLASH. TO THE PROCESSOR Why Multithreading Requires Parallelized Flash ATCHING

Generations of the computer. processors.

Like millions of other computer users, you have probably used your

TEST CHAPTERS 1 & 2 OPERATING SYSTEMS

NAND Basics Understanding the Technology Behind Your SSD

Memory. The memory types currently in common usage are:

Lecture 9: Memory and Storage Technologies

Introduction to Microprocessors

Chapter 5 :: Memory and Logic Arrays

Fastboot Techniques for x86 Architectures. Marcus Bortel Field Application Engineer QNX Software Systems

Advanced Computer Architecture-CS501. Computer Systems Design and Architecture 2.1, 2.2, 3.2

Computer Organization and Architecture. Characteristics of Memory Systems. Chapter 4 Cache Memory. Location CPU Registers and control unit memory

Chapter 8 Memory Units

Candidates should be able to: (i) describe the purpose of RAM in a computer system

Accelerating I/O- Intensive Applications in IT Infrastructure with Innodisk FlexiArray Flash Appliance. Alex Ho, Product Manager Innodisk Corporation

Handout 17. by Dr Sheikh Sharif Iqbal. Memory Unit and Read Only Memories

Gates & Boolean Algebra. Boolean Operators. Combinational Logic. Introduction

K Hinds Page No. 1. Lecture 3 ASCII

Choosing a Computer for Running SLX, P3D, and P5

Random Access Memory (RAM) Types of RAM. RAM Random Access Memory Jamie Tees SDRAM. Micro-DIMM SO-DIMM

Homework # 2. Solutions. 4.1 What are the differences among sequential access, direct access, and random access?

Flash s Role in Big Data, Past Present, and Future OBJECTIVE ANALYSIS. Jim Handy

Transcription:

Computer Fundamentals Modern Computer Components Dr Robert Harle

Today's Topics CPUs in more detail Motherboards, buses, peripherals Memory hierarchy (S)RAM cells Spinning HDDs Flash and SSDs Graphics Cards and GPUs RISC and CISC architectures

Our Simple Model So Far 2 CPU Memory 1 Program & Data

More on the CPU CPU IB Registers MAU PC 1 X Y Z ALU These units are the really clever bits. But how do they work?

Logic All these units ultimately do is to provide logic operators NOT, AND, NAND, OR, etc. Input/outputs are voltages Notionally logic '1' is some voltage logic '0' something else

Switches! The trick is to fashion these gates out of switches and basic electronics E.g. NOT gate: R V In 0 Out

MOSFETs Of course, it can't be a push switch We use MOSFETs (Metal-Oxide-SemiConductor Field-Effect-Transistor) nmos pmos S G Switch G Switch G 1 Closed 1 Open D 0 Open 0 Closed Gate Source N Ctrl Oxide P N Drain P Ctrl Oxide N P

Switches! NOT can be done trivially with an nmos R V In 0 Out

Switches! NOT can be done trivially with an nmos R V In But when the transistor is 'closed', a current flows through the resistor. So it works but is a very power hungry approach 0 Out

CMOS Today's computers use CMOS (Complementary-MOS) i.e. combinations of nmos and pmos E.g. V In Out 0

Transistor Counts

Transistor Size

Communications A useful computer needs peripherals Input (mouse, keyboard, etc) Output (printer, display) Network adapter, etc Peripherals connect to buses in order to communicate with the core system A bus is just a set of wires that can be used by multiple peripherals. Flash drive Printer Mouse Keyboard

Bus from Power Busbar

Typical Desktop Architecture USB

The Motherboard An evolution of the circuitry between the CPU and memory to include general purpose buses (and later to integrate some peripherals directly) Internal Buses ISA, PCI, PCIe, SATA, AGP External buses USB,Firewire, esata, PC card

Typical Memories System Cache Registers CPU Cache Main Memory

Caches Put frequently-accessed data in a fast cache to speed things up Query Retrieve Cache Cache hit: it's in the cache (fast)

Caches Put frequently-accessed data in a fast cache to speed things up Query Cache Retrieve Main Memory Cache miss: get from memory (slower)

Cache the Cache! L1 L2 L3 Main Memory

Memory Hierarchy (Typical) Speed Size SRAM Registers CPU cache System cache CPU DRAM Main memory Motherboard Flash Magnetic SD cards, SSDs... Hard discs, tapes Peripherals

Typical Memory Capacities Typical Sizes (MB LOG SCALE!) 10000000 1000000 100000 10000 1000 100 10 1 Registers Cache RAM SSD HDD

Register Size Limits Memory IB PC X Y Z Registers 2 63 CPU MAU ALU Each slot in memory has a unique address The address must fit inside a register 32 bits 2 32 slots 2 32 bytes 4 GB (64 bits 18 quintillion bytes ~ 10 19 bytes)

Register Size Limits Memory IB PC X Y Z Registers 2 63 CPU MAU ALU Each slot in memory has a unique address The address must fit inside a register 32 bits 2 32 slots 2 32 bytes 4 GB

Register Sizes Registers are fixed size, super-fast on-chip memory usually made from SRAM. When we build the CPU we have to decide how big to make them Bigger registers Allow the CPU to do more per cycle Mean we can have more main RAM (longer addresses can be supported) Too big and we might never use the whole length (waste of electronics) Smaller registers Less electronics (smaller, cooler CPUs) Too small and it takes more cycles to complete simple operations

Random Access Memory (DRAM) Capacitor + transistor = memory cell Capacitor charged 1, discharged 0 Matrix of cells transistors allow us to 'activate' cells Hence we can randomly jump around in the data (random access) Memory cell (transistor +capacitor) This is Dynamic RAM (DRAM), cheap and simple BUT: capacitors leak charge over time, so a 1 becomes a 0. Therefore we must refresh the capacitor regularly and this slows everything down plus it drains power...

Static RAM (SRAM) We can avoid the need to refresh by using Static RAM (SRAM) cells. These use more electronics (typically 6 transistors per cell) to effectively self-refresh. SRAM Memory Cell This is 8-16x faster than DRAM But each cell costs more and takes more space so it's also about 8-16x more costly! And both DRAM and SRAM are volatile (lose power = lose data)

Magnetic Media (Hard Discs) Lots of tiny magnetic patches on a series of spinning discs Similar to an old cassette tape only more advanced Read and write heads move above each disc, reading or writing data as it goes by Remarkable pieces of engineering that can store terabytes (TB, 1,000,000MB) or more. Cheap mass storage Non-volatile (the data's still there when you next turn it on) But much slower than RAM ( SAM)

Flash and SSDs Toshiba came up with Flash memory in the 1980s as a non-volatile storage without moving parts

Flash and SSDs Toshiba came up with Flash memory in the 1980s as a non-volatile storage without moving parts Floating gate MOSFET Ctrl Oxide N Oxide P N

Graphics Cards Started life as simple Digital to Analogue Convertors (DACs) that took in a digital signal and spat out a voltage that could be used for a cathode ray screen Have become powerful computing devices of their own, transforming the input signal to provide fast, rich graphics. Todays GCs are based around GPUs with lots of tiny processors (cores) sharing some memory. The notion is one of SIMD Single Instruction Multiple Data Every instruction is copied to each core, which applies it to a different (set of) pixel(s) Thus we get parallel computation fast Very useful for scientific computing CPUs better for serial tasks

GPUs and SIMD So called vector processing: apply one instruction to a vector of data Add 5 4 2 3 1 4 ALU 1 ALU 2 ALU 3 ALU 4 ALU 5 9 7 8 6 9

RISC The simplest way to create a CPU is to have a small number of simple instructions that allow you to do very small unit tasks E.g. load a value to a register, add two registers If you want more complicated things to happen (e.g. multiplication) you use just use multiple instructions This is a RISC approach (Reduced Instruction Set architecture) and we see it in the ARM CPUs

CISC Actually, two problems emerged People were coding at a low level and got sick of having to repeatedly write multiple lines for common tasks Programs were large with all the tiny instructions. But memory was limited... Obvious soln: add composite instructions to the CPU that carry out multiple RISC instructions for us This is a CISC (Complex Instruction Set architecture) and we see it in the Intel chips Instructions can even be variable length

RISC vs CISC RISC Every instruction takes one cycle Smaller, simpler CPUs Lower power consumption Fixed length instructions CISC Multiple cycles per instruction Smaller programs Hotter, complex CPUs Variable length instructions

RISC vs CISC CISC has traditionally dominated (for backwards compatibility and political reasons) e.g. Intel PCs RISC was the route taken by Acorn, and resulted in the ARM processors e.g. smartphones