Chapter 3 Data Storage. Media Storage Main memory (Electronic Memory): Stores data currently being used Is made of semiconductor chips. Secondary Memory.

Slides:



Advertisements
Similar presentations
01/04/2014IS50004A1 Chapter 3 Data Storage. 01/04/2014 IS50004A 2 Learning outcomes By the end of this Chapter you will know the difference between Electronic.
Advertisements

10/5: Data storage concepts What is data storage? Types of storage –magnetic, optical, magneto-optical, solid state Storage characteristics Magnetic storage:
Lesson 9 Types of Storage Devices.
Types Of Storage Device
Section 5a Types of Storage Devices.
Chapter4: Memory External Memory.
Faculty of Information Technology Department of Computer Science Computer Organization and Assembly Language Chapter 6 External Memory.
Computer Hardware – Storage Systems.  Storage holds data, instructions, and information for future use  Consists of two parts Storage Device Storage.
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.
What Is A Computer System?
Data Storage Lecture 3 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
Computer Organization and Architecture External Memory.
1 Chapter 5 Data Storage Technology. 2 Systems Architecture Chapter 5 Chapter Goals Describe the distinguishing characteristics of primary and secondary.
Chapter 5 Computing Components. 2 Chapter Goals Read an ad for a computer and understand the jargon List the components and their function in a von Neumann.
Data Storage Technology
Chapter 5 Data Storage Technology 2005 IS112. Chapter goals Describe the distinguishing characteristics of primary and secondary storage Describe the.
Storage Devices and Media
TEE COURSE GRADE 10 MODULE 7 - PC HARDWARE Memory and Storage Devices
Storage device.
Computer SCIENCE Data Representation and Machine Concepts Section 1.3
PROCESSORBacking Storage Main Memory Output Devices Input Devices Backing Storage.
Peripherals and Storage Looking at: Scanners Printers Why do we need storage devices anyway? What are magnetic disks? How do magnetic disks physically.
Storage.
Information Technology Storage Devices Prof. Adnan Khalid.
Lecture on Electronic Memories. What Is Electronic Memory? Electronic device that stores digital information Types –Volatile v. non-volatile –Static v.
L/O/G/O External Memory Chapter 3 (C) CS.216 Computer Architecture and Organization.
Secondary Storage Chapter 7.
Computing Hardware Starter.
 Memory Memory  Types of Memory Types of Memory  Memory Representation Memory Representation  Random Access Memory Random Access Memory  Read Only.
Chapter 2: CPU &Data Storage. CPU Each computer has at least one CPU Each computer has at least one CPU CPU execute instructions to carry out tasks –
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
CHAPTER 5. Next Exit Main Memory and Backing Storage Devices... Main Memory and Backing Storage Devices... Main memory temporarily stores programs and.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
GCSE Information Technology Storing data Data storage devices can be divided into 2 main categories: Backing storage is used to store programs and data.
AS Computing Storage devices. Primary storage  A computer’s main memory (RAM) is known as primary memory.  Primary memory is volatile; when the computer.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
STORAGE DEVICES Presentation By: Saurabh Mishra. A data storage device is a device for recording (storing) information (data). CD, Hard Disk and Flash.
TheTeacher Computing Data Storage Computing. TheTeacher Computing Primary Storage One of the fundamental properties of a computer is that it can store.
1 Introduction to Computers By Masseta ICT Dept. Mzumbe University.
2.1 Operating System Concepts Chapter 2: Computer-System Structures Computer System Operation Storage Structure Storage Hierarchy Hardware Protection General.
+ CS 325: CS Hardware and Software Organization and Architecture Memory Organization.
Storage Hardware Devices Presented by Hector Arreola Valentin Kifumbi Keely Ritchie-Boland.
CSCI-100 Introduction to Computing Hardware Part I.
Memory and Storage. Computer Memory Processor registers – Temporary storage locations within the CPU – Examples Instruction register – holds the instruction.
Storage of Data Instructions and data are held in main memory which is divided into millions of addressable storage.
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
20 October 2015Birkbeck College, U. London1 Introduction to Computer Systems Lecturer: Steve Maybank Department of Computer Science and Information Systems.
By : Reem Hasayen. A storage device is a hardware device capable of storing information. There are two types of storage devices used in computers 1. Primary.
CS 101 – Sept. 28 Main vs. secondary memory Examples of secondary storage –Disk (direct access) Various types Disk geometry –Flash memory (random access)
STORAGE DEVICES Introduction Comparision Storage Hierarchy Slide 1.
Chapter4: Memory External Memory (2).
Storage Devices.
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),
CPSC 231 Secondary storage (D.H.)1 Learning Objectives Understanding disk organization. Sectors, clusters and extents. Fragmentation. Disk access time.
STORAGE DEVICES Storage devices are categorized by the method they use to store files.
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 Hardware – Storage Systems.  Storage holds data, instructions, and information for future use  Consists of two parts Storage Device Storage.
Engr: Sajida Introduction to computing Optical storage The storage devices which use laser to read data from or write data to the reflective surface store.
Chapter 5 Computer Organization ( 計算機組織 ). Distinguish between the three components of a computer hardware. List the functionality of each component.
Reference: Chp 6 Introduction to Computers by Peter Norton
Chapter 2: Computer-System Structures
Backing Store.
Chapter 7.
Secondary Storage Devices
GCSE OCR 4 Storage Computer Science J276 Unit 1
2.C Memory GCSE Computing Langley Park School for Boys.
Chapter 3 Data Storage 22/02/2019 CIS110.
Lesson 9 Types of Storage Devices.
Technology 4 Storage.
Presentation transcript:

