MODULE 5: Introduction to Memory system

Slides:



Advertisements
Similar presentations
Storage Devices.
Advertisements

C SINGH, JUNE 7-8, 2010IWW 2010, ISATANBUL, TURKEY Advanced Computers Architecture, UNIT 2 Advanced Computers Architecture UNIT 2 CACHE MEOMORY Lecture7.
Chapter 6 Computer Architecture
Computer Organization and Architecture
What is memory? Memory is used to store information within a computer, either programs or data. Programs and data cannot be used directly from a disk or.
Memory Hierarchy. Smaller and faster, (per byte) storage devices Larger, slower, and cheaper (per byte) storage devices.
Characteristics of Computer Memory
Characteristics Location Capacity Unit of transfer Access method Performance Physical type Physical characteristics Organisation.
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
Overview Booth’s Algorithm revisited Computer Internal Memory Cache memory.
CS1104-8Memory1 CS1104: Computer Organisation Lecture 8: Memory
Computer Organization and Architecture
CH05 Internal Memory Computer Memory System Overview Semiconductor Main Memory Cache Memory Pentium II and PowerPC Cache Organizations Advanced DRAM Organization.
CSCI 4717/5717 Computer Architecture
CACHE MEMORY Cache memory, also called CPU memory, is random access memory (RAM) that a computer microprocessor can access more quickly than it can access.
Cache Memory. Characteristics Location Capacity Unit of transfer Access method Performance Physical type Physical characteristics Organisation.
TheTeacher Computing Data Storage Computing. TheTeacher Computing Primary Storage One of the fundamental properties of a computer is that it can store.
Overview of Physical Storage Media
Chidambaranathan C.M SRM University,Haryana. Memory:- As the word implies “memory” means the place where we have to store any thing, this is very essential.
Chapter 2 part 2. Computer Processing Speeds Milliseconds - thousands of a second Microseconds - millionths of a second Nanoseconds - billionths of a.
Computer Architecture Lecture 3 Cache Memory. Characteristics Location Capacity Unit of transfer Access method Performance Physical type Physical characteristics.
03-04 Cache Memory Computer Organization. Characteristics Location Capacity Unit of transfer Access method Performance Physical type Physical characteristics.
CIM101 : Introduction to computer Lecture 3 Memory.
Introduction to Computer Architecture. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers.
+ CS 325: CS Hardware and Software Organization and Architecture Memory Organization.
Copyright © 2007 – Curt Hill Primary Memory and Electronic Storage Implementations.
Computer system & Architecture
2007 Sept. 14SYSC 2001* - Fall SYSC2001-Ch4.ppt1 Chapter 4 Cache Memory 4.1 Memory system 4.2 Cache principles 4.3 Cache design 4.4 Examples.
Memory and Storage. Computer Memory Processor registers – Temporary storage locations within the CPU – Examples Instruction register – holds the instruction.
Machine Architecture CMSC 104, Section 4 Richard Chang 1.
Lecture#15. Cache Function The data that is stored within a cache might be values that have been computed earlier or duplicates of original values that.
Chapter 8: System Memory Dr Mohamed Menacer Taibah University
Excellence Publication Co. Ltd. Volume Volume 1.
Memory Characteristics Location Capacity Unit of transfer Access method Performance Physical type Physical characteristics Organisation.
A memory is just like a human brain. It is used to store data and instructions. Computer memory is the storage space in computer where data is to be processed.
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.
CH (5) Computer Organization
Characteristics Location Capacity Unit of transfer Access method Performance Physical type Physical characteristics Organisation.
Characteristics Location Capacity Unit of transfer Access method Performance Physical type Physical characteristics Organisation.
Cache Memory.
William Stallings Computer Organization and Architecture 7th Edition
Computer Organization and Architecture William Stallings 8th Edition
Module IV Memory Organization.
Chapter 6 Memory System Design
Chap. 12 Memory Organization
Cache Memory.
STORAGE – 3 TIERS Key Revision Points.
AKT211 – CAO 07 – Computer Memory
Jazan University, Jazan KSA
Presentation transcript:

MODULE 5: Introduction to Memory system

Memory Used to store information within a computer , either programs or data. Programs and data cannot be used directly from a disk or CD, but must first be moved in memory Main Memory & Cache Memory refers as internal memory because it is place at the main board. Communicates directly with CPU immediately. Secondary & tertiary memory refers as external memory (or auxiliary memory) because it is not located at the main board. Usually for back-up purpose.

Internal vs External Memory Primary Secondary Tertiary Fast Slow Directly connected to CPU Not directly connected to CPU Expensive Cheap Small volume Large volume Eg. Cache/RAM Eg: Disk Eg: Tape

Memory Locations Each part of memory has a separate memory location, which can be referred to using a memory address.

Unit Terms Size of memory is measured in bytes (or multiples such as kilobytes (KB) or megabytes (MB) Number of bits for an address to uniquely access a memory location Number of locations = 2 (no of bits in the address)

Memory Characteristics Location Capacity Unit of transfer Access method Performance Physical type Physical characteristics Organisation

Memory Location CPU Internal External

Memory Capacity Word size Number of words The natural unit of organisation Common word size: 8, 16, 32 bits. Number of words or Bytes

Memory Unit of Transfer Internal The number of bits read-out of or written into memory at a time. Usually governed by data bus width External Usually a block which is much larger than a word Addressable unit Smallest location which can be uniquely addressed Word internally

Memory Access Methods (1) Sequential Start at the beginning and read through in order Access time depends on location of data and previous location e.g. tape Direct Individual blocks have unique address Access is by jumping to vicinity plus sequential search Access time depends on location and previous location e.g. disk

Access Methods (2) Random Associative Individual addresses identify locations exactly Access time is independent of location or previous access e.g. RAM Associative Data is located by a comparison with contents of a portion of the store e.g. cache

Memory Performance Access time Memory Cycle time Transfer Rate Time between presenting the address and getting the valid data Memory Cycle time Time may be required for the memory to “recover” before next access Cycle time is access + recovery Transfer Rate Rate at which data can be moved

Memory Transfer Rate Transfer rate for random-access memory = 1/(cycle time) Transfer rate for non-random-access memory = TN = TA + N/R Where TN = average time to read or write N bits TA = average access time N = number of bits R = transfer rate, in bits per second (bps)

Memory Physical Types Semiconductor Magnetic Optical Others RAM & ROM Disk & Tape Optical CD & DVD Others Bubble Hologram

Physical Characteristics Decay Volatility Erasable Power consumption

Memory Hierarchy Memory systems (a collection of various forms of memory) are constructed in a hierarchy Why ? Rule of thumb: the faster the memory the higher the cost in terms of price, making it very expensive to make all the memory out of the fastest memory devices. Slower technologies are less expensive, making it more practical to make larger memories out of these devices Goal of a memory hierarchy to keep the data that is accessed most high up the hierarchy, so it can be accessed quickly the least used at the bottom of the hierarchy.

Memory hierarchy ..

Memory Hierarchy .. At the top - registers these are fast, but only provide a very limited and temporary storage usually part of the processor – in CPU Expensive The next level - cache memory expensive fast access time (time taken to access the data stored). The amount that can be stored (capacity) in cache is greater than is stored in the registers, but is slower The next level - main memory/internal memory Greater capacity than cache, but is slower than cache to access. RAM At the bottom of the hierarchy – secondary storage/external memory the greatest capacity, but is the slowest to access Backup/storage