Memory and stuff.. le well drawn pyramid Features Name Volatile Mutable Accessibility Description Data is lost quickly after powering down Data can be.

Slides:



Advertisements
Similar presentations
The Central Processing Unit: What Goes on Inside the Computer.
Advertisements

Computer Memory GCSE Computing.
1 Lecture 16B Memories. 2 Memories in General Computers have mostly RAM ROM (or equivalent) needed to boot ROM is in same class as Programmable Logic.
Overview Memory definitions Random Access Memory (RAM)
Computer Organization and Architecture
IT Systems Memory EN230-1 Justin Champion C208 –
1 Lecture 16B Memories. 2 Memories in General RAM - the predominant memory ROM (or equivalent) needed to boot ROM is in same class as Programmable Logic.
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.
 Prof. Dr. M. H. Assal Introduction to Computer AS 26/10/2014.
Memory and Storage - Sheetal Gosrani. Overview Memory Hierarchy RAM Memory Chip Organization ROM Flash Memory.
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.
Chapter 5 Data Storage Technology
Chapter 3 – Computer Hardware Computer Components – Hardware (cont.) Lecture 3.
The two types of storage: Primary Storage Secondary Storage
Physical Memory By Gregory Marshall. MEMORY HIERARCHY.
2. Memory. Main memory – speed & types Organization of RAM RAM – Random Access Mem Static RAM [SRAM] - In SRAM, a bit of data is stored using the state.
Memory Systems Architecture and Hierarchical Memory Systems
Memory Hierarchy.
Computing Hardware Starter.
 Memory Memory  Types of Memory Types of Memory  Memory Representation Memory Representation  Random Access Memory Random Access Memory  Read Only.
Computers in the real world Objectives Understand what is meant by memory Difference between RAM and ROM Look at how memory affects the performance of.
Computers Central Processor Unit. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS Memory.
TEJ3M Teacher: Ms. Luce Name: Alex H. Date: February 18th 2010
CS1104: Computer Organisation School of Computing National University of Singapore.
Lecture 19 Today’s topics Types of memory Memory hierarchy.
TheTeacher Computing Data Storage Computing. TheTeacher Computing Primary Storage One of the fundamental properties of a computer is that it can store.
Inside your computer. Hardware Review Motherboard Processor / CPU Bus Bios chip Memory Hard drive Video Card Sound Card Monitor/printer Ports.
Inside your computer. Hardware Motherboard Processor / CPU Bus Bios chip Memory Hard drive Video Card Sound Card Monitor/printer Ports.
3 Computing System Fundamentals
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.
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.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Chapter 2: Memory.
CIM101 : Introduction to computer Lecture 3 Memory.
+ CS 325: CS Hardware and Software Organization and Architecture Memory Organization.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
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.
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)
Allow computers to store programs and information for use at a later date Storage Devices.
© GCSE Computing Computing Hardware Starter. Creating a spreadsheet to demonstrate the size of memory. 1 byte = 1 character or about 1 pixel of information.
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.
Memory 2. Activity 1 Research / Revise what cache memory is. 5 minutes.
Jeffrey Ellak CS 147. Topics What is memory hierarchy? What are the different types of memory? What is in charge of accessing memory?
A Dummies Guide to computer memory. Differences between ROM and RAM ROMRAM Non volatileVolatile Used to boot up the computerUsed when the computer is.
Lecture 2 (Memory) Dr. Muhammad Ayaz Computer Organization and Assembly Language. (CSC-210)
MEMORY DEVICES. INTRODUCTION Memory is the most essential part of a computer. Without memory there would be no computer, as we know it today. It is used.
Introduction Today, computers are becoming more and more powerful, and the need for a larger amount of memory is needed for these juggernauts of the digital.
Computer Storage. What is Primary Storage? ● Primary storage is computer memory that is directly accessible to the CPU of a computer without the use of.
CACHE _View 9/30/ Memory Hierarchy To take advantage of locality principle, computer memory implemented as a memory hierarchy: multiple levels.
Components of Computer. Memory Unit Most important part of the computer Used to store data and instructions that are currently in use Main memory consists.
Computer System Structures Storage
A Dummies guide to computer memory
Memory Miss Elliott.
Activity 1 6 minutes Research Activity: What is RAM? What is ROM?
Memory Key Revision Points.
COMPUTER ORGANISATION AND ARCHITECTURE
Lesson Objectives Aims You should be able to:
14/11/2018 RAM and ROM.
Kinds of memory in human and machine
Motherboard External Hard disk USB 1 DVD Drive RAM CPU (Main Memory)
MICROPROCESSOR MEMORY ORGANIZATION
2.C Memory GCSE Computing Langley Park School for Boys.
Hardware Main memory 26/04/2019.
Lecture 2 (Memory) Computer Organization and Assembly Language. (CSC-210) Dr. Mohammad Ammad uddin.
Memory Principles.
Computer Memory.
Presentation transcript:

