Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Virtual Memory

Virtual Memory

Ratings: (0)|Views: 74 |Likes:
Published by Anik
Motivations for VM
Address translation
Accelerating translation with TLBs
Motivations for VM
Address translation
Accelerating translation with TLBs

More info:

Categories:Types, School Work
Published by: Anik on May 21, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less

05/21/2011

pdf

text

original

 
Virtual Memory 
Some slides based on those provided by the authors of the text 
Topics
‡Motivations for VM ‡Address translation‡Accelerating translation with TLBs
 
ompOrg Fall -Virtual Memory 
Motivations for Virtual Memory 
‡Use Physical DRAM as a
ache for the Disk 
‡Address space of a process can exceed physical memory size‡Sum of address spaces of multiple processes can exceed physical memory 
‡Simplify Memory Managemen
‡Multiple processes resident in main memory. ±Each process with its own address space‡Only ³active´ code and data is actually in memor ±Allocate more memory to process as needed.
Provide Protection
‡One process can¶t interfere with another. ±because they operate in different address spaces.‡User process cannot access privileged information ±different sections of address spaces have different permissions.
 
ompOrg Fall -Virtual Memory 3
Motivation #1: DRAM a ³ 
ache´ for Disk 
Full address space is quite large:
‡32-bit addresses: ~4,000,000,000 (4 billion) bytes‡64-bit addresses: ~16,000,000,000,000,000,000 (16 quintillion) bytes
Disk storage is ~156X cheaper than DRAM storage
‡8 GB of DRAM: ~ $10,000 ‡8 GB of disk: ~ $64
To access large amounts of data in a cost-effective manner, thebulk of the data must be stored on disk 
256 MB: ~$320 8 GB: ~$644 MB: ~$400 
Disk 
DRAM SRAM 

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->