Operating System - HP-UX
1834622 Members
2845 Online
110069 Solutions
New Discussion

HP-UX 11.0 & LARGE MEMORY

 
V Panchapakesan
Advisor

HP-UX 11.0 & LARGE MEMORY

We have a j6700 box with hp-ux 11.0. It has 10GB RAM in it. I've noticed, system showing only 4GB active in SAM and TOP.
How to ensure that OS is able to see all 10GB RAM?
I WANT TO BELIEVE
7 REPLIES 7
Patrick Wallek
Honored Contributor

Re: HP-UX 11.0 & LARGE MEMORY

'top' is not a good indicator of available RAM. What do the following commands show?

# dmesg | grep -i physical

or

# cat /var/adm/syslog/syslog.log | grep -i physical

You could also bring stm, cstm, or xstm up if you have diagnostics installed and see what they show.
avsrini
Trusted Contributor

Re: HP-UX 11.0 & LARGE MEMORY

Hi
check what the following command output

/usr/sam/lbin/getmem

Regards
Srini
Be on top.
Steven E. Protter
Exalted Contributor

Re: HP-UX 11.0 & LARGE MEMORY

If the machine is 32 bit, you may have trouble using all that RAM.

But if its in there, it will be seen.

dmesg will work

swapinfo -tam will also give you some good figures to look at.

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
Ted Buis
Honored Contributor

Re: HP-UX 11.0 & LARGE MEMORY

The j6700 has a 64-bit processor. You "should" have the 64-bit OS loaded on it. Doesn't hurt to verify this. Check to see the settings of maxswapchunks in the kernel. It may too small. Also, kernel parameter swapmemon=1 if you have less disk swap space than RAM, or increase swap space to > or = to RAM. If you don't have enough swap space that can be addressed (maxswapchunks x swapchunk x blocksize) and swapmemon=0, then you won't be able to use all the RAM.
Mom 6
Sundar_7
Honored Contributor

Re: HP-UX 11.0 & LARGE MEMORY


As mentioned above, donâ t go by TOP - I guess you might be looking at the active virtual memory field or something.

I donâ t believe in using dmesg to find the physical memory installed in the system - dmesg buffer is very temporary by design and it is bound to be overwritten.

Use adb

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

The output is in Pages - one page is 4KB (by default) - multiply the output by 4 to get the amount of physical memory i
Learn What to do ,How to do and more importantly When to do ?
Bill Hassell
Honored Contributor

Re: HP-UX 11.0 & LARGE MEMORY

Check your kernel width with:

getconf KERNEL_BITS

If it says 32, then your 64bit processor is running a 32bit kernel. A 32bit kernel can never 'see' anything above 3.75Gb regardless of how much physical memory you have. If SAM's Performance Monitors-> System Properties shows Physical memory at less than 4Gb, then check the tab that says Operating System. It report the current opsystem bit size.

Check your firmware level to make sure it is high enough for 64bit kernels. You'll need to either upgrade your current system to 64bits or reinstall. On systems thaty can handle 32 and 64, the installer will ask you which version you want. If your 11.0 media is too old (several years) then it may not understand what the J6700 is and defauot to 32. You must get new media.


Bill Hassell, sysadmin
KapilRaj
Honored Contributor

Re: HP-UX 11.0 & LARGE MEMORY

Panchu,

Look for some patches for "top"

May be
http://www1.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHCO_26020&context=hpux:800:11:00

Kaps
Nothing is impossible