LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-17-2008, 09:48 AM   #1
vkmgeek
Member
 
Registered: Feb 2006
Location: Ahmedabad
Distribution: rhel5
Posts: 185
Blog Entries: 2

Rep: Reputation: 31
/proc/meminfo


Hi all,
I have 8GB RAM on my machine, but when I do cat /proc/meminfo, it shows only 512MB.
Anybody is having any idea? why is it so ?

I am running RHEL4u4 32 bit OS and having kernel 2.6.9-42.ELsmp


[root@amd-245 ~]# cat /etc/issue
Red Hat Enterprise Linux ES release 4 (Nahant Update 4)
Kernel \r on an \m

[root@amd-245 ~]# uname -a
Linux amd-245 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 athlon i386 GNU/Linux
[root@amd-245 ~]#



Thanks in advance
 
Old 03-17-2008, 10:10 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Can you give the output of /proc/meminfo?

Is your system recognizing 8GB of RAM at bootup in the BIOS?

What does top or free provide when you run those commands?
 
Old 03-17-2008, 12:21 PM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I heard that no Red Hat EL kernel has hugemem enabled, this means the most you will get is 4 GB of usable RAM. I could be wrong, but I don't know where to check either.
 
Old 03-17-2008, 05:00 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by H_TeXMeX_H View Post
I heard that no Red Hat EL kernel has hugemem enabled, this means the most you will get is 4 GB of usable RAM. I could be wrong, but I don't know where to check either.
But clearly this is not the issue since it's only reporting 512MB of memory. I'm guessing either there's hardware issue or they're possibly reading the output wrong possibly.
 
Old 03-19-2008, 09:25 AM   #5
vkmgeek
Member
 
Registered: Feb 2006
Location: Ahmedabad
Distribution: rhel5
Posts: 185

Original Poster
Blog Entries: 2

Rep: Reputation: 31
ok !!
I got it !!
I was giving Kernel parameters as mem=512M , mistakenly...
Anyway, i hav got a new doubt then.... I removed the option now... But, will I be able to use all 8G RAM or I ll be allowed to use only 4G....

Is it like that if I want to use all 8G RAM then I hv to boot hugemem Kernel ?
 
Old 03-19-2008, 09:27 AM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by vkmgeek View Post
ok !!
I got it !!
I was giving Kernel parameters as mem=512M , mistakenly...
Anyway, i hav got a new doubt then.... I removed the option now... But, will I be able to use all 8G RAM or I ll be allowed to use only 4G....

Is it like that if I want to use all 8G RAM then I hv to boot hugemem Kernel ?
Well, after removing the kernel parameter and you rebooted, how much memory is being detected? If only 4GB, then recompile or install a hugemem kernel to utilize all of your memory.
 
Old 03-20-2008, 12:12 AM   #7
vkmgeek
Member
 
Registered: Feb 2006
Location: Ahmedabad
Distribution: rhel5
Posts: 185

Original Poster
Blog Entries: 2

Rep: Reputation: 31
No
I was able to see 8G RAM... So, no prob...
But then still i dont understand why hugemem kernel is there ?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is the Memory info given by dmesg and /proc/meminfo same? sameeruj Linux - General 1 09-13-2007 07:46 AM
/proc/meminfo output if you have exactly 4GB of RAM elpy Linux - Hardware 10 07-31-2007 07:55 PM
/proc/meminfo hiding some memory? elpy Linux - Hardware 3 07-28-2007 10:26 AM
/proc/meminfo gives wrong info jr8rdt Linux - Hardware 2 12-07-2006 06:37 PM
Define fields in /proc/meminfo ilnli Linux - General 1 05-17-2005 01:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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