LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices



Reply
 
Search this Thread
Old 12-16-2010, 05:59 AM   #1
techieanupam
LQ Newbie
 
Registered: Dec 2010
Posts: 5

Rep: Reputation: 0
Difference between different memory types


hey guys i m confused totally about the memory management in operating systems.
the tutorial at
http://www.tldp.org/LDP/tlk/tlk.html
under memory management
under section 3.1 "An Abstract Model of Virtual Memory" says
'In this paged model, a virtual address is composed of two parts; an offset and a virtual page frame number. If the page size is 4 Kbytes, bits 11:0 of the virtual address contain the offset and bits 12 and above are the virtual page frame number. '

Can anyone pls explain this...
and also tell the difference between
physical memory address, main memory address, logical address, virtual address. i m really quite confused...
or give a link to the tutorial to clarify my doubt... pls.. i need to know them urgently....
 
Old 12-16-2010, 03:10 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,058

Rep: Reputation: 88
Check chapter 15 of following online book.
http://lwn.net/Kernel/LDD3/
 
Old 12-16-2010, 03:18 PM   #3
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Both of the above links are good.

The Reader's Digest Condensed version is:
a) virtually (pun intended) all modern operating systems "abstract" the underlying hardware (including physical RAM) from applications. Even embedded applications.
b) as a consequence, an "address" in a running program is a VIRTUAL (aka "logical") address.
c) there are many, many benefits to this approach.
d) the main "cost" is added complexity for the system designer
e) an important tradeoff is greater simplicity for the application developer

Last edited by paulsm4; 12-16-2010 at 03:20 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the difference allocate a memory with new global and local ajay.yadav Programming 1 03-23-2010 05:48 AM
memory difference DigiCrime *BSD 4 07-16-2008 11:32 AM
Difference between resident memory,shared memory and virtual memory in system monitor mathimca05 Linux - Newbie 1 11-11-2007 05:05 AM
Added Memory=difference in speed SteveSch Linux - General 10 10-30-2005 10:45 PM
memory types - what's what: vm resident shared rss X's jonaskoelker Linux - Software 2 05-26-2005 05:59 AM


All times are GMT -5. The time now is 10:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration