1752802 Members
5673 Online
108789 Solutions
New Discussion юеВ

Where is my memory

 
Sac_3
Frequent Advisor

Where is my memory

[root@TEST]# free
total used free shared buffers cached
Mem: 3858640 3846424 12216 0 66880 3477332
-/+ buffers/cache: 302212 3556428
Swap: 4194232 1328 4192904

But the memory on the server is 12 GB.


Below are the details of the server:

hpasmcli> SHOW SERVER
System : ProLiant DL580 G2
ROM version : P27 09/02/2004
iLo present : Yes
Embedded NICs : UNKNOWN

Processor: 0
Name : Intel Xeon
Stepping : 6
Speed : 3000 MHz
Bus : 100 MHz
Socket : 4
Level2 Cache : 512 KBytes
Status : Ok

Processor: 1
Name : Intel Xeon
Stepping : 6
Speed : 3000 MHz
Bus : 100 MHz
Socket : 3
Level3 Cache : 4096 KBytes
Status : Ok

Processor: 2
Name : Intel Xeon
Stepping : 6
Speed : 3000 MHz
Bus : 100 MHz
Socket : 2
Level2 Cache : 512 KBytes
Status : Ok

Processor: 3
Name : Intel Xeon
Stepping : 6
Speed : 3000 MHz
Bus : 100 MHz
Socket : 1
Level3 Cache : 4096 KBytes
Status : Ok

Processor total : 4

Memory installed : 12288 MBytes
ECC supported : Yes


[root@TEST root]# uname -a
Linux TEST 2.4.21-32.EL #1 Fri Apr 15 21:29:19 EDT 2005 i686 i686 i386 GNU/Linux

Even though there are 4 cpu's i could c only 1 cpu in /proc/cpuinfo

cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) MP CPU 3.00GHz
stepping : 6
cpu MHz : 2994.300
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips : 5976.88

4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Where is my memory

Shalom,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1161688

The utility mem.mon can be used to show memory resident and virtual memory. You can use to to find out how many active processes and use this tool to get sorted memory use statistics on every process on your system.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sac_3
Frequent Advisor

Re: Where is my memory

Hi SEP,

I suspect the problem could b with kernel type. If u check the uname -a output

Linux TEST 2.4.21-32.EL #1 Fri Apr 15 21:29:19 EDT 2005 i686 i686 i386 GNU/Linux

it is evident that the server was not rebooted with SMP kernel but with 2.4.21-32.EL due to which it failed to detect the rest of the 3 CPU's and additional memory.

Need your comments

SaC
skt_skt
Honored Contributor

Re: Where is my memory

i rember replying to a similar post where the CPU was not visible and got resolved after switching to smp.

"If the system is multiprocessor, then install the kernel-smp packages, and upgrade the kernel-utils packages"-
Bharath_Pingali
Trusted Contributor

Re: Where is my memory

Hello Sac,

More information from RedHat website on Kernels and supported cpu/memory.

http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/sysadmin-guide/ch-kernel.html

#########################################
kernel-smp ├в contains the kernel for multi-processor systems. The following are the key features:


Multi-processor support

Support for more than 4 GB of RAM (up to 16 GB for x86)

PAE (Physical Address Extension), or 3 level paging on x86 processors that support PAE
##########################################

Hope this helps.

-Thank You
Bharath