LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-23-2004, 01:21 PM   #1
icoming
Member
 
Registered: Feb 2004
Posts: 96

Rep: Reputation: 15
What are 'node' and 'zone' which are used in the linux's memory management


How do node and zone work in Linux?
And why Linux use them?
I really do not anything about them.
 
Old 12-23-2004, 01:33 PM   #2
bm17
Member
 
Registered: Sep 2004
Location: Santa Cruz, CA, USA
Distribution: Redhat 9.0
Posts: 104

Rep: Reputation: 15
The are used to identify what piece of physical memory a page is mapped to. Differant physical memory ranges has differant characteristics. For instance, some ranges permit DMA transfers while others do not.

Try google "linux zome node" for more info. here's a good link: http://home.earthlink.net/~jknapka/l...zonealloc.html
 
Old 12-23-2004, 10:54 PM   #3
shishir
Member
 
Registered: Jul 2003
Location: bangalore . india
Distribution: openSUSE 10.3
Posts: 251

Rep: Reputation: 33
there are three zones:

ZONE_DMA First 16MiB of memory
ZONE_NORMAL 16MiB - 896MiB
ZONE_HIGHMEM 896 MiB - End

this is to specify how memory can be used and what memory is to be used for what...and of course there are fallovers into other territories when under pressure...

node can be looked at as a container that contains all the pages..for different zones...these nodes are represented by data structures: pg_data_t..there may be multiple such nodes...
i would suggest you go through this great book:
Understanding The Linux Virtual Memory Manager:Mel Gorman
there is an annotated code walkttrough for this book too:
Code Commentary On The Linux Virtual Memory Manager

these are exhaustive works..so you would find answers to all
your questions in these books
 
Old 12-24-2004, 04:11 AM   #4
icoming
Member
 
Registered: Feb 2004
Posts: 96

Original Poster
Rep: Reputation: 15
thank you
 
  


Reply



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
memory management navaladi Mandriva 2 02-18-2005 06:47 AM
memory management exigent Linux - General 1 08-17-2003 08:28 PM
memory management? snow Linux - Software 7 02-12-2003 01:57 PM
Memory Management hhegab Linux - General 3 08-07-2002 10:20 PM
Memory Management mrsolo Linux - General 7 06-26-2002 12:55 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:57 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
Open Source Consulting | Domain Registration