Chapter 3 Data Storage

Media Storage Main memory (Electronic Memory): Stores data currently being used Is made of semiconductor chips. Secondary Memory magnetic (floppy discs, hard disc ) Optical (CD-ROM, DVD)

Main Memory Large collection of circuits, each capable of storing a single bit Arranged in small cells, typically of 8 bits each (a.k.a.: byte)

Arrangement of Memory Cells value = Each cell has a unique address Longer strings stored by using consecutive cells RAM (random access memory)

Memory cells In reality, most electronic memories have 8-bit cells. m cells n-bit cells Can hold m*n bits

Accessing Data in the Main Memory Instructions and data are stored in the main memory in a serial order. CPU executes instructions one by one top down. An instruction may tell the CPU to jump to particular cell and execute the instruction held in it, or fetch the data stored is that cell. How is this done?

System Bus Main memory and CPU are linked using a set of wire: Three wires: address lines, data lines and control lines. Known as address bus, data bus and control bus. System bus

CPU Main memory Add. bus Data bus Control bus To identify each memory cell To read data from each cell To issue read or write signal

Address Bus CPU Main memory Address bus Address Of the cell To activated Address Of the cell To activated

Binary Address Representation Each cell has a unique address. I.e. using 4 digit binary representation we have: 0000 cell cell cell cell 3 How many bits are needed to represent an address?

Address Decoder CPU Main memory Address bus Address Of the cell To activated Unique cell Has a unique Address. Decoder

A Simple Address Decoder Q0 00 C0 Q1 01 C1 Q2 10 C2 Q3 11 C3 A1 A0 2 ad-lines 4 address cells Decoder is a device between the Main Memory and the address lines.

Decoder with N Address Lines Main Memory 0000… … … …1111 a0a0 a1a1 AN-1 N add. lines 2 N add cell

Multiplexer Cells form rows and columns. Each cell can be identified by a row address and column address. Each cells address uses only N/2 address lines. This can be done using a multiplixed addresses.

Decoder with 4 Address Lines (non-multiplexed addresses)

Decoder with 2 Address Lines (multiplexed addresses)

Two-Input Multiplexer A multiplexer is an electronic device that allows multiple logical signals to be transmitted simultaneously across a single physical channel (address line).

Choose the correct answer A computer’s main memory is linked to a decoder with 8 address lines. The maximum number of address that can be generated is (a) 2 8 (b) 8 2 (c) 2 16

Example 1 Suppose computer’s Main Memory is linked to a decoder with 8 address lines. 1. Can 1000 memory cells be used? 2. If no what is the maximum number of addresses that can generated?

Answer Suppose computer’s Main Memory is linked to a decoder with 8 address lines. 1. Can 1000 memory cells be used? 2. If no what is the maximum number of addresses that can generated? Answer: 1. NO 2. With 8 address lines, the maximum number of addresses is 2 8 =256

Example 2 Suppose that a computer’s Main Memory has 1013 cells. How many address lines are needed in order for all the cells to be useable? Explain your answer.

