You are not logged in.

#1 2009-07-17 21:06:00

zerhash
Member
Registered: 2009-07-17
Posts: 3

Memory misreported

Hi,

i recently noticed in top that my memory is at 2593480k total. Swap:  2562356k

I have 3 x 2GB cards in my system so this is very short

my /proc/meminfo reads

MemTotal:        2593480 kB
MemFree:         2109712 kB
Buffers:           13676 kB
Cached:           181064 kB
SwapCached:            0 kB
Active:           286376 kB
Inactive:         150012 kB
Active(anon):     244800 kB
Inactive(anon):        0 kB
Active(file):      41576 kB
Inactive(file):   150012 kB
Unevictable:           0 kB
Mlocked:               0 kB
HighTotal:       1711048 kB
HighFree:        1273604 kB
LowTotal:         882432 kB
LowFree:          836108 kB
SwapTotal:       2562356 kB
SwapFree:        2562356 kB
Dirty:                80 kB
Writeback:             0 kB
AnonPages:        241684 kB
Mapped:            59732 kB
Slab:              19788 kB
SReclaimable:      10720 kB
SUnreclaim:         9068 kB
PageTables:         2264 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     3859096 kB
Committed_AS:     789376 kB
VmallocTotal:     122880 kB
VmallocUsed:       80836 kB
VmallocChunk:      15348 kB
DirectMap4k:       24568 kB
DirectMap4M:      884736 kB


thanks

Offline

#2 2009-07-17 21:13:48

deej
Member
Registered: 2008-02-08
Posts: 395

Re: Memory misreported

Are you running 32-bit or 64-bit ?

Deej

Offline

#3 2009-07-17 21:18:41

zerhash
Member
Registered: 2009-07-17
Posts: 3

Re: Memory misreported

ok

i ran 686 with an athalon before. I put this hard drive into a new system intel quad core

so ya 32 now

Offline

#4 2009-07-18 05:22:09

deej
Member
Registered: 2008-02-08
Posts: 395

Re: Memory misreported

There's your answer - 32-bit can't handle all that ram. You need to run 64-bit to see
> 4gb of ram.

Deej

Offline

#5 2009-07-18 06:35:43

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Memory misreported

You don't 'need' 64 bit to get it all. You can also recompile your 32 bit kernel to support all your RAM. There's said to be a performance penalty but I don't know how severe that is.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#6 2009-07-19 00:05:22

zerhash
Member
Registered: 2009-07-17
Posts: 3

Re: Memory misreported

how do i do that?

Offline

#7 2009-07-19 07:20:16

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: Memory misreported

zerhash wrote:

how do i do that?

Just compile and install kernel26-bigmem from AUR.
Performance will likely be worse than with the regular kernel, but it surely depends on the actual hardware you're using.
You must also enable PAE in your system BIOS, else you will never be able to see more than approx. 3 GB of RAM.

Last edited by scarecrow (2009-07-19 07:21:52)


Microshaft delenda est

Offline

#8 2009-07-19 10:55:57

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Memory misreported

And you may also have to recompile some other apps due to the change in the kernel. You will notice which ones you need to recompile when they refuse to start wink


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB