LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-24-2005, 06:11 AM   #1
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware
Posts: 573

Rep: Reputation: 59
Question Using Himem kernel, but RAM total seems short?


Hi,

I finally got around to compiling a Kernel - 2.6.12.3 under slackware current.

As I have 1 Gig RAM I enabled Himem support.

Everything is running fine but the amount of memory reported seems slightly short of a gigabyte.

andrew@foobar:~$ free -t
total used free shared buffers cached
Mem: 1035532 441632 593900 0 45708 277008
-/+ buffers/cache: 118916 916616
Swap: 658656 0 658656
Total: 1694188 441632 1252556

and

andrew@foobar:~$ cat /proc/meminfo
MemTotal: 1035532 kB
MemFree: 543284 kB
Buffers: 55796 kB
Cached: 293176 kB
SwapCached: 0 kB
Active: 237188 kB
Inactive: 216568 kB
HighTotal: 131008 kB
HighFree: 120 kB
LowTotal: 904524 kB
LowFree: 543164 kB
SwapTotal: 658656 kB
SwapFree: 658656 kB
Dirty: 20 kB
Writeback: 0 kB
Mapped: 163120 kB
Slab: 29052 kB
CommitLimit: 1176420 kB
Committed_AS: 242960 kB
PageTables: 1508 kB
VmallocTotal: 114680 kB
VmallocUsed: 4688 kB
VmallocChunk: 109944 kB

I was under the impression that I had 1048576 kB of RAM.
Is my memory borked, is this a quirk of linux or is there some other explanation? I've had a quick look but found no obvious explanations , but feel I'm missing something obvious

Thanks in advance
 
Old 07-24-2005, 07:46 AM   #2
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
You could always run memtest86+ which would advise you if your memory was OK.

samac
 
Old 07-24-2005, 01:44 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
I think that /proc/meminfo and free don't report memory that the kernel has permanently allocated for itself (i.e. can never be released without crashing the kernel). This is why memory totals are always a little short (regardless of mem size). I've never bothered to actually poke deeper and try to verify this, though.
 
Old 07-24-2005, 03:35 PM   #4
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware
Posts: 573

Original Poster
Rep: Reputation: 59
Thanks for the answers

The memory being allocated to the kernel sounds logical, and its still beats the amount reported before I recompiled the kernel.

I think my memory is ok (ran a quick memtest86 - obviously need to run a more thorough one later), also I run CPDN under windoze at the moment, and that is a pretty good test of reliability of your memory.

(Will switch CPDN to Slackware when my present run is finished)

BTW: couldn't have done the compile successfully without the guides here
 
  


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
Himem problem on 2.4.31 sweetnsourbkr Linux - Hardware 1 10-10-2005 03:21 PM
kernel-2.6.11-1.14_FC3 disables usb keyboard after short idle time acebass Fedora 2 05-22-2005 09:02 AM
Kernel compilation - is there a short cut ? prabhatsoni Linux - Software 1 11-30-2004 03:42 AM
shared Memory versus the total amount of RAM on the server ashley75 Linux - General 1 08-25-2003 11:21 AM
Total Newbie Kernel Question rhubarb Linux - Newbie 3 01-31-2003 10:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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