Answer Suppose that a computer’s Main Memory has 1013 cells. How many address lines are needed in order for all the cells to be useable? Explain your answer. Answer: With N address lines a computer can have a maximum 2 N usable cells. 2 9 = 512, 2 10 = address lines would not generate enough addresses for 1013 cells to be used. 10 address lines would. Having more than 10 address lines would lead to too many addresses wasted. So the desired number of address lines is 10. N = ⌈ log2(1050) ⌉ can be used to find the number of address lines. If multiplexed addresses is used, then 5 address lines would be sufficient for 1013 cells to be useable.

Address Space The address space of a computer is the maximum number of cells a computer can hold. The address space is determined by the number of address lines used in a computer. If each cell in a memory is 8-bit, then the memory is called byte addressable: 1 byte long has a unique address

Features of the Main Memory Memory Capacity. Access of information Access time Transfer rate

Memory Capacity Most computer’s memory have 8-bit (1-byte) cells. In this case we have: 32KB, 256MB and 20GB are used to describe the memory capacity. Address lines N o of cells Capacity N2^N2^N * 1

Capacity Units 1kB = 2 10 = 1024 Byte. 1MB =1024 KB = 2 20 Bytes= 1, 048,576 B. 1GB =1024 MB = 2 30 kB=1, 073,741,824 Bytes.

Access Time Access time is taken between the moment when the CPU wants the read/write from/into a cell and the moment when the cell is activated. It is the moment that the CPU takes to activate a cell. 60ns (10 -9 sec)

Transfer Rate Is the amount of information per second exchanged between the CPU and main memory. Main memory electronic signals Implies fast transfer rate in the scale about 100MB/sec

Random Access If the CPU wants to activate particular cell. It does not search for the target cell from top to bottom. It does put the address of the target cell in the address line, then the cell will be activated. This type of accessing information is called Random Access

The need for other type of memories. Main memory Fast as all the exchange between CPU and Main memory is done electronically. However, it is volatile. Information lost when the machine is turned off. The need for non-volatile memory: Hold information when the machine is off. i.e. Magnetic disk, optical disk, magnetic tape

A Magnetic Disk Storage System Each track contains same number of sectors Location of tracks and sectors not permanent (formatting) Examples: hard disks, floppy disks,...

Magnetic Disk Terminology Platter: rigid metal or glass platter Coated with magnetic material. rotating at constant angular velocity Arm: With movable magnetic read/write heads Track: A complete ring of data The disk surface is divided into tracks Sectors: Each track is subdivided into sectors Cylinder (see slides 71-72): A vertical collection of tracks at the same radial position

Read/write Head A coil of wire wound onto an iron former. gap. If a spot on the magnetic memory passes under the gap then an electrical current is induced in the coil. And the read/write head will know that there is a 1 stored on that spot. Otherwise it is 0. By passing an electric current on the wire we can magnetise and demagnetise spots. Coil of wire Iron former

Add. bus Data bus Control bus CPU Read and Write Mechanism (2)

Maximum data transfer rate It is the rate at which data passes under the read/write head (bytes/sec). Number of bytes / track * Number of rev / sec

Multiple Platters (2) Disk platters speed (3600 to rpm (rev/min). floppy (360rpm). The read data we need to specify cylinder, head, and sector numbers. Each cylinder represents a track number.

Cylinders

Magnetic Tape (1) Serial access Slow Very cheap High capacity Backup

Optical Storage CD-ROM Originally for audio 650 Mbytes giving over 70 minutes audio Polycarbonate coated with highly reflective coat, usually aluminium Data stored as pits Read by reflecting laser Constant packing density (data/surface= constant) More data in outer edges Less data towards the centre of the disc Constant linear velocity The drive must adjust the disc speed (495 to 212 rev/m)  edges Faster when reading data closer to the centre Slower when reading data in outer edges

Optical Storage – CD-ROM Is a disc with highly reflective surface. Tiny areas flat and depressed: Flat (land)  strong reflection. Depressed (pits)  low reflection. Laser  land  strong reflection  photo-sensor generates electrical voltage  store 1s. Laser: (light Amplification stimulated emission of radiation). Light  pits  low reflection  no electrical voltage  stores 0s.

Summary Main memory RAM Low storage capacity Fast (electrical signals) Volatile. Magnetic memory Floppy disk Hard disk Magnetic tape Optical memory CD_ROM disk DVD