LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-17-2003, 11:24 AM   #1
fishlet
LQ Newbie
 
Registered: Dec 2003
Distribution: Mandrake 9.2
Posts: 3

Rep: Reputation: 0
Unhappy Memory Usage In Enterprise Kernel


Hey Everybody... I've got a really tricky question and I havn't been able to figure out at all whats going on with my system. I recently got a new Pentium 4 system (w/hyperthreading) and 1 GB or Ram, and Installed Mandrake Linux 9.2 on it.

Now heres the thing, I read everywhere that if you have a GB or higher of RAM, I should use the Enterprise Kernel (you get a choice in Mandrake). But I notice when I use the enterprise kernel the memory usage seems to double. Heres I get for mesaurements:

Normal Kernel: 132M used, 771M free. (903 total MB available to Linux)
Enterprise Kernel: 272M used, 759M free (1031 total MB avaailable to Linux)
SMP Kernel: 132M used, 771M free (903 total MB available to Linux)

Now heres the real kicker... I have an extra 512MB that I plugged in (temporarily) bringing my total up to 1.5GB. Windows XP sees it just fine, as well as Linux. But when I plug it in, the memory usage in the Enterprise Linux kernel skyrockets to over 600M. This is really weird since all I'm doing is starting up linux and bringing up KDE System Guard. I'm not running anything that should consume any memory at all. It seems like the more memory I add, the more is reported as being used. Is there anyone here who has noticed this on their system and knows a reason for it?
 
Old 02-27-2004, 06:05 PM   #2
vrn953
LQ Newbie
 
Registered: Feb 2004
Posts: 3

Rep: Reputation: 0
Fishlet,

I am having the same problem. I am running Mandrake 9.2 enterprise kernel. I have 2GB or RAM. When I bootup almost 1.3GB is used when I check top or free!

Did you ever find an answer?

Vincent
 
Old 02-28-2004, 05:52 PM   #3
fishlet
LQ Newbie
 
Registered: Dec 2003
Distribution: Mandrake 9.2
Posts: 3

Original Poster
Rep: Reputation: 0
Its normal I guess

Well I asked around various forums and got lots of replies telling me that it's normal. Apparently Linux preallocates a sum of memory as a percentage of what you got total. I was quite alarmed when I first saw it happen but have since realized that it apparently is available since I can fire up tons of apps with no apparent delay or disk activity.

It's just confusing because of the weird way Linux reports it's memory usage. I really wish someone would fix that in the future because it doesn't make much sense. I havn't tried any 2.6 kernels yet to see if that is still the case. In any case you don't have to worry about the memory going to waste, Linux is actually using it all.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux kernel memory usage.. drminix Linux - Software 1 08-14-2005 05:47 PM
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 08:43 PM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 04:45 AM
Show Kernel Memory usage? Qten Linux - Newbie 17 08-20-2004 06:57 PM
Controlling CPU usage & memory usage Saravana babu Linux - Software 0 02-18-2004 05:55 AM


All times are GMT -5. The time now is 06:10 PM.

Main Menu
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