Memory and stuff.

le well drawn pyramid

Features Name Volatile Mutable Accessibility Description Data is lost quickly after powering down Data can be overwritten CPU can directly access data in memory

Cache Memory - features Top level of memory Is volatile Mutable Accessible

Cache Memory - description Copies data from other places Commonly has two levels. – The first level (L1 cache) is directly ‘in’ the CPU Smallest size (2-64kB) Fastest speed (lowest distance to CPU) – L2 cache was formerly near the CPU on the motherboard Relatively larger than L1 Pretty fast too!

Cache Memory - purpose When the CPU reaches for data, it first looks in the cache. If it finds what it wants, it’s called a ‘cache hit’ Else, it will reach to the other levels of memory, and this is a ‘cache miss’ Roughly 95% cache hits [citation needed]

Cache Memory - analogy Librarian (CPU) looks for things from book storage room Cache is like a pouch storing most commonly borrowed books, saving the time needed to – Walk to room and back (data transfer round trip) – Search for the book in the room Instead, Librarian first searches inside pouch containing 5 books – Smaller volume => easier to search – Virtually 0 distance

Cache Memory (tl;dr) Top level Volatile, mutable, directly accessible Small, fast Stores copies of most commonly used data

Primary Storage - features Next level after cache. Most common example is RAM (random access memory) Is volatile Mutable Accessible through memory bus

Primary Storage - description DRAM (dynamic) – Data is stored in capacitors that act as bits Charged = 1, no charge =0 – Capacitors leak over time => data leaks over time too – Data has to be periodically rewritten into DRAM ‘refresh cycle’ – Most common form (cheapest)

Primary Storage - description SRAM (static) – Uses 4-6 transistors/bit than DRAM DRAM uses 1 transistor + 1 capacitor/bit Thus, costs more to make – Because of how it works, data is remanent (‘stays’) But it is still volatile (when it loses power, data eventually vanishes) – Significantly less powerhungry No need for data refresh As little as a few microwattsH in idle state

Secondary storage - features Non-volatile – Stored on tape/metallic discs – Read/write with magnetic heads (think turntable) May be mutable or not Not directly accessible – Uses either primary (RAM) or I/O channels

Secondary storage - purpose Storing data permanently Completely mutable (hard disk drive) – This type is mutable; stored on disk but can be rewritten Partially mutable (flash memory) – Electronically rewritable – Used by USBs, cameras, PDAs, phones… Completely unmutable (ROM) – Used to store information permanently (CDs, for example)

Secondary storage - purpose Difference in mutability, from HDD to ROM Speed goes up – Flash memory is about as fast as DRAM – pure ROM is as fast as SRAM Portability goes up

Secondary storage - BIOS The computer boots up through this BIOS is ROM that primary memory reads from Primary memory passes this info to CPU

Virtual Memory Virtualization of different types of storage – Creates a virtual version of memory The OS (and other programs) treat the computer as if there is only one type of memory – “Virtual” memory Space is borrowed from secondary storage, speed from primary storage

Virtual Memory “Page file” is a block of memory – Its size is the size of space borrowed from secondary storage Thrashing occurs when you use up your virtual memory, and the computer repeatedly swaps between virtual and actual memory