Another fundamental component of the computer is the main memory.

Similar documents
Computer Organization

Computer Organization

Basic Computer Architecture

Memory Study Material

Module 5a: Introduction To Memory System (MAIN MEMORY)

Systems software. Definition. Categories of software. Examples Of Systems Software 11/23/2018

machine cycle, the CPU: (a) Fetches an instruction, (b) Decodes the instruction, (c) Executes the instruction, and (d) Stores the result.

Operating system Dr. Shroouq J.

Definition. A series of detailed instructions that control the operation of a computer system. are developed by computer programmers

Pharmacy college.. Assist.Prof. Dr. Abdullah A. Abdullah

ECE Lab 8. Logic Design for a Direct-Mapped Cache. To understand the function and design of a direct-mapped memory cache.

The personal computer system uses the following hardware device types -

Parts of Computer hardware Software

Concept of Memory. The memory of computer is broadly categories into two categories:

System Unit. By: Khadeeja Farkash

Contents. Memory System Overview Cache Memory. Internal Memory. Virtual Memory. Memory Hierarchy. Registers In CPU Internal or Main memory

HARDWARE. There are a number of factors that effect the speed of the processor. Explain how these factors affect the speed of the computer s CPU.

MEMORY BHARAT SCHOOL OF BANKING- VELLORE

Mother Board And Its Components By :- IMRAN QURESHI

ECE 341. Lecture # 16

COSC 243. Memory and Storage Systems. Lecture 10 Memory and Storage Systems. COSC 243 (Computer Architecture)

UNIT-V MEMORY ORGANIZATION

What is Data Storage?

CS Part III 1 Dr. Rajesh Subramanyan, 2005

Explain the functions of the main components of a basic computer system (Part 2) S. Neebar

Chapter 1: Introduction. Operating System Concepts 9 th Edit9on

Grundlagen Microcontroller Memory. Günther Gridling Bettina Weiss

Three-box Model: These three boxes need interconnecting (usually done by wiring known as a bus. 1. Processor CPU e.g. Pentium 4 2.

Computers in Business: Concepts in Hardware and Software

Computers Are Your Future Chapter 4

Memory Overview. Overview - Memory Types 2/17/16. Curtis Nelson Walla Walla University

CS 140 Introduction to Computing & Computer Technology. Computing Components

Memory memories memory

Unit - II. Computer Concepts and C Programming 06CCP13. Unit II

CHAPTER 1 TYPES & COMPONENTS OF COMPUTER SYSTEM

Overview IN this chapter we will study. William Stallings Computer Organization and Architecture 6th Edition

Chapter 08: The Memory System. Lesson 01: Basic Concepts

Computers: Inside and Out

INTRODUCTION TO COMPUTERS

Memory classification:- Topics covered:- types,organization and working

Database Management Systems, 2nd edition, Raghu Ramakrishnan, Johannes Gehrke, McGraw-Hill

Parts of the Computer System. Parts of the Computer System. Parts of the Computer System. Essential Computer Hardware. Information Processing Cycle

Memory hierarchy and cache

Resource Management IB Computer Science. Content developed by Dartford Grammar School Computer Science Department

Computer & Microprocessor Architecture HCA103

(Advanced) Computer Organization & Architechture. Prof. Dr. Hasan Hüseyin BALIK (4 th Week)

Chapter 4 The Components of the System Unit

MICROPROCESSOR MEMORY ORGANIZATION

+ Random-Access Memory (RAM)

Sir Sadiq s computer notes for class IX. Chapter no 4. Storage Devices

Eastern Mediterranean University School of Computing and Technology CACHE MEMORY. Computer memory is organized into a hierarchy.

FACTFILE: GCE DIGITAL TECHNOLOGY

Chapter I The System Unit

Unit 2. Chapter 4 Cache Memory

Computer Organization and Assembly Language (CS-506)

William Stallings Computer Organization and Architecture 8th Edition. Cache Memory

WEEK 7. Chapter 4. Cache Memory Pearson Education, Inc., Hoboken, NJ. All rights reserved.

COMP2121: Microprocessors and Interfacing. Introduction to Microprocessors

Physical characteristics (such as packaging, volatility, and erasability Organization.

Characteristics. Microprocessor Design & Organisation HCA2102. Unit of Transfer. Location. Memory Hierarchy Diagram

CS 265. Computer Architecture. Wei Lu, Ph.D., P.Eng.

What Operating Systems Do An operating system is a program hardware that manages the computer provides a basis for application programs acts as an int

Introduction to File Structures

William Stallings Computer Organization and Architecture 10 th Edition Pearson Education, Inc., Hoboken, NJ. All rights reserved.

Computer Architecture and Assembly Language. Spring

CSCI-375 Operating Systems

Inside the Computer System

Introduction to OS. Introduction MOS Mahmoud El-Gayyar. Mahmoud El-Gayyar / Introduction to OS 1

The Memory Hierarchy 10/25/16

General Computing Concepts. Coding and Representation. General Computing Concepts. Computing Concepts: Review

A+ Guide to Hardware: Managing, Maintaining, and Troubleshooting, 5e. Chapter 1 Introducing Hardware

Chapter One. Introduction to Computer System

Revision. Paper 1 & Paper 2

Logic and Computer Design Fundamentals. Chapter 8 Memory Basics

Mass-Storage. ICS332 - Fall 2017 Operating Systems. Henri Casanova

Grade 5 lesson 2 Computer storage and computer care and you

IB Computer Science Topic.2-

Lecture-7 Characteristics of Memory: In the broad sense, a microcomputer memory system can be logically divided into three groups: 1) Processor

COMPUTER BASICS Processing/Storage

UNIT:4 MEMORY ORGANIZATION

Four Components of a Computer System

Memory Management. CSE 2431: Introduction to Operating Systems Reading: , [OSC]

Computer-System Organization (cont.)

Read-only memory (ROM): programmed during production Programmable ROM (PROM): can be programmed once SRAM (Static RAM)

Identify Components of the. Motherboard

5 Computer Organization

COMPUTER ARCHITECTURE AND ORGANIZATION

Computer Organization

The Central Processing Unit

An Overview of the Computer System. Kafui A. Prebbie 24

Characteristics of Memory Location wrt Motherboard. CSCI 4717 Computer Architecture. Characteristics of Memory Capacity Addressable Units

Chapter 6 Objectives

ECE331: Hardware Organization and Design

Machine Architecture and Number Systems CMSC104. Von Neumann Machine. Major Computer Components. Schematic Diagram of a Computer. First Computer?

COMP3221: Microprocessors and. and Embedded Systems. Overview. Lecture 23: Memory Systems (I)

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422)

