SlideShare a Scribd company logo
1 of 20
BITS Pilani
Pilani Campus
Data Storage Technologies
& Networks
Dr. Virendra Singh Shekhawat
Department of Computer Science and Information Systems
BITS Pilani, Pilani Campus
Topics
• Computer System Architecture
– Memory Hierarchy
2
Main
Memory
Processor
Registers
I/O Printer, Modems, Secondary Storage,
Monitor etc.
Address
Control
Data bus
Address
Control
Data bus
BITS Pilani, Pilani Campus
Three Tier Architecture
• Computing
– Apps such as web servers, video conferencing,
database server, streaming etc.
• Networking
– Provides connectivity between computing nodes
– e.g. web service running on a computing node talks
to a database service running on another computer
• Storage (Persistent + Non-Persistent)
– All data resides
3
BITS Pilani, Pilani Campus
Memory Requirements
• Per computation data (non-persistent) and
Permanent (Persistent) data
• Separate memory/storage required for both
– Technology driven
• Volatile vs. Non-volatile
– Cost driven
• Faster and Costlier vs. Slower and Cheaper
4
BITS Pilani, Pilani Campus
Memory Bandwidth
Requirement[1]
DEC VAX
11/780
(circa ‘80)
Early pipelines
(circa ‘90)
Superscalars
(circa ‘00)
Hyperthreaded
Multi-cores
(circa ‘08)
Clock Cycle 250ns 25ns 1ns 0.4ns
5
BITS Pilani, Pilani Campus
Memory Bandwidth
Requirement[2]
6
DEC VAX
11/780
(circa ‘80)
Early pipelines
(circa ‘90)
Superscalars
(circa ‘00)
Hyperthreaded
Multi-cores
(circa ‘08)
Clock Cycle 250ns 25ns 1ns 0.4ns
Instructions
per cycle
0.1 1 2 (4-way) 8 (quad core,2
threads/core
BITS Pilani, Pilani Campus
Memory Bandwidth
Requirement[3]
7
DEC VAX
11/780
(circa ‘80)
Early pipelines
(circa ‘90)
Superscalars
(circa ‘00)
Hyperthreaded
Multi-cores
(circa ‘08)
Clock Cycle 250ns 25ns 1ns 0.4ns
Instructions
per cycle
0.1 1 2 (4-way) 8 (quad core,2
threads/core
Instructions per second = Cycles per second * Instructions per cycle
Instructions
per second
4 * 105 40 * 106 2 * 109 20 * 1010
BITS Pilani, Pilani Campus
Memory Bandwidth
Requirement[4]
8
DEC VAX
11/780
(circa ‘80)
Early pipelines
(circa ‘90)
Superscalars
(circa ‘00)
Hyperthreaded
Multi-cores
(circa ‘08)
Instructions
per second
4 * 105 40 * 106 2 * 109 20 * 1010
Instruction Size 3.8B 4B 4B 4B
Operands in
memory per
instruction
1.8 *4B 0.3 *4B 0.25*4B 0.25*4B
BITS Pilani, Pilani Campus
Memory Bandwidth
Requirement[5]
9
DEC VAX
11/780
(circa ‘80)
Early pipelines
(circa ‘90)
Superscalars
(circa ‘00)
Hyperthreaded
Multi-cores
(circa ‘08)
Instructions
per second
4 * 105 40 * 106 2 * 109 20 * 1010
Instruction Size 3.8B 4B 4B 4B
Operands in
memory per
instruction
1.8 *4B 0.3 *4B 0.25*4B 0.25*4B
BW Demand = Instructions per second * (Instruction size + Operand size)
BW Demand 4.4 Mbps 208 Mbps 10 Gbps 100 Gbps
BITS Pilani, Pilani Campus
Memory Hierarchy[1]
• How do we meet memory BW requirements?
– Observation
• A typical data item may be accessed more than once
– Locality of reference
• Memory references are clustered to either a small region
of memory locations or same set of data accessed
frequently
10
BITS Pilani, Pilani Campus
Memory Hierarchy[2]
• How do we meet memory bandwidth requirements?
• Multiple levels
– Early days – register set, primary, secondary and archival
– Present day- register set, L1 cache, L2 cache, DRAM,
direct attached storage, networked storage and archival
storage
• Motivation
– Amortization of cost
– As we move down the hierarchy cost decreases and speed
decreases.
11
BITS Pilani, Pilani Campus
Memory Hierarchy[3]
• Multi-Level Inclusion Principle
– All the data in level h is included in level h+1
• Reasons?
– Level h+1 is typically more persistent than level h.
– Level h+1 is order(s) of magnitude larger.
– When level h data has to be replaced (Why?)
• Only written data needs to be copied.
• Why is this good savings?
12
BITS Pilani, Pilani Campus
Memory Hierarchy:
Performance
• Exercise:
– Effective Access time for 2-level hierarchy
13
BITS Pilani, Pilani Campus
Memory Hierarchy: Memory
Efficiency
• Memory Efficiency
– M.E. = 100 * (Th/Teff)
– M.E. = 100/(1+Pmiss (R-1)) [R = Th+1/Th]
• Maximum memory efficiency
– R = 1 or Pmiss = 0
– Consider
• R = 10 (CPU/SRAM)
• R = 50 (CPU/DRAM)
• R = 100 (CPU/Disk)
• What will be the Pmiss for ME = 95% for each of these?
14
BITS Pilani, Pilani Campus
Memory Technologies-
Computational
• Cache between CPU registers and main memory
– Static RAM (6 transistors per cell)
– Typical Access Time ~10ns
• Main Memory
– Dynamic RAM (1 transistor + 1 capacitor)
– Capacitive leakage results in loss of data
• Needs to be refreshed periodically – hence the term
“dynamic”
– Typical Access Time ~50ns
– Typical Refresh Cycle ~100ms.
15
BITS Pilani, Pilani Campus
Memory Technologies-
Persistent
• Hard Disks
– Used for persistent online storage
– Typical access time: 10 to 15ms
– Semi-random or semi-sequential access:
• Access in blocks – typically – of 512 bytes.
– Cost per GB – Approx. Rs 5.50
• Flash Devices (Solid State Drive)
– Electrically Erasable Programmable ROM
– Used for persistent online storage
– Limit on Erases – currently 100,000 to 500,000
– Read Access Time: 50ns
– Write Access Time: 10 micro seconds
– Semi-random or semi-sequential write:
• Blocks – say 512 bits.
– Cost Per GByte – U.S. $5.00 (circa 2007)
16
BITS Pilani, Pilani Campus
Memory Technologies-Archival
• Magnetic Tapes
– Access Time – (Initial) 10 sec.; 60Mbps data transfer
– Density – up-to 6.67 billion bits per square inch
– Data Access – Sequential
– Cost - Cheapest
17
BITS Pilani, Pilani Campus
Caching
• L1, L2, and L3 caches between CPU and RAM
– Transparent to OS and Apps.
– L1 is typically on (processor) chip
• R=1 to 2
• May be separate for data and instructions (Why?)
• L3 is typically on-board (i.e. processor board
or “motherboard”)
– R=5 to 10
18
BITS Pilani, Pilani Campus
Caching- Generic [1]
• Caching as a principle can be applied between any two
levels of memory
– e.g. Buffer Cache (part of RAM)
– transparent to App, maintained by OS, between main memory
and hard disk,
• R RAM,buffer = 1
• e.g. Disk cache
– between RAM and hard disk
– typically part of disk controller
– typically semiconductor memory
– may be non-volatile ROM on high end disks to support power
breakdowns.
– transparent to OS and Apps
19
BITS Pilani, Pilani Campus
Thank You!
20

More Related Content

What's hot

Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...xKinAnx
 
Harvard architecture
Harvard architectureHarvard architecture
Harvard architectureGichelle Amon
 
ADVANCED COMPUTER ARCHITECTURE AND PARALLEL PROCESSING
ADVANCED COMPUTER ARCHITECTUREAND PARALLEL PROCESSINGADVANCED COMPUTER ARCHITECTUREAND PARALLEL PROCESSING
ADVANCED COMPUTER ARCHITECTURE AND PARALLEL PROCESSING Zena Abo-Altaheen
 
Lec9 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part 1
Lec9 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part 1Lec9 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part 1
Lec9 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part 1Hsien-Hsin Sean Lee, Ph.D.
 
Single instruction multiple data
Single instruction multiple dataSingle instruction multiple data
Single instruction multiple dataSyed Zaid Irshad
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAAiman Hud
 
Spectrum Scale Best Practices by Olaf Weiser
Spectrum Scale Best Practices by Olaf WeiserSpectrum Scale Best Practices by Olaf Weiser
Spectrum Scale Best Practices by Olaf WeiserSandeep Patil
 

What's hot (20)

Chapter 2 pc
Chapter 2 pcChapter 2 pc
Chapter 2 pc
 
Memory
MemoryMemory
Memory
 
Advanced computer architecture
Advanced computer architectureAdvanced computer architecture
Advanced computer architecture
 
Aca2 08 new
Aca2 08 newAca2 08 new
Aca2 08 new
 
04 cache memory
04 cache memory04 cache memory
04 cache memory
 
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...
 
Harvard architecture
Harvard architectureHarvard architecture
Harvard architecture
 
ADVANCED COMPUTER ARCHITECTURE AND PARALLEL PROCESSING
ADVANCED COMPUTER ARCHITECTUREAND PARALLEL PROCESSINGADVANCED COMPUTER ARCHITECTUREAND PARALLEL PROCESSING
ADVANCED COMPUTER ARCHITECTURE AND PARALLEL PROCESSING
 
Chapter 8 - Main Memory
Chapter 8 - Main MemoryChapter 8 - Main Memory
Chapter 8 - Main Memory
 
OSCh9
OSCh9OSCh9
OSCh9
 
Vector computing
Vector computingVector computing
Vector computing
 
CO Module 5
CO Module 5CO Module 5
CO Module 5
 
Lec9 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part 1
Lec9 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part 1Lec9 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part 1
Lec9 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part 1
 
Hpc 4 5
Hpc 4 5Hpc 4 5
Hpc 4 5
 
Single instruction multiple data
Single instruction multiple dataSingle instruction multiple data
Single instruction multiple data
 
cache
cachecache
cache
 
Coa presentation3
Coa presentation3Coa presentation3
Coa presentation3
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
Main Memory
Main MemoryMain Memory
Main Memory
 
Spectrum Scale Best Practices by Olaf Weiser
Spectrum Scale Best Practices by Olaf WeiserSpectrum Scale Best Practices by Olaf Weiser
Spectrum Scale Best Practices by Olaf Weiser
 

Similar to M1 rl 1.1.1

Memory Hierarchy PPT of Computer Organization
Memory Hierarchy PPT of Computer OrganizationMemory Hierarchy PPT of Computer Organization
Memory Hierarchy PPT of Computer Organization2022002857mbit
 
Lec10 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part2
Lec10 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part2Lec10 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part2
Lec10 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part2Hsien-Hsin Sean Lee, Ph.D.
 
M2 212-unix fs-rl_2.1.2
M2 212-unix fs-rl_2.1.2M2 212-unix fs-rl_2.1.2
M2 212-unix fs-rl_2.1.2MrudulaJoshi10
 
Decoupling Compute from Memory, Storage and IO with OMI
Decoupling Compute from Memory, Storage and IO with OMIDecoupling Compute from Memory, Storage and IO with OMI
Decoupling Compute from Memory, Storage and IO with OMIAllan Cantle
 
Ics21 workshop decoupling compute from memory, storage & io with omi - ...
Ics21 workshop   decoupling compute from memory, storage & io with omi - ...Ics21 workshop   decoupling compute from memory, storage & io with omi - ...
Ics21 workshop decoupling compute from memory, storage & io with omi - ...Vaibhav R
 
M2 242-scsi-bus rl-2.4.2
M2 242-scsi-bus rl-2.4.2M2 242-scsi-bus rl-2.4.2
M2 242-scsi-bus rl-2.4.2MrudulaJoshi10
 
cache cache memory memory cache memory.pptx
cache cache memory memory cache memory.pptxcache cache memory memory cache memory.pptx
cache cache memory memory cache memory.pptxsaimawarsi
 
CPU Memory Hierarchy and Caching Techniques
CPU Memory Hierarchy and Caching TechniquesCPU Memory Hierarchy and Caching Techniques
CPU Memory Hierarchy and Caching TechniquesDilum Bandara
 
Basic hardware concept
Basic hardware concept Basic hardware concept
Basic hardware concept Danilo Anos
 
Computer Memory Hierarchy Computer Architecture
Computer Memory Hierarchy Computer ArchitectureComputer Memory Hierarchy Computer Architecture
Computer Memory Hierarchy Computer ArchitectureHaris456
 
In datacenter performance analysis of a tensor processing unit
In datacenter performance analysis of a tensor processing unitIn datacenter performance analysis of a tensor processing unit
In datacenter performance analysis of a tensor processing unitJinwon Lee
 
Lecture 2 computer evolution and performance
Lecture 2 computer evolution and performanceLecture 2 computer evolution and performance
Lecture 2 computer evolution and performanceWajahat HuxaIn
 
CPN302 your-linux-ami-optimization-and-performance
CPN302 your-linux-ami-optimization-and-performanceCPN302 your-linux-ami-optimization-and-performance
CPN302 your-linux-ami-optimization-and-performanceCoburn Watson
 

Similar to M1 rl 1.1.1 (20)

M1 rl 1.2.1
M1 rl 1.2.1M1 rl 1.2.1
M1 rl 1.2.1
 
M1 rl 1.3.1
M1 rl 1.3.1M1 rl 1.3.1
M1 rl 1.3.1
 
M4 fc stack-4.1.1
M4 fc stack-4.1.1M4 fc stack-4.1.1
M4 fc stack-4.1.1
 
Memory Hierarchy PPT of Computer Organization
Memory Hierarchy PPT of Computer OrganizationMemory Hierarchy PPT of Computer Organization
Memory Hierarchy PPT of Computer Organization
 
Lec10 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part2
Lec10 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part2Lec10 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part2
Lec10 Computer Architecture by Hsien-Hsin Sean Lee Georgia Tech -- Memory part2
 
M2 212-unix fs-rl_2.1.2
M2 212-unix fs-rl_2.1.2M2 212-unix fs-rl_2.1.2
M2 212-unix fs-rl_2.1.2
 
Decoupling Compute from Memory, Storage and IO with OMI
Decoupling Compute from Memory, Storage and IO with OMIDecoupling Compute from Memory, Storage and IO with OMI
Decoupling Compute from Memory, Storage and IO with OMI
 
Ics21 workshop decoupling compute from memory, storage & io with omi - ...
Ics21 workshop   decoupling compute from memory, storage & io with omi - ...Ics21 workshop   decoupling compute from memory, storage & io with omi - ...
Ics21 workshop decoupling compute from memory, storage & io with omi - ...
 
Caches microP
Caches microPCaches microP
Caches microP
 
M2 242-scsi-bus rl-2.4.2
M2 242-scsi-bus rl-2.4.2M2 242-scsi-bus rl-2.4.2
M2 242-scsi-bus rl-2.4.2
 
cache cache memory memory cache memory.pptx
cache cache memory memory cache memory.pptxcache cache memory memory cache memory.pptx
cache cache memory memory cache memory.pptx
 
CPU Memory Hierarchy and Caching Techniques
CPU Memory Hierarchy and Caching TechniquesCPU Memory Hierarchy and Caching Techniques
CPU Memory Hierarchy and Caching Techniques
 
M1 rl 1.4.1
M1 rl 1.4.1M1 rl 1.4.1
M1 rl 1.4.1
 
Basic hardware concept
Basic hardware concept Basic hardware concept
Basic hardware concept
 
Computer Memory Hierarchy Computer Architecture
Computer Memory Hierarchy Computer ArchitectureComputer Memory Hierarchy Computer Architecture
Computer Memory Hierarchy Computer Architecture
 
In datacenter performance analysis of a tensor processing unit
In datacenter performance analysis of a tensor processing unitIn datacenter performance analysis of a tensor processing unit
In datacenter performance analysis of a tensor processing unit
 
M4 f co-e_4.4.2
M4 f co-e_4.4.2M4 f co-e_4.4.2
M4 f co-e_4.4.2
 
Lecture 2 computer evolution and performance
Lecture 2 computer evolution and performanceLecture 2 computer evolution and performance
Lecture 2 computer evolution and performance
 
Overview of HPC Interconnects
Overview of HPC InterconnectsOverview of HPC Interconnects
Overview of HPC Interconnects
 
CPN302 your-linux-ami-optimization-and-performance
CPN302 your-linux-ami-optimization-and-performanceCPN302 your-linux-ami-optimization-and-performance
CPN302 your-linux-ami-optimization-and-performance
 

More from MrudulaJoshi10

More from MrudulaJoshi10 (11)

M4 san features-4.3.1
M4 san features-4.3.1M4 san features-4.3.1
M4 san features-4.3.1
 
M4 rdma 4.5.1
M4 rdma 4.5.1M4 rdma 4.5.1
M4 rdma 4.5.1
 
M4 fc san-4.2.1
M4 fc san-4.2.1M4 fc san-4.2.1
M4 fc san-4.2.1
 
M3 smb cifs-protocol_3.3.1
M3 smb cifs-protocol_3.3.1M3 smb cifs-protocol_3.3.1
M3 smb cifs-protocol_3.3.1
 
M3 nfs fs-3.2.1
M3 nfs fs-3.2.1M3 nfs fs-3.2.1
M3 nfs fs-3.2.1
 
M3 nfs fs-_performance_3.2.2
M3 nfs fs-_performance_3.2.2M3 nfs fs-_performance_3.2.2
M3 nfs fs-_performance_3.2.2
 
M3 nas architecture-3.1.1
M3 nas architecture-3.1.1M3 nas architecture-3.1.1
M3 nas architecture-3.1.1
 
M2 241-buses rl-2.4.1
M2 241-buses rl-2.4.1M2 241-buses rl-2.4.1
M2 241-buses rl-2.4.1
 
M2 231-io tech-rl_2.3.1
M2 231-io tech-rl_2.3.1M2 231-io tech-rl_2.3.1
M2 231-io tech-rl_2.3.1
 
M2 221-ssd fs-rl_2.2.1
M2 221-ssd fs-rl_2.2.1M2 221-ssd fs-rl_2.2.1
M2 221-ssd fs-rl_2.2.1
 
M2 211-unix fs-rl_2.1.1
M2 211-unix fs-rl_2.1.1M2 211-unix fs-rl_2.1.1
M2 211-unix fs-rl_2.1.1
 

Recently uploaded

Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
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
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01KreezheaRecto
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdfSuman Jyoti
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptMsecMca
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 

Recently uploaded (20)

Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
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...
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 

M1 rl 1.1.1

  • 1. BITS Pilani Pilani Campus Data Storage Technologies & Networks Dr. Virendra Singh Shekhawat Department of Computer Science and Information Systems
  • 2. BITS Pilani, Pilani Campus Topics • Computer System Architecture – Memory Hierarchy 2 Main Memory Processor Registers I/O Printer, Modems, Secondary Storage, Monitor etc. Address Control Data bus Address Control Data bus
  • 3. BITS Pilani, Pilani Campus Three Tier Architecture • Computing – Apps such as web servers, video conferencing, database server, streaming etc. • Networking – Provides connectivity between computing nodes – e.g. web service running on a computing node talks to a database service running on another computer • Storage (Persistent + Non-Persistent) – All data resides 3
  • 4. BITS Pilani, Pilani Campus Memory Requirements • Per computation data (non-persistent) and Permanent (Persistent) data • Separate memory/storage required for both – Technology driven • Volatile vs. Non-volatile – Cost driven • Faster and Costlier vs. Slower and Cheaper 4
  • 5. BITS Pilani, Pilani Campus Memory Bandwidth Requirement[1] DEC VAX 11/780 (circa ‘80) Early pipelines (circa ‘90) Superscalars (circa ‘00) Hyperthreaded Multi-cores (circa ‘08) Clock Cycle 250ns 25ns 1ns 0.4ns 5
  • 6. BITS Pilani, Pilani Campus Memory Bandwidth Requirement[2] 6 DEC VAX 11/780 (circa ‘80) Early pipelines (circa ‘90) Superscalars (circa ‘00) Hyperthreaded Multi-cores (circa ‘08) Clock Cycle 250ns 25ns 1ns 0.4ns Instructions per cycle 0.1 1 2 (4-way) 8 (quad core,2 threads/core
  • 7. BITS Pilani, Pilani Campus Memory Bandwidth Requirement[3] 7 DEC VAX 11/780 (circa ‘80) Early pipelines (circa ‘90) Superscalars (circa ‘00) Hyperthreaded Multi-cores (circa ‘08) Clock Cycle 250ns 25ns 1ns 0.4ns Instructions per cycle 0.1 1 2 (4-way) 8 (quad core,2 threads/core Instructions per second = Cycles per second * Instructions per cycle Instructions per second 4 * 105 40 * 106 2 * 109 20 * 1010
  • 8. BITS Pilani, Pilani Campus Memory Bandwidth Requirement[4] 8 DEC VAX 11/780 (circa ‘80) Early pipelines (circa ‘90) Superscalars (circa ‘00) Hyperthreaded Multi-cores (circa ‘08) Instructions per second 4 * 105 40 * 106 2 * 109 20 * 1010 Instruction Size 3.8B 4B 4B 4B Operands in memory per instruction 1.8 *4B 0.3 *4B 0.25*4B 0.25*4B
  • 9. BITS Pilani, Pilani Campus Memory Bandwidth Requirement[5] 9 DEC VAX 11/780 (circa ‘80) Early pipelines (circa ‘90) Superscalars (circa ‘00) Hyperthreaded Multi-cores (circa ‘08) Instructions per second 4 * 105 40 * 106 2 * 109 20 * 1010 Instruction Size 3.8B 4B 4B 4B Operands in memory per instruction 1.8 *4B 0.3 *4B 0.25*4B 0.25*4B BW Demand = Instructions per second * (Instruction size + Operand size) BW Demand 4.4 Mbps 208 Mbps 10 Gbps 100 Gbps
  • 10. BITS Pilani, Pilani Campus Memory Hierarchy[1] • How do we meet memory BW requirements? – Observation • A typical data item may be accessed more than once – Locality of reference • Memory references are clustered to either a small region of memory locations or same set of data accessed frequently 10
  • 11. BITS Pilani, Pilani Campus Memory Hierarchy[2] • How do we meet memory bandwidth requirements? • Multiple levels – Early days – register set, primary, secondary and archival – Present day- register set, L1 cache, L2 cache, DRAM, direct attached storage, networked storage and archival storage • Motivation – Amortization of cost – As we move down the hierarchy cost decreases and speed decreases. 11
  • 12. BITS Pilani, Pilani Campus Memory Hierarchy[3] • Multi-Level Inclusion Principle – All the data in level h is included in level h+1 • Reasons? – Level h+1 is typically more persistent than level h. – Level h+1 is order(s) of magnitude larger. – When level h data has to be replaced (Why?) • Only written data needs to be copied. • Why is this good savings? 12
  • 13. BITS Pilani, Pilani Campus Memory Hierarchy: Performance • Exercise: – Effective Access time for 2-level hierarchy 13
  • 14. BITS Pilani, Pilani Campus Memory Hierarchy: Memory Efficiency • Memory Efficiency – M.E. = 100 * (Th/Teff) – M.E. = 100/(1+Pmiss (R-1)) [R = Th+1/Th] • Maximum memory efficiency – R = 1 or Pmiss = 0 – Consider • R = 10 (CPU/SRAM) • R = 50 (CPU/DRAM) • R = 100 (CPU/Disk) • What will be the Pmiss for ME = 95% for each of these? 14
  • 15. BITS Pilani, Pilani Campus Memory Technologies- Computational • Cache between CPU registers and main memory – Static RAM (6 transistors per cell) – Typical Access Time ~10ns • Main Memory – Dynamic RAM (1 transistor + 1 capacitor) – Capacitive leakage results in loss of data • Needs to be refreshed periodically – hence the term “dynamic” – Typical Access Time ~50ns – Typical Refresh Cycle ~100ms. 15
  • 16. BITS Pilani, Pilani Campus Memory Technologies- Persistent • Hard Disks – Used for persistent online storage – Typical access time: 10 to 15ms – Semi-random or semi-sequential access: • Access in blocks – typically – of 512 bytes. – Cost per GB – Approx. Rs 5.50 • Flash Devices (Solid State Drive) – Electrically Erasable Programmable ROM – Used for persistent online storage – Limit on Erases – currently 100,000 to 500,000 – Read Access Time: 50ns – Write Access Time: 10 micro seconds – Semi-random or semi-sequential write: • Blocks – say 512 bits. – Cost Per GByte – U.S. $5.00 (circa 2007) 16
  • 17. BITS Pilani, Pilani Campus Memory Technologies-Archival • Magnetic Tapes – Access Time – (Initial) 10 sec.; 60Mbps data transfer – Density – up-to 6.67 billion bits per square inch – Data Access – Sequential – Cost - Cheapest 17
  • 18. BITS Pilani, Pilani Campus Caching • L1, L2, and L3 caches between CPU and RAM – Transparent to OS and Apps. – L1 is typically on (processor) chip • R=1 to 2 • May be separate for data and instructions (Why?) • L3 is typically on-board (i.e. processor board or “motherboard”) – R=5 to 10 18
  • 19. BITS Pilani, Pilani Campus Caching- Generic [1] • Caching as a principle can be applied between any two levels of memory – e.g. Buffer Cache (part of RAM) – transparent to App, maintained by OS, between main memory and hard disk, • R RAM,buffer = 1 • e.g. Disk cache – between RAM and hard disk – typically part of disk controller – typically semiconductor memory – may be non-volatile ROM on high end disks to support power breakdowns. – transparent to OS and Apps 19
  • 20. BITS Pilani, Pilani Campus Thank You! 20