Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 12-16-2010, 04:59 AM   #1
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
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, 02:10 PM   #2
Senior Member
Registered: Apr 2009
Posts: 1,496

Rep: Reputation: 136Reputation: 136
Check chapter 15 of following online book.
Old 12-16-2010, 02:18 PM   #3
LQ 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 02:20 PM.


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 04:48 AM
memory difference DigiCrime *BSD 4 07-16-2008 10:32 AM
Difference between resident memory,shared memory and virtual memory in system monitor mathimca05 Linux - Newbie 1 11-11-2007 04:05 AM
Added Memory=difference in speed SteveSch Linux - General 10 10-30-2005 09:45 PM
memory types - what's what: vm resident shared rss X's jonaskoelker Linux - Software 2 05-26-2005 04:59 AM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 07:04 PM.

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