INTRODUCTION TO INFORMATION & COMMUNICATION TECHNOLOGY (ICT) LECTURE 2 : WEEK 2 CSC-111-T

5 Computer Organization

Cycle Time for Non-pipelined & Pipelined processors

- Input hardware - Processing hardware - Storage hardware

Transcription:

Another fundamental component of the computer is the main memory.

The main memory of the computer is called random-access memory (abbreviated to RAM).

According to the Von Neumann architecture, the RAM stores temporarily both the instructions of the programs that are currently in execution and the data they use.

The positions of memory are like postal boxes. Each one of them is identified by a number and it contains a sequence of binary digits (which is called word ) of a fixed length.

The access time to any memory location is the same and it is independent of its address. That's why it is called random-access memory: because it takes the same time to retrieve the information from any random address. This is different in other storage media, such as hard disks or CD's, where the disk has to rotate to arrive to the desired position and, therefore, the access time varies with the position in the disk.

Another important memory in the computer is the ROM, as abbreviation of read-only memory. It's a type of memory that is recorded by the manufacturer and we can only read it. The advantage is that its content is never erased ROM memory plays an important role in the boot process of the computer, since the programs that it contains are the first to be executed. They check the computer components and load the operating system to continue the starting process.

There is another type of memory,cmos memory. CMOS stands for complementary metal oxide semiconductor, which makes reference just to the material it is made with. It is a very low power memory. Remember that the RAM is volatile, as it stores content temporarily and that all the information stored is lost when you power off the computer. So a small CMOS memory, powered by a battery, is used to keep some information about basic hardware settings, such as the date and time and things like that.

There are several types of computer memory and each one has its advantages and inconveniences. There is always a trade-off between price, speed and persistence, and you cannot have a memory that is cheap, fast and permanent at the same time, but you need the three characteristics to make a computer run. That is why a memory hierarchy is established in the computer. You put puts fast but expensive and small storage options close to the CPU and slower but larger and cheaper options farther away.

The first level of the memory hierarchy after CPU registers is cache memory. If you want the computer to be fast, you need a fast access to the program s instructions and the most used data, but fast memory is expensive, so cache memory was created as a mechanism to have faster access to program instructions and most used data without spending too much money. Cache memory is a small amount of RAM memory that the CPU can access very fast. It uses an algorithm to select the the most frequently used data and stores copies of it. Most of nowadays computer processors integrate cache memory in the CPU chip,

having independent caches for instruction and data. Data cache is usually organised as a hierarchy of levels (L1, L2, L3 ) depending on its speed.

The next level of the memory hierarchy is RAM, also known as main memory or primary storage. RAM is fast but volatile, so you need another level in the hierarchy, one that can be slower but has to be permanent, and here you find magnetic and solid state hard drives, that are also known as secondary storage.

In most personal computers we have a lot of different applications open at the same time, but we are not really multitasking, we are switching between them. So when there is not enough RAM left, the OS uses a clever trick called virtual memory, that consists in setting aside a certain portion of storage on the hard disk to act as additional RAM and moving there the content of the memory of the application that loses the focus, to bring it back into RAM when it gets the focus again. This way the operating system can work with a virtual memory space much bigger than the physical memory it really has. This is one of the reasons why your computer freezes for a while sometimes when switching from one application into another, it is reloading the memory content from the hard disk into RAM. To manage all the process, the operating system organises the memory assigned to different applications in pages, that can be moved between RAM and the hard disk, in what is

called memory pagination. The files where RAM content is stored in the hard disk are called pagefiles or swapfiles.