my setup:
Asus M3A (0803 bios)
Athlon X2 4400+
4GB (2x2GB kit) A-Data ddr2 800
Asus 8600GT w/512MB ddr3
PCI Promise IDE/SATA controller card (1 PATA drive attached)
2 other PATA drives, 1 SATA dvd-rw
Debian Lenny amd64 w/ kernels:- 2.6.24-1-amd64(stock from repo),
- 2.6.24-4-amd64(compiled myself w/NUMA),
- 2.6.24-5-amd64(compiled myself w/ and w/o NUMA) - NUMA doesn't appear to be the culprit
my problem:
BIOS reports 4096MB memory, software does not. might be why I can't use the HD3650 I bought(major lockups on KDE logout & when starting additional Xservers).
hwinfo thinks there's 256MB missing, but it's only 136MB according to /proc/meminfo. Presumably whatever's wrong is also why /proc/mtrr doesn't account for 768MB(I don't quite undertand the output of /proc/mtrr though), which another member's comment about originally got me wondering about this.
from right now using the 2.6.24-5-amd64 w/o NUMA:
Code:
$free -m -o
total used free shared buffers cached
Mem: 3954 2723 1231 0 1 2316
Swap: 509 0 509
hwinfo:
12: None 00.0: 10102 Main Memory
[Created at memory.61]
Unique ID: rdCR.CxwsZFjVASF
Hardware Class: memory
Model: "Main Memory"
Memory Range: 0x00000000-0xf72bbfff (rw)
Memory Size: 3 GB + 768 MB
Config Status: cfg=new, avail=yes, need=no, active=unknown
/proc/meminfo:
MemTotal: 4049648 kB (/1024=3954.734375)
MemFree: 1223632 kB
Buffers: 1996 kB
Cached: 2389092 kB
SwapCached: 0 kB
Active: 617396 kB
Inactive: 2114508 kB
SwapTotal: 522072 kB
SwapFree: 522072 kB
Dirty: 56 kB
Writeback: 0 kB
AnonPages: 340816 kB
Mapped: 85096 kB
Slab: 42336 kB
SReclaimable: 24776 kB
SUnreclaim: 17560 kB
PageTables: 12940 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 2546896 kB
Committed_AS: 643764 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 42892 kB
VmallocChunk: 34359694331 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
/proc/mtrr
reg00: base=0x00000000 ( 0MB), size=2048MB: write-back, count=1
reg01: base=0x80000000 (2048MB), size=1024MB: write-back, count=1
reg02: base=0xc0000000 (3072MB), size= 256MB: write-back, count=1
with NUMA hwinfo stays the same, but meminfo has 6 more megs listed - from yesterday using the stock Debian 2.6.24-1-amd64 w/NUMA:
Code:
hwinfo:
12: None 00.0: 10102 Main Memory
[Created at memory.61]
Unique ID: rdCR.CxwsZFjVASF
Hardware Class: memory
Model: "Main Memory"
Memory Range: 0x00000000-0xf7898fff (rw)
Memory Size: 3 GB + 768 MB
Config Status: cfg=new, avail=yes, need=no, active=unknown
meminfo:
MemTotal: 4055652 kB (/1024=3960.59765625)
MemFree: 3988832 kB
Buffers: 580 kB
Cached: 21984 kB
SwapCached: 0 kB
Active: 10784 kB
Inactive: 14048 kB
SwapTotal: 522072 kB
SwapFree: 522072 kB
Dirty: 12 kB
Writeback: 0 kB
AnonPages: 2396 kB
Mapped: 1840 kB
Slab: 10980 kB
SReclaimable: 3544 kB
SUnreclaim: 7436 kB
PageTables: 384 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 2549896 kB
Committed_AS: 3808 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 26160 kB
VmallocChunk: 34359711735 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
mtrr:
reg00: base=0x00000000 ( 0MB), size=2048MB: write-back, count=1
reg01: base=0x80000000 (2048MB), size=1024MB: write-back, count=1
reg02: base=0xc0000000 (3072MB), size= 256MB: write-back, count=1
and with just 2GB installed, I think with the 2.6.24-4 w/NUMA kernel:
Code:
hwinfo:
12: None 00.0: 10102 Main Memory
[Created at memory.61]
Unique ID: rdCR.CxwsZFjVASF
Hardware Class: memory
Model: "Main Memory"
Memory Range: 0x00000000-0x7ffaffff (rw)
Memory Size: 2 GB
Config Status: cfg=new, avail=yes, need=no, active=unknown
mtrr:
reg00: base=0x00000000 ( 0MB), size=2048MB: write-back, count=1
meminfo:
MemTotal: 2063556 kB (/1024=2015.19140625)
MemFree: 2005980 kB
Buffers: 580 kB
Cached: 21080 kB
SwapCached: 0 kB
Active: 12236 kB
Inactive: 11916 kB
SwapTotal: 522072 kB
SwapFree: 522072 kB
Dirty: 8 kB
Writeback: 0 kB
AnonPages: 2616 kB
Mapped: 1892 kB
Slab: 11352 kB
SReclaimable: 3832 kB
SUnreclaim: 7520 kB
PageTables: 432 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 1553848 kB
Committed_AS: 4384 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 18460 kB
VmallocChunk: 34359719415 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
here's couple tidbits from dmesg that look suspicious but that I haven't a clue what to do about (or if I even need to):
No AGP bridge found*
Your BIOS doesn't leave a aperture memory hole*
Please enable the IOMMU option in the BIOS setup**
This costs you 64 MB of RAM***
Mapping aperture over 65536 KB of RAM @ 8000000****
Memory: 4043148k/4980736k available (2093k kernel code, 149884k reserved, 974k data, 216k init)*****
*There's no AGP port/bus on my motherboard.
**There's no IOMMU option that I've seen in my BIOS
***So does that mean 64MB off the total listed as present? Or 64MB added to the total used?
****The 64MB from the last line?
*****3948.38671875 MB available out of 4864 MB? The listed used memory adds up to 153167k (kB?) or 149.5771484375 MB none of which adds up to what I'm missing according the sources listed above.
(2093k kernel code, 149884k reserved, 974k data, 216k init) -- 149MB is close to what I'm missing, is the answer as simple as that? Still it doesn't add up exactly ...
Is there an explanation for where those 130-150 ish MB are being used? And for what's up with the mtrr? What can/should I do? Any advice will be extremely appreciated.
edit: and where's the extra 768MB of memory dmesg reports as available coming from? my swap is only 509 MB.
I tried to post a reply with dmesg's output but it's too long and the board won't allow me to.