SlideShare a Scribd company logo
1 of 31
Memory Organization
Prof. Bailappa. Bhovi
Department of Computer Engineering
Hope Foundation’s
International Institute of Information Technology, (I²IT).
www.isquareit.edu.in
Tel - +91 20 22933441
UNIT-2:
Internal memory organization
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
Memory- Basic Concepts
• Data transfer between the processor and the memory takes
place through the two registers
– MAR and MBR or MDR
• MAR: The address from which data has to be read/write from
memory
• MBR: The data contents send by memory after supplying
address by MAR
• Memory Speed measurement
– Memory Access Time
– Memory Cycle Time
• Memory cycle time(Access time + Recovery time )
– Memory Cycle time for Semiconductor memories ranges 10
to 100 ns
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
Semiconductor Memory Types
Memory Type Category Erasure
Write
Mechanism
Volatility
Random-access
memory (RAM)
Read-write
memory
Electrically,
byte-level
Electrically Volatile
Read-only
memory (ROM) Read-only
memory
Not possible
Masks
Nonvolatile
Programmable
ROM (PROM)
Electrically
Erasable PROM
(EPROM)
Read-mostly
memory
UV light, chip-
level
Electrically
Erasable PROM
(EEPROM)
Electrically,
byte-level
Flash memory
Electrically,
block-level
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
Static RAM
• Memories that consists of circuits capable of
retaining their state as long as power is applied
• Bits stored as on/off switches
• Complex construction (density less)
so larger per bit and more expensive
• Faster operations, used for cache memory
Dynamic RAM
• Bits stored as charge in capacitors charges leak
so need refreshing even when powered
• Simpler construction
• Smaller per bit so less expensive
• Address line active when bit read or written
• Slower operations, used for main memory
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
Memory Chip Organization
One dimensional Selection method
Each row of memory cell(array of memory cells) forms one word of memory
Toaddress this mem,a decoder is reqd.Each location can be identified using A0-A3 bits.
For any location, its corresponding data can be identified at b0-b7 data lines
Pins reqd for memory: 4(address lines) + 8 (data lines)+1(CS)+1(R/W)+2(Vcc ,Gnd)=16
16 rows X 8 columns = 128 bits.
8 bit/chip organization
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
Two dimensional Selection method
• Memory organised as matrix of cells, each of which stores a bit
• A particular cell is selected using row and column decoder
• Row decoder selects a particular row
• Column decoder selects a particular Column
• Cheaper to implement
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
Organization of a 1K  1 Memory Chip
(Two dimensional Selection method )
Pins reqd for memory: 10(address lines) + 1 (data line)+1(CS)+1(R/W)+2(Vcc,Gnd)=15
This design is called 1 bit/chip organization (more preferred )
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
Memory Organization Issues
• A 16Mbit chip can be organized as 1M of 16 bit words (One dimension Selection method )
i.e. 1M x 16 = 220 x 16 (20 address lines+16 datalines)
=36 pins require to address and data + 4 pins (R/W, CS, PS, G)=40
• It can be organized as 4K x 512 x 8 (Two and half dimension Selection method )
i.e. 4k rows X 512 columns X 8(each column contains 8 bits)
=(12+9) address lines+ 8 data lines
=29 pins are required to address and data + 4 pins(R/W, CS, PS, G)=33
• It can be organized as 2048 x 2048 x 4 bit array(Two and half dimension Selection method )
e. 2k rows X 2k columns X 4(each column contains 4 bits)
=(11+11) address lines+ 4 data lines
=26 pins are required to address and data + 4 pins(R/W, CS, PS, G)= 30
• Row address and column address can be multiplexed
• Same 11 lines can be utilised for representing row as well as columns
• 11 pins to address (211=2048) + 4 pins for data output + 4 pins = 19 pins
• Adding one more pin doubles range of values .(capacity increase 4 times)
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
16 Mbit DRAM Organization
Row decoder- Toselect a row from 2k rows
RAS-Row address selector ,CAS – Column address selector
• On 11 bit address lines,1st row address will appear so that row is identified
• Next on same 11 bit address lines, column address will appear so that column is identified
• Thus location once identified, can transfer its 4 bits to D1-D4 th’ Data o/p buffer for Read opn
• And for a write opn D1-D4 has data which is transferred th’ i/p buffer to identified location
• Adv: Pins reduced to half ,Disadv : More time
2048 x 2048 x 4 = 16Mb (Two and half dimension
Selection method )
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
Synchronous DRAM (SDRAM)
• Synchronized with processor clock
• After Read command, data appears after a latency of 2 clock pulses
• This 2 clk cycle wait can be utilized by the processor for activities
that does not need the system bus, e.g. ALU operations
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
DDR SDRAM Read Timing
• Dual Data rate(DDR) :Each cycle provides 2 bytes of data
• Data transfer rate double as compared to SDRAM
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
External memory
• Semiconductor memory can not be used to
store large amount of information or data
– Due to high per bit cost of it!
• Large storage requirements is full filled by
– Magnetic disks, Optical disks and Magnetic tapes
– Called as secondary storage
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
Disk Connection to the System Bus
• Disk controller acts as a interface between system bus and the
disk drive (handles the speed or data transfer rate mismatch)
• Single disk controller can control more than 1 disk
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
Data Organization on Disk
• Hard disk divided into tracks and sectors
• Concentric rings called tracks
– Gaps between tracks
– Same number of bits per track
– Constant angular velocity
• Tracks divided into sectors
• Minimum block size is one sector-512
bytes can be read/written at a time
• Individual tracks and sectors addressable
• For reading particular info, the head has
to move desired track and then the disk
has to rotate so that desired sector
comes under the head
• Direct + sequential access method
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
Multi Zone Recording Disks
Single – zone recording disc Multi Zone Recording Disks
• Linear distance of innermost track is less than
that of outermost track
• Density of bits more in inner sectors/tracks.
• For outer tracks we are wasting recording space
in CAV(Constant angular velocity ) system
• Solution : Multi Zone Recording Disks
• Better space utilization
• Linear length of sector is same
• More sectors as we go outwards
• For each zone the recording/reading
speed will be different
i.e. Zone wise velocity will be different
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
Multiple Platters Tracks and Cylinders
C
y
l
i
n
d
e
r
• For each surface separate head is there
• Set of tracks having same relative distance w.r.t center form a cylinder
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
Capacity
• Capacity generally express in units of gigabytes (GB),
where 1 GB =10^9 Byte
• Capacity is determined by these technology factors:
– Recording density (bits/inch): number of bits that can be
squeezed into a 1 inch segment of a track.
– Track density (tracks/inch): number of tracks that can be
squeezed into a 1 inch radial segment.
– Areal density (bits/sq.inch): product of recording and track
density.
• Modern disks partition tracks into disjoint
subsets called recording zones(multiple zone
disc)
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
Computing Disk Capacity
• Capacity =(# bytes/sector) x (avg. # sectors/track) x
(# tracks/surface) x (# surfaces/platter) x (#
platters/disk)
• Example:
– 512 bytes/sector, 300 sectors/track (average)
– 20,000 tracks/surface, 2 surfaces/platter
– 5 platters/disk
– Capacity = 512 x 300 x 20000 x 2 x 5 = 30.72GB
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
Computing Disk Capacity
• Capacity =(# bytes/sector) x (avg. # sectors/track) x
(# tracks/surface) x (# surfaces/platter) x (#
platters/disk)
• Example:
– 512 bytes/sector, 200 sectors/track (average)
– 50,000 tracks/surface, 2 surfaces/platter
– 3 platters/disk.
– Find the capacity.
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
Disk Performance Parameters
• Access time for disc is greater than that for cache/main memory or
semiconductor memory.
• Seek time (Ts)
– Time require to positioned the head on the desired track
(in ms due to mechanical system)
• Rotational delay
– Time require to positioned desired sector under r/w head
(for each sector rotation is different, thus consider average rotation)
• Transfer time
-- Time required for reading /recording disk
• The Total average access time is: Ta= Ts+
1/2r + b/rN
– Here Tsis Average seek time
– r is rotation speed in revolution per second
– b number of bytes to be transferred
– N number of bytes on a track
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
Performance Improvement in
Secondary Storage
• In general multiple components improves the performance
• Similarly multiple disks should reduce access time?
– Arrays of disks operates independently and in parallel
– Also used as standby if one or more disk fails
– Used where response time is critical
• Justification
– With multiple disks separate I/O requests can be handled
in parallel
– A single I/O request can be executed in parallel, if the
requested data is distributed across multiple disks
• Researchers @ University of California-Berkeley proposed the
RAID (1988)
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
RAID
• Redundant Array of Independent Disks
• Seven levels in common use
• Not a hierarchy
• Characteristics
1. Set of physical disks viewed as single logical drive
by operating system
2. Data distributed across physical drives
3. Can use redundant capacity to store parity
information
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
Data Mapping in RAID 0
No redundancy
Data striped across all
disks Round Robin striping
• Data is distributed across the disk in strips :0,1,2,3
• Work distributed among 4 disks
Increased Speed
• Multiple data requests probably not on same disk
• Disks seek in parallel
• A set of data is likely to be striped across multiple disks
Draw Backs:
• Not a "True" RAID because it is NOT fault-tolerant
• The failure of just one drive will result in all data in an array being lost
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
RAID 1
Mirrored Disks ,Data is striped across disks
2 copies of each stripe on separate disks
In case hard disk fails, parallel disk can work
Read from either and Write to both
If N is no.of data disk ,then Redundency-2N
Recovery is simple
• Swap faulty disk & re-mirror
• No down time
Draw back
• Highest disk overhead of all RAID types (For any write,2 copies are to be made
• Expensive
• Any write should be done on two disks
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
Data Mapping in RAID 2
Lots of redundancy
Expensive: Good for erroneous disk
If N is no.of data disk ,then Redundancy- logN
Use parallel access technique
• Very small size strips
• Error correcting code is calculated across corresponding bits on each data disks
• Multiple parity disks store Hamming code error correction in corresponding
positions
Some parity info of data is stored so that if any disk fails, then data can be recovered.
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
Data Mapping in RAID 3
Similar to RAID 2
• Bit interleaved parity used
• Only one redundant disk, no matter how large the array
• Simple parity bit for each set of corresponding bits
• Data on failed drive can be reconstructed from surviving data and parity information
e.g. For ith bit, parity will be stored as: X4(i) = X3 (i) xor X2(i) xor X1 (i) xor X0 (i)
• If X2 disc is failed ,its data can be recovered as follows: Xoring X4 (i) xor
X2(i) on both sides of equation ,we get: X2(i) = X3 (i) xor X1 (i) xor X0
(i) xor X4(i)
X0 X1 X2 X3 X4
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
RAID 4
• Make use of independent access with block level striping
• Good for high I/O request rate due to large strips
• Bit by bit parity calculated across stripes on each disk
• Parity stored on parity disk
• If N is no.of data disk ,then N+1 are total disk reqd.
• If any disk gets modified, then Parity disk will get modified
simultaneously ,thus a long queue can be there for writing parity
info. corresponding to the blocks
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
RAID 5
• Parity disc distributed along each disk(No.of disk are same)
• Round robin allocation for parity stripe
• It avoids RAID 4 bottleneck at parity disk
• Commonly used in network servers
• Drawback
– Disk failure has a medium impact on throughput
– Difficult to rebuild in the event of a disk failure (as
compared to RAID level 1)
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
RAID 6
• Two parity calculations are distributed along the disk
• Stored in separate blocks on different disks
• If 2 disk fail, then also data can be recovered
• If N is no.of data disk ,then N+2 are total disk reqd.
• High data availability
– Three disks need to fail for data loss
– Significant write penalty
• Drawback
– Controller overhead to compute parity is very high
Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I,
Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
THANK YOU
For further information please contact
Bailappa Bhovi
Department of Computer Engineering
Hope Foundation’s
International Institute of Information Technology, I²IT
P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi,
Pune – 411 057
Phone - +91 20 22933441
www.isquareit.edu.in | bailappab@isquareit.edu.in|
info@isquareit.edu.in

More Related Content

What's hot

Addressing modes (detailed data path)
Addressing modes (detailed data path)Addressing modes (detailed data path)
Addressing modes (detailed data path)Mahesh Kumar Attri
 
Multiprocessor
MultiprocessorMultiprocessor
MultiprocessorNeel Patel
 
Microprogram Control
Microprogram Control Microprogram Control
Microprogram Control Anuj Modi
 
isa architecture
isa architectureisa architecture
isa architectureAJAL A J
 
Memory organization
Memory organizationMemory organization
Memory organizationAL- AMIN
 
Register organization, stack
Register organization, stackRegister organization, stack
Register organization, stackAsif Iqbal
 
Computer instructions
Computer instructionsComputer instructions
Computer instructionsAnuj Modi
 
Associative memory 14208
Associative memory 14208Associative memory 14208
Associative memory 14208Ameer Mehmood
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Subhasis Dash
 
Computer organization and architecture
Computer organization and architectureComputer organization and architecture
Computer organization and architectureSubesh Kumar Yadav
 
Chapter 03 arithmetic for computers
Chapter 03   arithmetic for computersChapter 03   arithmetic for computers
Chapter 03 arithmetic for computersBảo Hoang
 
EE5440 – Computer Architecture - Lecture 2
EE5440 – Computer Architecture - Lecture 2EE5440 – Computer Architecture - Lecture 2
EE5440 – Computer Architecture - Lecture 2Dilawar Khan
 
Pipeline hazards in computer Architecture ppt
Pipeline hazards in computer Architecture pptPipeline hazards in computer Architecture ppt
Pipeline hazards in computer Architecture pptmali yogesh kumar
 
Computer architecture addressing modes and formats
Computer architecture addressing modes and formatsComputer architecture addressing modes and formats
Computer architecture addressing modes and formatsMazin Alwaaly
 
Computer architecture pipelining
Computer architecture pipeliningComputer architecture pipelining
Computer architecture pipeliningMazin Alwaaly
 

What's hot (20)

Addressing modes (detailed data path)
Addressing modes (detailed data path)Addressing modes (detailed data path)
Addressing modes (detailed data path)
 
Memory Organization
Memory OrganizationMemory Organization
Memory Organization
 
Instruction cycle
Instruction cycleInstruction cycle
Instruction cycle
 
Multiprocessor
MultiprocessorMultiprocessor
Multiprocessor
 
Microprogram Control
Microprogram Control Microprogram Control
Microprogram Control
 
isa architecture
isa architectureisa architecture
isa architecture
 
Memory organization
Memory organizationMemory organization
Memory organization
 
Semiconductor memory
Semiconductor memorySemiconductor memory
Semiconductor memory
 
Register organization, stack
Register organization, stackRegister organization, stack
Register organization, stack
 
ADDRESSING MODES
ADDRESSING MODESADDRESSING MODES
ADDRESSING MODES
 
Computer instructions
Computer instructionsComputer instructions
Computer instructions
 
Associative memory 14208
Associative memory 14208Associative memory 14208
Associative memory 14208
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1)
 
Computer organization and architecture
Computer organization and architectureComputer organization and architecture
Computer organization and architecture
 
Chapter 03 arithmetic for computers
Chapter 03   arithmetic for computersChapter 03   arithmetic for computers
Chapter 03 arithmetic for computers
 
EE5440 – Computer Architecture - Lecture 2
EE5440 – Computer Architecture - Lecture 2EE5440 – Computer Architecture - Lecture 2
EE5440 – Computer Architecture - Lecture 2
 
Pipeline hazards in computer Architecture ppt
Pipeline hazards in computer Architecture pptPipeline hazards in computer Architecture ppt
Pipeline hazards in computer Architecture ppt
 
Computer architecture addressing modes and formats
Computer architecture addressing modes and formatsComputer architecture addressing modes and formats
Computer architecture addressing modes and formats
 
Memory Management
Memory ManagementMemory Management
Memory Management
 
Computer architecture pipelining
Computer architecture pipeliningComputer architecture pipelining
Computer architecture pipelining
 

Similar to COA | Memory Organization

State-Of-The Art Machine Learning Algorithms and How They Are Affected By Nea...
State-Of-The Art Machine Learning Algorithms and How They Are Affected By Nea...State-Of-The Art Machine Learning Algorithms and How They Are Affected By Nea...
State-Of-The Art Machine Learning Algorithms and How They Are Affected By Nea...inside-BigData.com
 

Similar to COA | Memory Organization (20)

Big Data Technologies
Big Data TechnologiesBig Data Technologies
Big Data Technologies
 
Database Query Optimization
Database Query OptimizationDatabase Query Optimization
Database Query Optimization
 
Memory Organization in 80386
Memory Organization in 80386 Memory Organization in 80386
Memory Organization in 80386
 
Register Organization of 80386
Register Organization of 80386Register Organization of 80386
Register Organization of 80386
 
Data Structure - Linked List
Data Structure - Linked ListData Structure - Linked List
Data Structure - Linked List
 
Introduction to TCP Protocol Suite
Introduction to TCP Protocol SuiteIntroduction to TCP Protocol Suite
Introduction to TCP Protocol Suite
 
Fundamentals of Computer Networks
Fundamentals of Computer NetworksFundamentals of Computer Networks
Fundamentals of Computer Networks
 
Basics of Computer Graphics
Basics of Computer GraphicsBasics of Computer Graphics
Basics of Computer Graphics
 
State-Of-The Art Machine Learning Algorithms and How They Are Affected By Nea...
State-Of-The Art Machine Learning Algorithms and How They Are Affected By Nea...State-Of-The Art Machine Learning Algorithms and How They Are Affected By Nea...
State-Of-The Art Machine Learning Algorithms and How They Are Affected By Nea...
 
Operating System Scheduling Algorithms
Operating System Scheduling AlgorithmsOperating System Scheduling Algorithms
Operating System Scheduling Algorithms
 
M4 rdma 4.5.1
M4 rdma 4.5.1M4 rdma 4.5.1
M4 rdma 4.5.1
 
Document Type Definition (DTD)
Document Type Definition (DTD)Document Type Definition (DTD)
Document Type Definition (DTD)
 
Introduction to Big Data, HADOOP: HDFS, MapReduce
Introduction to Big Data,  HADOOP: HDFS, MapReduceIntroduction to Big Data,  HADOOP: HDFS, MapReduce
Introduction to Big Data, HADOOP: HDFS, MapReduce
 
Computer Network Technology | Dynamic Host Configuration Protocol
Computer Network Technology | Dynamic Host Configuration ProtocolComputer Network Technology | Dynamic Host Configuration Protocol
Computer Network Technology | Dynamic Host Configuration Protocol
 
DAA Introduction to Algorithms & Application
DAA Introduction to Algorithms & ApplicationDAA Introduction to Algorithms & Application
DAA Introduction to Algorithms & Application
 
What Is High Performance-Computing?
What Is High Performance-Computing?What Is High Performance-Computing?
What Is High Performance-Computing?
 
Basics of Digital Electronics
Basics of Digital ElectronicsBasics of Digital Electronics
Basics of Digital Electronics
 
Engineering Mathematics | Maxima and Minima
Engineering Mathematics | Maxima and MinimaEngineering Mathematics | Maxima and Minima
Engineering Mathematics | Maxima and Minima
 
M1 rl 1.1.1
M1 rl 1.1.1M1 rl 1.1.1
M1 rl 1.1.1
 
Introduction to Wireless Sensor Networks (WSN)
Introduction to Wireless Sensor Networks (WSN)Introduction to Wireless Sensor Networks (WSN)
Introduction to Wireless Sensor Networks (WSN)
 

More from International Institute of Information Technology (I²IT)

More from International Institute of Information Technology (I²IT) (20)

Minimization of DFA
Minimization of DFAMinimization of DFA
Minimization of DFA
 
Understanding Natural Language Processing
Understanding Natural Language ProcessingUnderstanding Natural Language Processing
Understanding Natural Language Processing
 
What Is Smart Computing?
What Is Smart Computing?What Is Smart Computing?
What Is Smart Computing?
 
Professional Ethics & Etiquette: What Are They & How Do I Get Them?
Professional Ethics & Etiquette: What Are They & How Do I Get Them?Professional Ethics & Etiquette: What Are They & How Do I Get Them?
Professional Ethics & Etiquette: What Are They & How Do I Get Them?
 
Writing Skills: Importance of Writing Skills
Writing Skills: Importance of Writing SkillsWriting Skills: Importance of Writing Skills
Writing Skills: Importance of Writing Skills
 
Professional Communication | Introducing Oneself
Professional Communication | Introducing Oneself Professional Communication | Introducing Oneself
Professional Communication | Introducing Oneself
 
Servlet: A Server-side Technology
Servlet: A Server-side TechnologyServlet: A Server-side Technology
Servlet: A Server-side Technology
 
What Is Jenkins? Features and How It Works
What Is Jenkins? Features and How It WorksWhat Is Jenkins? Features and How It Works
What Is Jenkins? Features and How It Works
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
Hypothesis-Testing
Hypothesis-TestingHypothesis-Testing
Hypothesis-Testing
 
Data Science, Big Data, Data Analytics
Data Science, Big Data, Data AnalyticsData Science, Big Data, Data Analytics
Data Science, Big Data, Data Analytics
 
Types of Artificial Intelligence
Types of Artificial Intelligence Types of Artificial Intelligence
Types of Artificial Intelligence
 
Difference Between AI(Artificial Intelligence), ML(Machine Learning), DL (Dee...
Difference Between AI(Artificial Intelligence), ML(Machine Learning), DL (Dee...Difference Between AI(Artificial Intelligence), ML(Machine Learning), DL (Dee...
Difference Between AI(Artificial Intelligence), ML(Machine Learning), DL (Dee...
 
Sentiment Analysis in Machine Learning
Sentiment Analysis in  Machine LearningSentiment Analysis in  Machine Learning
Sentiment Analysis in Machine Learning
 
What Is Cloud Computing?
What Is Cloud Computing?What Is Cloud Computing?
What Is Cloud Computing?
 
Introduction To Design Pattern
Introduction To Design PatternIntroduction To Design Pattern
Introduction To Design Pattern
 
Importance of Theory of Computations
Importance of Theory of ComputationsImportance of Theory of Computations
Importance of Theory of Computations
 
Java as Object Oriented Programming Language
Java as Object Oriented Programming LanguageJava as Object Oriented Programming Language
Java as Object Oriented Programming Language
 
Data Visualization - How to connect Microsoft Forms to Power BI
Data Visualization - How to connect Microsoft Forms to Power BIData Visualization - How to connect Microsoft Forms to Power BI
Data Visualization - How to connect Microsoft Forms to Power BI
 
AVL Tree Explained
AVL Tree ExplainedAVL Tree Explained
AVL Tree Explained
 

Recently uploaded

UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 

Recently uploaded (20)

UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 

COA | Memory Organization

  • 1. Memory Organization Prof. Bailappa. Bhovi Department of Computer Engineering Hope Foundation’s International Institute of Information Technology, (I²IT). www.isquareit.edu.in Tel - +91 20 22933441
  • 2. UNIT-2: Internal memory organization Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 3. Memory- Basic Concepts • Data transfer between the processor and the memory takes place through the two registers – MAR and MBR or MDR • MAR: The address from which data has to be read/write from memory • MBR: The data contents send by memory after supplying address by MAR • Memory Speed measurement – Memory Access Time – Memory Cycle Time • Memory cycle time(Access time + Recovery time ) – Memory Cycle time for Semiconductor memories ranges 10 to 100 ns Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 4. Semiconductor Memory Types Memory Type Category Erasure Write Mechanism Volatility Random-access memory (RAM) Read-write memory Electrically, byte-level Electrically Volatile Read-only memory (ROM) Read-only memory Not possible Masks Nonvolatile Programmable ROM (PROM) Electrically Erasable PROM (EPROM) Read-mostly memory UV light, chip- level Electrically Erasable PROM (EEPROM) Electrically, byte-level Flash memory Electrically, block-level Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 5. Static RAM • Memories that consists of circuits capable of retaining their state as long as power is applied • Bits stored as on/off switches • Complex construction (density less) so larger per bit and more expensive • Faster operations, used for cache memory Dynamic RAM • Bits stored as charge in capacitors charges leak so need refreshing even when powered • Simpler construction • Smaller per bit so less expensive • Address line active when bit read or written • Slower operations, used for main memory Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 6. Memory Chip Organization One dimensional Selection method Each row of memory cell(array of memory cells) forms one word of memory Toaddress this mem,a decoder is reqd.Each location can be identified using A0-A3 bits. For any location, its corresponding data can be identified at b0-b7 data lines Pins reqd for memory: 4(address lines) + 8 (data lines)+1(CS)+1(R/W)+2(Vcc ,Gnd)=16 16 rows X 8 columns = 128 bits. 8 bit/chip organization Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 7. Two dimensional Selection method • Memory organised as matrix of cells, each of which stores a bit • A particular cell is selected using row and column decoder • Row decoder selects a particular row • Column decoder selects a particular Column • Cheaper to implement Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 8. Organization of a 1K  1 Memory Chip (Two dimensional Selection method ) Pins reqd for memory: 10(address lines) + 1 (data line)+1(CS)+1(R/W)+2(Vcc,Gnd)=15 This design is called 1 bit/chip organization (more preferred ) Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 9. Memory Organization Issues • A 16Mbit chip can be organized as 1M of 16 bit words (One dimension Selection method ) i.e. 1M x 16 = 220 x 16 (20 address lines+16 datalines) =36 pins require to address and data + 4 pins (R/W, CS, PS, G)=40 • It can be organized as 4K x 512 x 8 (Two and half dimension Selection method ) i.e. 4k rows X 512 columns X 8(each column contains 8 bits) =(12+9) address lines+ 8 data lines =29 pins are required to address and data + 4 pins(R/W, CS, PS, G)=33 • It can be organized as 2048 x 2048 x 4 bit array(Two and half dimension Selection method ) e. 2k rows X 2k columns X 4(each column contains 4 bits) =(11+11) address lines+ 4 data lines =26 pins are required to address and data + 4 pins(R/W, CS, PS, G)= 30 • Row address and column address can be multiplexed • Same 11 lines can be utilised for representing row as well as columns • 11 pins to address (211=2048) + 4 pins for data output + 4 pins = 19 pins • Adding one more pin doubles range of values .(capacity increase 4 times) Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 10. 16 Mbit DRAM Organization Row decoder- Toselect a row from 2k rows RAS-Row address selector ,CAS – Column address selector • On 11 bit address lines,1st row address will appear so that row is identified • Next on same 11 bit address lines, column address will appear so that column is identified • Thus location once identified, can transfer its 4 bits to D1-D4 th’ Data o/p buffer for Read opn • And for a write opn D1-D4 has data which is transferred th’ i/p buffer to identified location • Adv: Pins reduced to half ,Disadv : More time 2048 x 2048 x 4 = 16Mb (Two and half dimension Selection method ) Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 11. Synchronous DRAM (SDRAM) • Synchronized with processor clock • After Read command, data appears after a latency of 2 clock pulses • This 2 clk cycle wait can be utilized by the processor for activities that does not need the system bus, e.g. ALU operations Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 12. DDR SDRAM Read Timing • Dual Data rate(DDR) :Each cycle provides 2 bytes of data • Data transfer rate double as compared to SDRAM Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 13. External memory • Semiconductor memory can not be used to store large amount of information or data – Due to high per bit cost of it! • Large storage requirements is full filled by – Magnetic disks, Optical disks and Magnetic tapes – Called as secondary storage Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 14. Disk Connection to the System Bus • Disk controller acts as a interface between system bus and the disk drive (handles the speed or data transfer rate mismatch) • Single disk controller can control more than 1 disk Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 15. Data Organization on Disk • Hard disk divided into tracks and sectors • Concentric rings called tracks – Gaps between tracks – Same number of bits per track – Constant angular velocity • Tracks divided into sectors • Minimum block size is one sector-512 bytes can be read/written at a time • Individual tracks and sectors addressable • For reading particular info, the head has to move desired track and then the disk has to rotate so that desired sector comes under the head • Direct + sequential access method Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 16. Multi Zone Recording Disks Single – zone recording disc Multi Zone Recording Disks • Linear distance of innermost track is less than that of outermost track • Density of bits more in inner sectors/tracks. • For outer tracks we are wasting recording space in CAV(Constant angular velocity ) system • Solution : Multi Zone Recording Disks • Better space utilization • Linear length of sector is same • More sectors as we go outwards • For each zone the recording/reading speed will be different i.e. Zone wise velocity will be different Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 17. Multiple Platters Tracks and Cylinders C y l i n d e r • For each surface separate head is there • Set of tracks having same relative distance w.r.t center form a cylinder Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 18. Capacity • Capacity generally express in units of gigabytes (GB), where 1 GB =10^9 Byte • Capacity is determined by these technology factors: – Recording density (bits/inch): number of bits that can be squeezed into a 1 inch segment of a track. – Track density (tracks/inch): number of tracks that can be squeezed into a 1 inch radial segment. – Areal density (bits/sq.inch): product of recording and track density. • Modern disks partition tracks into disjoint subsets called recording zones(multiple zone disc) Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 19. Computing Disk Capacity • Capacity =(# bytes/sector) x (avg. # sectors/track) x (# tracks/surface) x (# surfaces/platter) x (# platters/disk) • Example: – 512 bytes/sector, 300 sectors/track (average) – 20,000 tracks/surface, 2 surfaces/platter – 5 platters/disk – Capacity = 512 x 300 x 20000 x 2 x 5 = 30.72GB Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 20. Computing Disk Capacity • Capacity =(# bytes/sector) x (avg. # sectors/track) x (# tracks/surface) x (# surfaces/platter) x (# platters/disk) • Example: – 512 bytes/sector, 200 sectors/track (average) – 50,000 tracks/surface, 2 surfaces/platter – 3 platters/disk. – Find the capacity. Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 21. Disk Performance Parameters • Access time for disc is greater than that for cache/main memory or semiconductor memory. • Seek time (Ts) – Time require to positioned the head on the desired track (in ms due to mechanical system) • Rotational delay – Time require to positioned desired sector under r/w head (for each sector rotation is different, thus consider average rotation) • Transfer time -- Time required for reading /recording disk • The Total average access time is: Ta= Ts+ 1/2r + b/rN – Here Tsis Average seek time – r is rotation speed in revolution per second – b number of bytes to be transferred – N number of bytes on a track Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 22. Performance Improvement in Secondary Storage • In general multiple components improves the performance • Similarly multiple disks should reduce access time? – Arrays of disks operates independently and in parallel – Also used as standby if one or more disk fails – Used where response time is critical • Justification – With multiple disks separate I/O requests can be handled in parallel – A single I/O request can be executed in parallel, if the requested data is distributed across multiple disks • Researchers @ University of California-Berkeley proposed the RAID (1988) Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 23. RAID • Redundant Array of Independent Disks • Seven levels in common use • Not a hierarchy • Characteristics 1. Set of physical disks viewed as single logical drive by operating system 2. Data distributed across physical drives 3. Can use redundant capacity to store parity information Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 24. Data Mapping in RAID 0 No redundancy Data striped across all disks Round Robin striping • Data is distributed across the disk in strips :0,1,2,3 • Work distributed among 4 disks Increased Speed • Multiple data requests probably not on same disk • Disks seek in parallel • A set of data is likely to be striped across multiple disks Draw Backs: • Not a "True" RAID because it is NOT fault-tolerant • The failure of just one drive will result in all data in an array being lost Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 25. RAID 1 Mirrored Disks ,Data is striped across disks 2 copies of each stripe on separate disks In case hard disk fails, parallel disk can work Read from either and Write to both If N is no.of data disk ,then Redundency-2N Recovery is simple • Swap faulty disk & re-mirror • No down time Draw back • Highest disk overhead of all RAID types (For any write,2 copies are to be made • Expensive • Any write should be done on two disks Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 26. Data Mapping in RAID 2 Lots of redundancy Expensive: Good for erroneous disk If N is no.of data disk ,then Redundancy- logN Use parallel access technique • Very small size strips • Error correcting code is calculated across corresponding bits on each data disks • Multiple parity disks store Hamming code error correction in corresponding positions Some parity info of data is stored so that if any disk fails, then data can be recovered. Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 27. Data Mapping in RAID 3 Similar to RAID 2 • Bit interleaved parity used • Only one redundant disk, no matter how large the array • Simple parity bit for each set of corresponding bits • Data on failed drive can be reconstructed from surviving data and parity information e.g. For ith bit, parity will be stored as: X4(i) = X3 (i) xor X2(i) xor X1 (i) xor X0 (i) • If X2 disc is failed ,its data can be recovered as follows: Xoring X4 (i) xor X2(i) on both sides of equation ,we get: X2(i) = X3 (i) xor X1 (i) xor X0 (i) xor X4(i) X0 X1 X2 X3 X4 Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 28. RAID 4 • Make use of independent access with block level striping • Good for high I/O request rate due to large strips • Bit by bit parity calculated across stripes on each disk • Parity stored on parity disk • If N is no.of data disk ,then N+1 are total disk reqd. • If any disk gets modified, then Parity disk will get modified simultaneously ,thus a long queue can be there for writing parity info. corresponding to the blocks Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 29. RAID 5 • Parity disc distributed along each disk(No.of disk are same) • Round robin allocation for parity stripe • It avoids RAID 4 bottleneck at parity disk • Commonly used in network servers • Drawback – Disk failure has a medium impact on throughput – Difficult to rebuild in the event of a disk failure (as compared to RAID level 1) Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 30. RAID 6 • Two parity calculations are distributed along the disk • Stored in separate blocks on different disks • If 2 disk fail, then also data can be recovered • If N is no.of data disk ,then N+2 are total disk reqd. • High data availability – Three disks need to fail for data loss – Significant write penalty • Drawback – Controller overhead to compute parity is very high Hope Foundation’s International Institute of Information Technology, I²IT, P-14 Rajiv Gandhi Infotech Park, Hinjawadi, MIDC Phase I, Pune - 411 057 www.isquareit.edu.in | info@isquareit.edu.in | Tel +9120 22933441 / 2 /3
  • 31. THANK YOU For further information please contact Bailappa Bhovi Department of Computer Engineering Hope Foundation’s International Institute of Information Technology, I²IT P-14, Rajiv Gandhi Infotech Park, MIDC Phase 1, Hinjawadi, Pune – 411 057 Phone - +91 20 22933441 www.isquareit.edu.in | bailappab@isquareit.edu.in| info@isquareit.edu.in