1832437 Members
3580 Online
110042 Solutions
New Discussion

Increase Page Size

 
teowsing
Occasional Contributor

Increase Page Size

Dear All,
How do we increased HPUX Page Size?

Thanks
8 REPLIES 8
Ollie Rowland
Frequent Advisor

Re: Increase Page Size

Sandeep_Chaudhary
Trusted Contributor

Re: Increase Page Size

Swap extents must be contiguous. so it is difficult to extend primary swap. One way is to restore from ignite and during the process change swap. easier way is create another lvol and mount as swap.

# lvcreate -C y -r n -L 4096 -n lvolswap /dev/vg00

# swapon -p 0 /dev/vg00/lvolswap

# echo "/dev/vg00/lvolswap ... swap pri=0 0 0" >> /etc/fstab
teowsing
Occasional Contributor

Re: Increase Page Size

FYI : I want to increased memory page size

I have read from
http://h20331.www2.hp.com/Hpsub/cache/286515-0-0-225-121.html .
But I don't understand about
To change the page size for NX use the "chatr +pd 4M exec_name" where exec_name is:

$UGII_BASE_DIR/ugii/ugraf
$UGII_BASE_DIR/ugii/uglibs/*.sl (expand *.sl for each library)
$UGII_BASE_DIR/ugii/uglibs/XXX/libgraphics_driver.sl (where XXX is ogl, xsb or xwi).

What is the value of $UGII_BASE_DIR?

Thanks
Deepak Kr
Respected Contributor

Re: Increase Page Size

Have you already installed NX for HP-ux

if yes then

This should be the install dir for NX.

"There is always some scope for improvement"
Don Morris_1
Honored Contributor

Re: Increase Page Size

What you're actually asking about is the size of translations used within an application. (That's different from the memory page size of the system [getconf _SC_PAGE_SIZE] which is the minimum granularity of _any_ translation on the system). That's only tunable on 11.31.0809 and later (PHKL_38038 and dependencies).

The chatr line you show below is simply setting a hint in the binary such that when the kernel starts the application, it knows to set a hint in the Data object (+pd means data) that 4Mb translations are preferred instead of the system default hint from the vps_pagesize tunable [man 5 vps_pagesize is a good read on this concept, by the way]. When a fault occurs, the kernel uses this heuristic to make an attempt to get physical memory beyond the raw fault requirements based on the heuristic so that a single translation can be used for a wider range of the data set... increasing the likelihood that the translation cache layer of the system (TLB) can hold all the translations of the working set.

This is orthogonal to the $UGII_BASE_DIR -- that's simply a file path for the purpose of the example, it doesn't play into the chatr or variable page size hint.

So in short, man chatr / man vps_ceiling / man vps_chatr_ceiling should give you all the information you need.
teowsing
Occasional Contributor

Re: Increase Page Size

I have not install NX.
How can I get the NX source Program?

Thanks
Don Morris_1
Honored Contributor

Re: Increase Page Size

Well, NX isn't a HP product. You'll have to investigate/contact the vendor as to delivery options.

http://www.plm.automation.siemens.com/en_us/products/nx/

Srimalik
Valued Contributor

Re: Increase Page Size

changing the page size is not supported on HPUX yet.
I think it is coming in Sep 08 release as a new kernel parameter as Don mentioned.



abandon all hope, ye who enter here..