Re: [gentoo-user] weird 4GB RAM and kernel issue

2006-04-02 Thread Rick van Hattem
On Sunday 02 April 2006 02:04, kashani wrote:
   I've made my problem go away, but I'm a bit curious about why it was
 happening.

 I've got nine or so Dell 1850's with 2 x 2GB chips. When I compile
 gentoo-source 2.6.15-r1 (and 2.6.14-r5) with support for 4GB I see only
 3GB. 1GB lowmem and 2GB highmem.

 ws04 ~ # cat /proc/meminfo
 MemTotal:  3107408 kB
 MemFree:   1731660 kB
 Buffers:219720 kB
 Cached: 937980 kB
 SwapCached:  0 kB
 Active: 455100 kB
 Inactive:   717924 kB
 HighTotal: 2227968 kB
 HighFree:  1271588 kB

 When I recompile on the same hardware with support for 64GB RAM I see
 the full 4GB in the usual 1GB/3GB split.

 nms02 ~ # cat /proc/meminfo
 MemTotal:  4147776 kB
 MemFree:   3762712 kB
 Buffers:151404 kB
 Cached:  45116 kB
 SwapCached:  0 kB
 Active:  56724 kB
 Inactive:   145000 kB
 HighTotal: 3276544 kB
 HighFree:  3222936 kB

 However on my HP DL360 with 4 x 1GB RAM I see the 4GB, though it's a bit
 smaller, with 4GB enabled in the kernel. Same kernel version as the Dell's.

 [EMAIL PROTECTED] ~ $ cat /proc/meminfo
 MemTotal:  3977744 kB
 MemFree:116792 kB
 Buffers:296108 kB
 Cached:3157952 kB
 SwapCached:  0 kB
 Active:2725152 kB
 Inactive:   782956 kB
 HighTotal: 3096552 kB
 HighFree: 8680 kB

 I've been Googling around for an explantion, but am not really sure what
 I'm looking for. I'd assume that I might lose a few hundred MB if the 2
 x 2GB chips are slightly bigger than the 4GB limit rather than the full
 1GB that seems to disappear. I'm guessing some wacky motherboard
 interleaving thing where highmem ends up being one chip and the lowmem
 the 896MB on the other chip.

 Anyone have a decent theory on this with a nice link?

 kashani
Enabling 4GB support instead of 1 will allow  4GB of ram, _not_ =4GB.
To be sure you can use all of it you have to select 64GB at the kernel.

The reason it does work for your DL360 is because the bios works around the 
problem for you.

-- 
Rick van Hattem Rick.van.Hattem(at)Fawo.nl


pgpwmFurZrXRY.pgp
Description: PGP signature


Re: [gentoo-user] weird 4GB RAM and kernel issue

2006-04-01 Thread Andrew Frink
On 4/1/06, kashani [EMAIL PROTECTED] wrote:
I've made my problem go away, but I'm a bit curious about why it washappening.I've got nine or so Dell 1850's with 2 x 2GB chips. When I compilegentoo-source 2.6.15-r1 (and 2.6.14-r5) with support for 4GB I see only
3GB. 1GB lowmem and 2GB highmem.ws04 ~ # cat /proc/meminfoMemTotal:3107408 kBMemFree: 1731660 kBBuffers:219720 kBCached: 937980 kBSwapCached:0 kBActive: 455100 kB
Inactive: 717924 kBHighTotal: 2227968 kBHighFree:1271588 kBWhen I recompile on the same hardware with support for 64GB RAM I seethe full 4GB in the usual 1GB/3GB split.nms02 ~ # cat /proc/meminfo
MemTotal:4147776 kBMemFree: 3762712 kBBuffers:151404 kBCached:45116 kBSwapCached:0 kBActive:56724 kBInactive: 145000 kBHighTotal: 3276544 kB
HighFree:3222936 kBHowever on my HP DL360 with 4 x 1GB RAM I see the 4GB, though it's a bitsmaller, with 4GB enabled in the kernel. Same kernel version as the Dell's.[EMAIL PROTECTED] ~ $ cat /proc/meminfo
MemTotal:3977744 kBMemFree:116792 kBBuffers:296108 kBCached:3157952 kBSwapCached:0 kBActive:2725152 kBInactive: 782956 kBHighTotal: 3096552 kB
HighFree: 8680 kBI've been Googling around for an explantion, but am not really sure whatI'm looking for. I'd assume that I might lose a few hundred MB if the 2x 2GB chips are slightly bigger than the 4GB limit rather than the full
1GB that seems to disappear. I'm guessing some wacky motherboardinterleaving thing where highmem ends up being one chip and the lowmemthe 896MB on the other chip.Anyone have a decent theory on this with a nice link?
kashani--gentoo-user@gentoo.org mailing listthis is the same thing that happens at the 800-1G spot... a machine with 1G need to enable 4G supprt to see it all