Koozali.org: home of the SME Server

New server, 8GB of RAM, SME only sees 3.6GB

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
New server, 8GB of RAM, SME only sees 3.6GB
« on: July 15, 2009, 04:23:18 AM »
Hi,
Beating my head searching on centos forums as well. Topic says it all:
Code: [Select]
Handle 0x0038
        DMI type 20, 19 bytes.
        Memory Device Mapped Address
                Starting Address: 0x00000000000
                Ending Address: 0x0007FFFFFFF
                Range Size: 2 GB
                Physical Device Handle: 0x0037
                Memory Array Mapped Address Handle: 0x003F
                Partition Row Position: 1
                Interleave Position: 1
                Interleaved Data Depth: 1

Code: [Select]
[root@quattor ~]# dmesg | less
Linux version 2.6.9-78.0.8.EL (mockbuild@builder16.centos.org) (gcc version 3.4.6 20060404 (Red Hat 3
.4.6-10)) #1 Wed Nov 19 19:43:32 EST 2008
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 00000000dfcee000 (usable)
 BIOS-e820: 00000000dfcee000 - 00000000dfd96000 (ACPI NVS)
 BIOS-e820: 00000000dfd96000 - 00000000dfdfa000 (usable)
 BIOS-e820: 00000000dfdfa000 - 00000000dfe5f000 (reserved)
 BIOS-e820: 00000000dfe5f000 - 00000000dfe68000 (usable)
 BIOS-e820: 00000000dfe68000 - 00000000dfedf000 (ACPI NVS)
 BIOS-e820: 00000000dfedf000 - 00000000dfee6000 (usable)
 BIOS-e820: 00000000dfee6000 - 00000000dfeff000 (ACPI data)
 BIOS-e820: 00000000dfeff000 - 00000000dff00000 (usable)
 BIOS-e820: 00000000dff00000 - 00000000e0000000 (reserved)
 BIOS-e820: 00000000f0000000 - 00000000f4000000 (reserved)
 BIOS-e820: 00000000fff80000 - 00000000fff8c000 (reserved)
 BIOS-e820: 0000000100000000 - 0000000220000000 (usable)
Warning only 4GB will be used.
[b]Use a PAE enabled kernel[/b].
3200MB HIGHMEM available.
896MB LOWMEM available.

then:
Code: [Select]
[root@quattor ~]# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Xeon(R) CPU           X3370  @ 3.00GHz
stepping        : 10
cpu MHz         : 2992.560
cache size      : 6144 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr [b]pae[/b] mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni tm2
bogomips        : 5988.11

Thanks for any advice!


Offline jokiin

  • **
  • 28
  • +0/-0
Re: New server, 8GB of RAM, SME only sees 3.6GB
« Reply #1 on: July 15, 2009, 04:36:05 AM »
I thought the kernel was only a 32 bit version :???:

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: New server, 8GB of RAM, SME only sees 3.6GB
« Reply #2 on: July 15, 2009, 04:41:12 AM »
I thought the kernel was only a 32 bit version :???:
I'm sure it's 32bit, wiki states 16GB RAM and possibly 64GB with hugemem http://wiki.contribs.org/SME_Server:Documentation:FAQ#Memory_usage_and_limits

Thanks,

Offline jokiin

  • **
  • 28
  • +0/-0
Re: New server, 8GB of RAM, SME only sees 3.6GB
« Reply #3 on: July 15, 2009, 04:45:13 AM »
ok, I would have expected it to be similar to other 32 bit O/S in regard to memory

Offline vpurger

  • *
  • 20
  • +0/-0
Re: New server, 8GB of RAM, SME only sees 3.6GB
« Reply #4 on: July 15, 2009, 06:55:52 AM »
Using the wrong kernel, try the SMP kernel.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: New server, 8GB of RAM, SME only sees 3.6GB
« Reply #5 on: July 15, 2009, 12:55:52 PM »
Using the wrong kernel, try the SMP kernel.
No in this case I think OP should use the hugemem kernel as the SMP kernel is meant for multicore machines.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline vpurger

  • *
  • 20
  • +0/-0
Re: New server, 8GB of RAM, SME only sees 3.6GB
« Reply #6 on: July 15, 2009, 01:34:16 PM »
... and CPU is Intel Xeon Quad-Core X3370 3.0 GHz CPU !!

Linux version 2.6.9-78.0.22.ELsmp (mockbuild@builder10.centos.org) (gcc version
3.4.6 20060404 (Red Hat 3.4.6-10)) #1 SMP Thu Apr 30 19:14:39 EDT 2009
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009ec00 (usable)
 BIOS-e820: 000000000009ec00 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 00000000dfcf0000 (usable)
 BIOS-e820: 00000000dfcf0000 - 00000000dfd96000 (ACPI NVS)
 BIOS-e820: 00000000dfd96000 - 00000000dfdfd000 (usable)
 BIOS-e820: 00000000dfdfd000 - 00000000dfe5f000 (reserved)
 BIOS-e820: 00000000dfe5f000 - 00000000dfe6a000 (usable)
 BIOS-e820: 00000000dfe6a000 - 00000000dfedf000 (ACPI NVS)
 BIOS-e820: 00000000dfedf000 - 00000000dfee7000 (usable)
 BIOS-e820: 00000000dfee7000 - 00000000dfeff000 (ACPI data)
 BIOS-e820: 00000000dfeff000 - 00000000dff00000 (usable)
 BIOS-e820: 00000000dff00000 - 00000000e0000000 (reserved)
 BIOS-e820: 00000000f0000000 - 00000000f4000000 (reserved)
 BIOS-e820: 00000000fff80000 - 00000000fff8c000 (reserved)
 BIOS-e820: 0000000100000000 - 0000000220000000 (usable)
7808MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000fd1f0
NX (Execute Disable) protection: active
On node 0 totalpages: 2228224

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: New server, 8GB of RAM, SME only sees 3.6GB
« Reply #7 on: July 15, 2009, 03:14:41 PM »
Using the wrong kernel, try the SMP kernel.
That did it! :)
Quote from: cactus
No in this case I think OP should use the hugemem kernel as the SMP kernel is meant for multicore machines.
According to the wiki, hugemem should be for over 16GB.

Thanks a lot!

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: New server, 8GB of RAM, SME only sees 3.6GB
« Reply #8 on: July 15, 2009, 03:22:16 PM »
No in this case I think OP should use the hugemem kernel as the SMP kernel is meant for multicore machines.

any cpu from P IV is multicore and so, AFAIK, the proper kernel is the smp one..

my 2c
Stefano

Offline slords

  • *****
  • 235
  • +3/-0
Re: New server, 8GB of RAM, SME only sees 3.6GB
« Reply #9 on: July 15, 2009, 05:25:13 PM »
Even if you aren't using multi-core/multi-proc but want to use > 4GB mem you need to use the smp kernel.  The standard kernel will only see ~4GB.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs,
and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." -- Rich Cook