Computer Science 210 Computer Organization

Slides:



Advertisements
Similar presentations
Peripheral Storage Devices
Advertisements

13.2 Disks Gaurav Sharma Class ID Mechanics of Disks 2 Moving Principal Moving pieces of Disk are: 1. Disk assembly & 2. Head Assembly The.
Lecture # 7. Topics Storage Techniques of Bits Storage Techniques of Bits Mass Storage Mass Storage Disk System Performance Disk System Performance File.
The Memory Hierarchy fastest, perhaps 1Mb
Storage. The Memory Hierarchy fastest, but small under a microsecond, random access, perhaps 2Gb Typically magnetic disks, magneto­ optical (erasable),
Advance Database System
File Organizations March 2007R McFadyen ACS File Organization Hardware Description of Disk Devices Buffering of Blocks File Records on Disk Review.
13.2 Disks Mechanics of Disks Presented by Chao-Hsin Shih Feb 21, 2011.
1 Chapter 6 Storage and Multimedia: The Facts and More.
1 Storage Hierarchy Cache Main Memory Virtual Memory File System Tertiary Storage Programs DBMS Capacity & Cost Secondary Storage.
CPSC-608 Database Systems Fall 2009 Instructor: Jianer Chen Office: HRBB 309B Phone: Notes #5.
CS 728 Advanced Database Systems Chapter 16
Chapter 1 Data Storage. 2 Chapter 1: Data Storage 1.1 Bits and Their Storage 1.2 Main Memory 1.3 Mass Storage 1.4 Representing Information as Bit Patterns.
Data Storage Technology
SECTIONS 13.1 – 13.3 Sanuja Dabade & Eilbroun Benjamin CS 257 – Dr. TY Lin SECONDARY STORAGE MANAGEMENT.
CPSC 231 Secondary storage (D.H.)1 Learning Objectives Understanding disk organization. Sectors, clusters and extents. Fragmentation. Disk access time.
DISK STORAGE INDEX STRUCTURES FOR FILES Lecture 12.
1 Introduction to Computers Day 4. 2 Storage device A functional unit into which data can be –placed –retained(stored) –retrieved(accessed)
Computer SCIENCE Data Representation and Machine Concepts Section 1.3
Chapter 3 Data Storage. Media Storage Main memory (Electronic Memory): Stores data currently being used Is made of semiconductor chips. Secondary Memory.
1 6 Further System Fundamentals (HL) 6.2 Magnetic Disk Storage.
Disk Storage Copyright © 2004 Pearson Education, Inc.
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 –
Introduction to Database Systems 1 Storing Data: Disks and Files Chapter 3 “Yea, from the table of my memory I’ll wipe away all trivial fond records.”
Invitation to Computer Science 5th Edition
CS 111 – Aug – 1.3 –Information arranged in memory –Types of memory –Disk properties Commitment for next day: –Read pp , In other.
1 Secondary Storage Management Submitted by: Sathya Anandan(ID:123)
CHAPTER 5. Next Exit Main Memory and Backing Storage Devices... Main Memory and Backing Storage Devices... Main memory temporarily stores programs and.
Chapter 111 Chapter 11: Hardware (Slides by Hector Garcia-Molina,
Computing and the Web Computer Hardware Components.
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.
Describing Storage Devices  Storage terms  Media is the material storing data  Storage devices manage the media  Magnetic devices use a magnet  Optical.
SECONDARY STORAGE DEVICES. Agenda of Today’s Lecture  Introduction to Hardware  Types of hardware devices  Storage Devices  Secondary Storage devices.
IT Groundwork ICS3UC - Unit 1 Hardware. Overview of Computer System.
© 2005 Pearson Addison-Wesley. All rights reserved Figure 2.1 This chapter focuses on key hardware layer components.
Chapter 13 Disk Storage, Basic File Structures, and Hashing. Copyright © 2004 Pearson Education, Inc.
Memory and Storage. Computer Memory Processor registers – Temporary storage locations within the CPU – Examples Instruction register – holds the instruction.
CS4432: Database Systems II Data Storage 1. Storage in DBMSs DBMSs manage large amounts of data How does a DBMS store and manage large amounts of data?
Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
Auxiliary Memory Magnetic Disk:
Disk Basics CS Introduction to Operating Systems.
Lecture 5: 9/10/2002CS149D Fall CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture.
Section 13.2 – Secondary storage management (Former Student’s Note)
Section 13.2 – Secondary storage management. Index 13.2 Disks Mechanics of Disks The Disk Controller Disk Access Characteristics.
Magnetic Disk Rotational latency Example Find the average rotational latency if the disk rotates at 20,000 rpm.
CPSC 231 Secondary storage (D.H.)1 Learning Objectives Understanding disk organization. Sectors, clusters and extents. Fragmentation. Disk access time.
Storage of Data Letts Chapter 6. Introduction Any system needs to store both programs and data and requires: n a main store for fast access storage; n.
 To arrange the data on the disk surface, the disk surface is divided in to different sections called :-  Slides or heads  Tracks  Sectors  Cylinders.
Copyright © 2003 Prentice Hall, Inc 1 Chapter 4 Storing Data: Electronic Filing Cabinets NEXT SLIDE.
File organization Secondary Storage Devices Lec#7 Presenter: Dr Emad Nabil.
File Organization Record Storage and Primary File Organization
CHAPTER 10: Computer Peripherals
Reference: Chp 6 Introduction to Computers by Peter Norton
Section 13.2 – Secondary storage management (Former Student’s Note)
McGraw-Hill Technology Education
Chapter 2: Computer-System Structures
Backing Store.
9/12/2018.
File Organizations What an OS provides Copyright © Curt Hill.
Disks and Files DBMS stores information on (“hard”) disks.
Chapter 1 Data Storage.
Secondary Storage Devices
Disk storage Index structures for files
Parameters of Disks The most important disk parameter is the time required to locate an arbitrary disk block, given its block address, and then to transfer.
1 BY Prof. S. DAS (PhD, UK). 2 CONTENTS Introduction RAM,ROM,PROM,EPROM Auxiliary Storage Devices-Magnetic Tape, Hard Disk, Floppy Disk Optical Disks:
Lesson 9 Types of Storage Devices.
Networks & I/O Devices.
CS 245: Database System Principles Notes 02: Hardware
Presentation transcript:

Computer Science 210 Computer Organization Introduction to Computer Organization Text Figures: COPYRIGHT 1998 MORGAN KAUFMANN PUBLISHERS, INC. ALL RIGHTS RESERVED

Computer Components The abstract view of a computer is commonly divided into five basic components

High Level  Low Level

Memory Stores: Numbers, text, programs, addresses, graphics, sound, video, etc. that are currently in use. Divided into fixed size cells (fixed number of bits). This size is commonly 8 bits, and this 8-bit unit is called a byte.

Memory Addresses Each cell has an address, an unsigned integer. Address Cell Content Each cell has an address, an unsigned integer. All accesses to memory are via a specific address 00100110 10100110 00111110 10101010 1 2 3

Basic Memory Operations Memory Fetch Given a specific memory address. Retrieve the content stored at that address. Memory Store Given a specific memory address and a specific value, store the given value in the cell with the specified address.

Memory Facts and Terminology A cell is the minimum unit of access. Access time is same for all cells - Random Access Memory or RAM (nanoseconds - billionths of second) ROM - Read only Memory (fetch but not store) Some data items require more than one cell. For example, an instruction might need four cells.

More on Memory All addresses are of some fixed number of bits, say N. Addresses would be 0000…0  0 0000…1  1 Total of 2N cells … 1111…1  2N - 1

Terminology Storage capacity: Speed K  210 = 1024  Kilo as in Kb M  220 = 1,048,576  Mega as in Mb G  230 = 1,073,741,824 Giga as in Gb Speed 1  = 1 microsecond = 1 millionth of second 1 ms = 1 millisecond = 1 thousandth of second 1 ns = 1 nanosecond = 1 billionth of second

Magnetic disks Magnetization used to store bits Capacity floppy - 1.5 Mb large disk packs - hundreds of Gb Single-sided disk Double-sided disk Disk packs

Magnetic disks - cont. Information stored on concentric circles called tracks. Hundreds or thousands of these, each holding up to 150Kb. On disk pack, tracks at same diameter form a cylinder Rotate on spindle at 3600 to 7200 rpm. 100,000 times slower than main memory. 50 times less expensive than main memory.

Cylinder and read/write heads

Sectors Sectors are hard-coded on disk and can not be changed. Blocks are set by OS during formatting. Interblock gaps have special codes. Sector

Hardware address of a block Block Address Surface number Track number within the surface Block number Reading and writing from/to a block is done from/to a buffer in main memory. Data may be transferred in clusters of contiguous blocks. Usually controlled by disk controller.

Time to read or write a block Seek time: The time to position the head at the correct track. (12 to 14 ms on desktop) Latency: Time for block to rotate under the head. Block transfer time: Time to transfer the block. Total: 12-60 ms.