[opensuse] Why does 10.3 x86_64 only see 3gig of memory?
Listmates, I'm totally confused as to why my 10.3 x86_64 box is only using 3 out of 4 gig of memory. It was running 2 gig and I added 2 gig today. All four are good sticks of OCZ platinum DDR400 on the Gigabyte 8KE S2865 board with an Opteron 180 processor. I have other i586 10.3 boxes running and recognizing 4 gig with the big-smp kernel, but I was under the impression that the x86_64 default kernel could address up to 64 gig of memory. I have the latest kernel installed: 20:23 nirvana:~> uname -a Linux nirvana 2.6.22.19-0.1-default #1 SMP 2008-10-14 22:17:43 +0200 x86_64 x86_64 x86_64 GNU/Linux dmidecode shows the processor is PAE enabled and all 4 sticks of ram are there and recognized: Handle 0x0004, DMI type 4, 32 bytes Processor Information Socket Designation: Socket 939 Type: Central Processor Family: Athlon 64 Manufacturer: AMD ID: 32 0F 02 00 FF FB 8B 17 Signature: Family 15, Model 35, Stepping 2 Flags: FPU (Floating-point unit on-chip) VME (Virtual mode extension) DE (Debugging extension) PSE (Page size extension) TSC (Time stamp counter) MSR (Model specific registers) PAE (Physical address extension) <snip> (same on the other core) Handle 0x0006, DMI type 5, 24 bytes Memory Controller Information Error Detecting Method: 64-bit ECC Error Correcting Capabilities: None Supported Interleave: One-way Interleave Current Interleave: One-way Interleave Maximum Memory Module Size: 4096 MB Maximum Total Memory Size: 16384 MB Supported Speeds: 70 ns 60 ns 50 ns Supported Memory Types: Standard DIMM Memory Module Voltage: 2.9 V Associated Memory Slots: 4 0x0007 0x0008 0x0009 0x000A Enabled Error Correcting Capabilities: None Handle 0x0007, DMI type 6, 12 bytes Memory Module Information Socket Designation: A0 Bank Connections: 0 1 Current Speed: 5 ns Type: Unknown EDO Installed Size: 1024 MB (Double-bank Connection) Enabled Size: 1024 MB (Double-bank Connection) Error Status: OK Handle 0x0008, DMI type 6, 12 bytes Memory Module Information Socket Designation: A1 Bank Connections: 2 3 Current Speed: 5 ns Type: Unknown EDO Installed Size: 1024 MB (Double-bank Connection) Enabled Size: 1024 MB (Double-bank Connection) Error Status: OK Handle 0x0009, DMI type 6, 12 bytes Memory Module Information Socket Designation: A2 Bank Connections: 4 5 Current Speed: 5 ns Type: Unknown EDO Installed Size: 1024 MB (Double-bank Connection) Enabled Size: 1024 MB (Double-bank Connection) Error Status: OK Handle 0x000A, DMI type 6, 12 bytes Memory Module Information Socket Designation: A3 Bank Connections: 6 7 Current Speed: 5 ns Type: Unknown EDO Installed Size: 1024 MB (Double-bank Connection) Enabled Size: 1024 MB (Double-bank Connection) Error Status: OK But still 10.3 only wants to use 3 gig: 20:18 nirvana:~> free -tm total used free shared buffers cached Mem: 3276 1453 1822 0 51 899 -/+ buffers/cache: 502 2773 Swap: 2055 0 2055 Total: 5331 1453 3877 20:20 nirvana:~> cat /proc/meminfo MemTotal: 3354664 kB MemFree: 1864848 kB Buffers: 53148 kB Cached: 920880 kB SwapCached: 0 kB Active: 740912 kB Inactive: 547052 kB SwapTotal: 2104472 kB SwapFree: 2104472 kB Dirty: 44 kB Writeback: 0 kB AnonPages: 314084 kB Mapped: 98412 kB Slab: 120252 kB SReclaimable: 96900 kB SUnreclaim: 23352 kB PageTables: 19208 kB NFS_Unstable: 0 kB Bounce: 0 kB CommitLimit: 3781804 kB Committed_AS: 752300 kB VmallocTotal: 34359738367 kB VmallocUsed: 69720 kB VmallocChunk: 34359668219 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 Hugepagesize: 2048 kB So kernel and hardware gurus, how do I get my memory back on 10.3? Surely there is some switch or something that will let me use all of it isn't there? Thanks in advance for any help. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* David C. Rankin
Listmates,
I'm totally confused as to why my 10.3 x86_64 box is only using 3 out of 4 gig of memory. It was running 2 gig and I added 2 gig today. All four are good sticks of OCZ platinum DDR400 on the Gigabyte 8KE S2865 board with an Opteron 180 processor. I have other i586 10.3 boxes running and recognizing 4 gig with the big-smp kernel, but I was under the impression that the x86_64 default kernel could address up to 64 gig of memory.
...
Socket Designation: Socket 939
I have this socket and had to change the bios to not reserve above 3.2g for system processes (if memory serves). anyway, it is a bios issue. 21:35 wahoo:~ # free total used free shared buffers cached Mem: 4049792 3737448 312344 0 88264 1166696 -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Patrick Shanahan wrote:
I have this socket and had to change the bios to not reserve above 3.2g for system processes (if memory serves).
Pun not intended. ;-) -- Use OpenOffice.org http://www.openoffice.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* James Knott
Patrick Shanahan wrote:
I have this socket and had to change the bios to not reserve above 3.2g for system processes (if memory serves).
Pun not intended. ;-)
:^) -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Patrick Shanahan wrote:
* David C. Rankin
[01-08-09 21:30]: Listmates,
I'm totally confused as to why my 10.3 x86_64 box is only using 3 out of 4 gig of memory. It was running 2 gig and I added 2 gig today. All four are good sticks of OCZ platinum DDR400 on the Gigabyte 8KE S2865 board with an Opteron 180 processor. I have other i586 10.3 boxes running and recognizing 4 gig with the big-smp kernel, but I was under the impression that the x86_64 default kernel could address up to 64 gig of memory.
...
Socket Designation: Socket 939
I have this socket and had to change the bios to not reserve above 3.2g for system processes (if memory serves).
anyway, it is a bios issue.
21:35 wahoo:~ # free total used free shared buffers cached Mem: 4049792 3737448 312344 0 88264 1166696
Patrick, You nailed that one. It took two tries. One, setting both hardware and software memory hole remapping to enabled got all the memory back and then two, disabling software memory hole remapping because it was unnecessary left me in a good configuration: 21:30 nirvana:~> free -tm total used free shared buffers cached Mem: 3706 440 3266 0 12 217 -/+ buffers/cache: 209 3496 Swap: 2055 0 2055 Total: 5761 440 5321 You would think they could come up with better names for this besides "software memory hole remapping" and "hardware memory hole remapping". Live and learn. Thanks. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Patrick Shanahan wrote:
Socket Designation: Socket 939
I have this socket and had to change the bios to not reserve above 3.2g for system processes (if memory serves).
anyway, it is a bios issue.
Sun put out a great paper that explains the problem: "Memory Hole in Large Memory X86 Based Systems", XES Product Development Team, May 19, 2004. http://techfiles.de/dmelanchthon/files/memory_hole.pdf To summarize, in the X86 architecture, there are 2 types of devices that are mapped into processor address space. The first type is physical memory. There is a 1:1 correlation between memory size and processor address space. A system with 512MB of physical memory will require 512MB of processor address space for it to be accessed. The second, and perhaps less obvious, type is device memory or device address space. As long as you have less than 4 gig there is no problem because the physical memory and device address space all fit within the processor address space. However, when you fill the processors address space up with physical memory, then you have an overlap between the physical memory and device address space causing a conflict. The only way to resolve this conflict (and retain compatibility) is to allow the device address space to be mapped over (overlap) the memory causing a “hole” in this address range. The memory for this space can’t be used and can’t be remapped and will not be reported as available memory. This is why you see less available memory. This is also why a 64-bit layout isn't a complete solution. Many 'devices' have to live within 32-bit address space regardless of whether you have 64-bit address space available. So in the case of a 64-bit system with 4 gig of ram, you will still lose some of your memory due to the device address space that still requires a 32-bit address range. Clear as mud right! I need some aspirin.. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 2009-01-08 at 20:25 -0600, David C. Rankin wrote:
Listmates,
I'm totally confused as to why my 10.3 x86_64 box is only using 3 out of 4 gig of memory. It was running 2 gig and I added 2 gig today. All four are good sticks of OCZ platinum DDR400 on the Gigabyte 8KE S2865 board with an Opteron 180 processor. I have other i586 10.3 boxes running and recognizing 4 gig with the big-smp kernel, but I was under the impression that the x86_64 default kernel could address up to 64 gig of memory.
I have the latest kernel installed:
20:23 nirvana:~> uname -a Linux nirvana 2.6.22.19-0.1-default #1 SMP 2008-10-14 22:17:43 +0200 x86_64 x86_64 x86_64 GNU/Linux
dmidecode shows the processor is PAE enabled and all 4 sticks of ram are there and recognized:
So kernel and hardware gurus, how do I get my memory back on 10.3? Surely there is some switch or something that will let me use all of it isn't there? Thanks in advance for any help.
Yes, the 10.3 kernel has no problem with that amount of mem, Before upgrading to 11.0 most of the hardware@work was accessing the full 30GB. btw, you mention PAE. This trick is needed on 32-bit machines with more than 3GB installed. Even that works ok for 10.3. Had two older machines with 6GB running 10.3 xen-pae kernels hw -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
David C. Rankin
-
Hans Witvliet
-
James Knott
-
Patrick Shanahan