Programming for GCSE Topic 5.1: Memory and Storage T eaching L ondon C omputing William Marsh School of Electronic Engineering and Computer Science Queen.

Slides:



Advertisements
Similar presentations
Components of a computer system
Advertisements

IT253: Computer Organization
Session Objectives#3 COULD explain the role memory plays in computer processing SHOULD describe the purpose of a CPU and its individual components MUST.
Memory Basics. 8-1 Memory definitions Memory is a collection of cells capable of storing binary information. Two types of memory: –Random-Access Memory.
Parts & Functions of a Computer. 2 Functions of a Computer.
Chapter 5 Computing Components. The (META) BIG IDEA Cool, idea but maybe too big DATA – Must be stored somewhere in a storage device PROCESSING – Data.
1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006.
Characteristics of Computer Memory
Chapter 4 The Components of the System Unit
1 CS222: Principles of Database Management Fall 2010 Professor Chen Li Department of Computer Science University of California, Irvine Notes 01.
Memory Key component of a computer system is its memory system to store programs and data. ITCS 3181 Logic and Computer Systems 2014 B. Wilkinson Slides12.ppt.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 1 Introducing Hardware.
MODULE 5: Introduction to Memory system
Computer Hardware In this lecture, we will study:
Data Storage Technology
Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.
COMPUTER MEMORY Modern computers use semiconductor memory It is made up of thousands of circuits (paths) for electrical currents on a single silicon chip.
Characteristics of Computer Memory
 Prof. Dr. M. H. Assal Introduction to Computer AS 26/10/2014.
Memory. When we receive some instruction or information we retain them in our memory. Similarly a computer stores the instructions for solving a problem,
Instructions Slides 3,4,5 are general questions that you should be able to answer. Use slides 6-27 to answer the questions. Write your answers in a separate.
Introduction to Database Systems 1 The Storage Hierarchy and Magnetic Disks Storage Technology: Topic 1.
Chapter 3 – Computer Hardware Computer Components – Hardware (cont.) Lecture 3.
Storage.
Computer Systems 1 Fundamentals of Computing
Lecture on Electronic Memories. What Is Electronic Memory? Electronic device that stores digital information Types –Volatile v. non-volatile –Static v.
C.S. Choy95 COMPUTER ORGANIZATION Logic Design Skill to design digital components JAVA Language Skill to program a computer Computer Organization Skill.
Computing Hardware Starter.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Operating Systems Overview: Using Hardware.
Mr C Johnston ICT Teacher BTEC IT Unit 02 - Lesson 03 Inside Computers #2 – Drives, Connectors and Internal Memory.
Understanding Computers, Ch.31 Chapter 3 The System Unit: Processing and Memory.
 Design model for a computer  Named after John von Neuman  Instructions that tell the computer what to do are stored in memory  Stored program Memory.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 1 Introducing Hardware.
