Operating System - HP-UX
1833017 Members
2115 Online
110048 Solutions
New Discussion

Re: Physical memory problem!!!!

 
SOLVED
Go to solution
Jack Fan
Regular Advisor

Physical memory problem!!!!

I had upgrade CPU and memory on server. After upgrading, CPU up to 6. But memory amount stay on original. And I also check physical memory setting with mstm and dmesg and syslog. Why the mstm tell me physical memory = 6GB, but dmesg and syslog logged physical memory = 4GB.

My server original setting.
HP-k580
CPU = 4
RAM = 4GB

We have added 2 CPUs and 2GB RAM on server.

regards,
Jack Fan
13 REPLIES 13
Michael Tully
Honored Contributor

Re: Physical memory problem!!!!

Please advise operating system version and patch level.
Anyone for a Mutiny ?
S.K. Chan
Honored Contributor

Re: Physical memory problem!!!!

If you got 32-bit operating systems, such as HP-UX 10.20 and the 32-bit version of 11.x, they only allow a maximum addressable memory of 3.75 GB. You need to be running 64-bit 11.0 and above to exceed this limit.
Is this your case here ?
S.K. Chan
Honored Contributor

Re: Physical memory problem!!!!

If you're on 11.x run this to determine if you're on 32 or 64 bit.
# getconf KERNEL_BITS
Jack Fan
Regular Advisor

Re: Physical memory problem!!!!

The os version is 11.0
And I attach patch list file on this.
Jack Fan
Regular Advisor

Re: Physical memory problem!!!!

Revise the information about server.

HP-K580
CPU = 4 , RAM = 4GB
OS = HP-UX 11.0 (64Bit)

regards,
Jack Fan
S.K. Chan
Honored Contributor

Re: Physical memory problem!!!!

What does the kernel says about it..

# echo "memory_installed_in_machine/D" | adb -k /stand/vmunix /dev/kmem

Take that number multiply by 4 and divide by 1024.
Jack Fan
Regular Advisor

Re: Physical memory problem!!!!

After I executed the command,
get message as below,

memory_installed_in_machine: 983040
S.K. Chan
Honored Contributor

Re: Physical memory problem!!!!

So that works out to be ..
# echo "983040*4/1024"|bc
3840

which is 3.84 GB. So the kernel only sees 3.84 GB. At least this is consistent with what dmesg is showing. Can you also post the output from cstm/mstm ? Again need to double check ..

# getconf KERNEL_BITS

returns 64, right ?
Michael Tully
Honored Contributor

Re: Physical memory problem!!!!

Not sure what's going on with your system but:

I've a K580 with HPUX 11 and 32 bit.

# getconf KERNEL_BITS
32

# echo "memory_installed_in_machine/D" | adb -k /stand/vmunix /dev/kmem
memory_installed_in_machine:
memory_installed_in_machine: 983040

# bc
983040*4
3932160
3932160/1024
3840

Information from last boot
Apr 29 17:15:24 davblk4 vmunix: Memory Information:
Apr 29 17:15:24 davblk4 vmunix: physical page size = 4096 bytes, logical pag
e size = 4096 bytes
Apr 29 17:15:24 davblk4 vmunix: Physical: 3932160 Kbytes, lockable: 3104856
Kbytes, available: 3569364 Kbytes

Are you sure your system is 64bit?
Anyone for a Mutiny ?
Jack Fan
Regular Advisor

Re: Physical memory problem!!!!

All,
Thanks for your support! I also update the information with uname, dmesg, cstm about server.
Please see the attach file (memorycheck.txt).

regards,
Jack Fan
S.K. Chan
Honored Contributor
Solution

Re: Physical memory problem!!!!

Since "getconf KERNEL_BITS" returned 32, you're stuck with maximum 3.8GB configurable memory unless you install 11.x 64bit version of the OS.
Michael Tully
Honored Contributor

Re: Physical memory problem!!!!

Seeing that your system has returned 32 bit from getconf_KERNELBITS, the most RAM you can use is 3.75Gb. You will to upgrade to the 64 bit kernel in which to use the remaining 2.25 physical GB available.

Michael
Anyone for a Mutiny ?
Jack Fan
Regular Advisor

Re: Physical memory problem!!!!

All,
Thaks for your kindly support. I have got the point, the root cause is HP-UX 11.0 need upgrade to support 64 bits environment.

regards,

Jack Fan