[LUAU] goofy RAM question
Jim Thompson
jim at netgate.com
Fri Jul 29 01:03:30 PDT 2005
Which architecture ISO did you load (i386? x86-64? ia64?)
Hopefully you've loaded CentOs x86-64 4.1.
Under the 'x86' architecture (32 bit), the system can only address 4
GB of allocated memory. Allocated memory is made up of physical ram,
and any I/O space needed by devices. The I/o space is allocated
starting at 4GB then working down. One limitation is that the
boundry must be on a power of two, so you get 4 GB minus a power of
two big enough for the kernel-reserved I/O areas.
gonzo:~ jim$ echo "(2^32-(3504968*1024))/1024" | bc -l
689336.00000000000000000000
If you have loaded x86-64, then I have no idea what might be wrong.
If you loaded x86, then the fix is simple... :-)
jim
On Jul 28, 2005, at 6:56 PM, Charles Lockhart wrote:
> The question is probably goofy, not the ram.
>
> I just installed 4GB of RAM on a Dell Precision 450 running
> CentOS4 (dual Xeon P4 workstation). The BIOS reports seeing all
> of it, but when I run "cat /proc/meminfo" I see number that don't
> see quite right for the MemTotal. Is the OS really not seeing the
> RAM, or is is it just listed differently? I remember something
> about a kernel limitation at around 4GB, and there was a special
> kernel for running with gt 4GB, but now the threshold seems to be
> 16GB, it seems like 4GB wouldn't cause a problem.
>
> I got the memory from Kingston, via their RAM selector web
> interface guide, so it's the right memory for the machine. I just
> don't see why it's not all showing up (my other Dell with FC2 on it
> and having 512MB of RAM shows memtotal as 515372 kB, which while
> not exactly 512MB, seems pretty close).
>
> [sw at nsf2pc ~]$ cat /proc/meminfo
> MemTotal: 3504968 kB
> MemFree: 3287304 kB
> Buffers: 13948 kB
> Cached: 122292 kB
> SwapCached: 0 kB
> Active: 84376 kB
> Inactive: 98208 kB
> HighTotal: 2620884 kB
> HighFree: 2444352 kB
> LowTotal: 884084 kB
> LowFree: 842952 kB
> SwapTotal: 6144852 kB
> SwapFree: 6144852 kB
> Dirty: 136 kB
> Writeback: 0 kB
> Mapped: 59532 kB
> Slab: 20292 kB
> Committed_AS: 94336 kB
> PageTables: 1672 kB
> VmallocTotal: 106488 kB
> VmallocUsed: 5368 kB
> VmallocChunk: 100996 kB
> HugePages_Total: 0
> HugePages_Free: 0
> Hugepagesize: 2048 kB
> [sw at nsf2pc ~]$
>
> _______________________________________________
> LUAU at lists.hosef.org mailing list
> http://lists.hosef.org/cgi-bin/mailman/listinfo/luau
>
More information about the LUAU
mailing list