Storing Data: Electronic Filing Cabinets What You Will Learn Difference between memory and storage How storage media are categorized Measuring a storage.
Chapter 111 Chapter 11: Hardware (Slides by Hector Garcia-Molina,
OCR GCSE Computing Chapter 2: Secondary Storage. Chapter 2: Secondary storage Computers are able to process input data and output the results of that.
The Computer Systems. Computer System CPU Is the brain of the PC. All program instructions are run through the CPU Control Unit This decodes and executes.
Computing and the Web Computer Hardware Components.
TheTeacher Computing Data Storage Computing. TheTeacher Computing Primary Storage One of the fundamental properties of a computer is that it can store.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Chapter 2: Memory.
CIM101 : Introduction to computer Lecture 3 Memory.
Section one revision:1. Computer Systems To be able to Identify and describe computer systems To demonstrate an understanding of the Central Processing.
Secondary Memory, Peripherals and Input /Output Lecture 6.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Chapter 2: Secondary Storage.
Memory and Storage. Computer Memory Processor registers – Temporary storage locations within the CPU – Examples Instruction register – holds the instruction.
1 Course Title: IT IN BUSINESS Course Instructor: ADEEL ANJUM Chapter No: 04 1 BY ADEEL ANJUM (MCS, CCNA,WEB DEVELOPER)
Lesson 3 0x Hardware Components
Computer Hardware. Lally School of M&T- Microcomputing and Info Systems Lecture Topics 1. Data Representation 2. Data Metrics 3. Central processing Unit.
Unit 2 - Hardware Data Storage. How is data stored? ● Data is stored as a combination of 0’s and 1’s (bits). We will learn more about this later! ● Bits.
© GCSE Computing Computing Hardware Starter. Creating a spreadsheet to demonstrate the size of memory. 1 byte = 1 character or about 1 pixel of information.
CS 101 – Sept. 28 Main vs. secondary memory Examples of secondary storage –Disk (direct access) Various types Disk geometry –Flash memory (random access)
Session 4 Teaching Computing to GCSE Level with Python.
A-Level Computing#BristolMet Session Objectives#3 MUST identify components of a CPU SHOULD describe the purpose of a CPU and its individual components.
1 Computer Memory System Overview. Objectives  Discuss the overview of the memory elements of a computer  Describe the characteristics of the computer.
Memory The term memory is referred to computer’s main memory, or RAM (Random Access Memory). RAM is the location where data and programs are stored (temporarily),
Main Memory Main memory – –a collection of storage locations, –each with a unique identifier called the address. Word- –Data are transferred to and from.
COMPUTER COMPONENTS Ms Jennifer Computer Components.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 1 Looking Inside the Computer System.
Computer System Structures Storage
TYPES OF MEMORY.
Mr C Johnston ICT Teacher
Primary Storage and Secondary Storage Devices Chapter 3
Virtual Memory Main memory can act as a cache for the secondary storage (disk) Advantages: illusion of having more physical memory program relocation protection.
Module IV Memory Organization.
GCSE OCR 4 Storage Computer Science J276 Unit 1
2.C Memory GCSE Computing Langley Park School for Boys.
Presentation transcript:

Programming for GCSE Topic 5.1: Memory and Storage T eaching L ondon C omputing William Marsh School of Electronic Engineering and Computer Science Queen Mary University of London

Outline Types of memory Characteristics Why multiples types? Latency versus Bandwidth

Teaching Issue Why multiple types of memory? Multiple reasons Easy: volatile v non-volatile Easy: capacity (& cost) Harder: performance characteristics

From the specification OCR GCSE Computing Explain how common characteristics of CPUs such as clock speed, cache size and number of cores affect their performance. AQA GCSE Computer Science Understand how different components link to a processor (ROM, RAM, I/O, Storage, etc) Be able to explain the effect of common CPU characteristics on the performance of the processor. These should include clock speed, number of cores and cache size/types AQA GCSE Computer Science Understand how different components link to a processor (ROM, RAM, I/O, Storage, etc) Be able to explain the effect of common CPU characteristics on the performance of the processor. These should include clock speed, number of cores and cache size/types AQA GCSE Computer Science Be able to categorise devices as input or output depending on their function AQA GCSE Computer Science Be able to categorise devices as input or output depending on their function

T YPES OF M EMORY

Semiconductor RAM Volatile Dynamic or static ROM Non-volatile Maybe eraseable Flash Non-volatile Limited life What is ROM used for?

Disk Capacity: GBytes RPM: how fast it spins (RPM) Size (diameter – in): how big? Interface: will it work in my PC? Buffer size (it's a cache): MBytes Bandwidth (peak, sustained): MByte/second Performance: next presentation

Optical and Tape Tape Magnetic Re-writeable Serial access CD-ROM DVD Distribution Backup Read-only or read/write

Trends Tape is on the way out Capacity no longer exceeds disk Price / byte no longer less than disk Disk being replaced by Flash Flash only devices: e.g. iPad, RPi, most phones Solid state – 'faster'

Storage Over a Network Shared storage Local network – e.g. around office Internet – e.g. dropbox Bandwidth: network must be ~ as fast as disk Not too far away

Computer Bus & Motherboard Communication pathway connecting devices Address: which device Control: whose turn? Standards for inter-operability e.g. USB, PCI

S TORAGE C HARACTERISTICS & P ERFORMANCE How does a cache work? Latency versus bandwidth

Storage Characteristics Capacity – Bytes Cost per byte (disk is cheapest) Volatile / non-volatile (permanent) RAM is volatile Access Random – anywhere (RAM) Sequential – only in sequence (tape) Block – hard disk Speed – latency and/or bandwidth

Memory Hierarchy Trade-off cost, capacity and speed

Latency versus Bandwidth Wait for the bus versus how quickly it goes Bandwidth: Bytes per second Can be increased Latency: seconds Speed of light (c) – 3 x 10 8 m/s Fibre-optic / electrical signals go at ~1/2-1/3 c DistanceTimeExample 30cm1ns1 tick of the CPU clock 30m-300m100ns-1 μs Distance to school file server 6000Km20msDistance to USA 30,000Km100msDistance to a geostationary satellite

How Does a Disk Work? Disk spins e.g. 100 times/sec (6000rpm) Reading head moves Track: ring around the disk surface

Disk and Memory Latency Latency of the disk 1 rotation every 10ms (100x a second) Average wait 5ms (= 5,000,000 cpu instructions) … also arm movement Memory TypeDelay (CPU cycles) RAM10 or more SSD (Flash)1,000s Disk1,000,0000s

What's a Cache? Small fast memory Copy of part of a larger slower memory CPUCache Main Memory chip Block transfer Word transfer Can keep up with CPU 10-20x slower than CPU

Lots of Caches in a Computer Main memory cache Hierarchy: L1 (small & fast), L2, L3 (larger & less fast) Disk cache RAM in the disk drive File buffer Read block of file into memory Buffer writes too

Summary Multiple forms of storage Characteristics Capacity and cost Volatile / permanent Access IO: standardised buses Performance Bandwidth – rate of data Latency – delay for data Caches reduce (effective) latency