LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-04-2003, 07:35 PM   #1
nknowles
LQ Newbie
 
Registered: Dec 2003
Distribution: mandrake 9.2
Posts: 2

Rep: Reputation: 0
kernel recompiled with highmem-- still can't use all 2GB RAM


Hi, I had to recompile my kernel (2.4.22-10mdksmp) with highmem enabled to get it to see all 2GB of my physical memory. It sees it now (ie total mem = 2GB), but /proc/meminfo shows highfree=0, while top shows only <10% of physical memory being used by running processes. So now, total RAM is 2GB and total free RAM is <700MB. Here's /proc/meminfo immediately after startup:

total: used: free: shared: buffers: cached:
Mem: 2118115328 1435373568 682741760 0 9936896 82534400
Swap: 1077501952 0 1077501952
MemTotal: 2068472 kB
MemFree: 666740 kB
MemShared: 0 kB
Buffers: 9704 kB
Cached: 80600 kB
SwapCached: 0 kB
Active: 57828 kB
Inactive: 32628 kB
HighTotal: 1179584 kB
HighFree: 0 kB
LowTotal: 888888 kB
LowFree: 666740 kB
SwapTotal: 1052248 kB
SwapFree: 1052248 kB

I tested whether this is a real problem by writing a small program that allocates a big chunk of memory (1.5GB). Sure enough, as soon as the remaining LowFree is used up, it starts slowly digging into swap, so it seems I really can't use HighMem.

Extra info-- I have a dual xeon, all memory checks out in POST and Win2K (dual-boot) uses it fine. I'm new to Linux and don't know how to diagnose this problem further.
I'd really appreciate any help!
Thanks,
Noah
 
  


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
Error when recompiling 2.4.31 Kernel for SMP and HIGHMEM mjgould Slackware 15 09-28-2005 04:11 PM
Not all RAM is used - Highmem? Tim Johnson Slackware 6 05-05-2005 08:41 AM
What if you had 2GB RAM and 4GB HD? AC97Conquerer General 21 03-28-2005 07:21 PM
process to use more than 2GB RAM simplyrahul Linux - General 12 10-27-2004 08:17 PM
How do I enable the kernel for HIGHMEM? Mike Healan Mandriva 5 05-19-2004 12:40 PM

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

All times are GMT -5. The time now is 12:58 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