Operating System - HP-UX
1754414 Members
2454 Online
108813 Solutions
New Discussion юеВ

HP-UX 11.31 running as virtual machine on Integrity VM is very slow

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

HP-UX 11.31 running as virtual machine on Integrity VM is very slow

Hi All,

We have the server HP-UX 11.31 running as virtual machine on Integrity VM.

Actually we would like to migrate older applicaiton running on older PA-RISC servers (hardware - K580 and OS - HP-UX 10.20) to this new server and use aries for applicaiton emulation.

But we don't know the binaries, so we have took backup of all the filesystems (/ , /appl, /opt, /var, /tmp, /home) as it is from older server (PA-RISC server) using HP DATA PROTECTOR and resotored to new HP-UX 11.31 server running on Integrity VM with option "keep latest"

After that, the new server was working fine.

But for past few days it is very very slow.

We can realise the slowness while login to the server and read the files using ll.

How to solve this issue?





9 REPLIES 9
Steven E. Protter
Exalted Contributor

Re: HP-UX 11.31 running as virtual machine on Integrity VM is very slow

Shalom,

Please post hpvmstatus information on the virtual machine.

In general, applications from PA-RISC moved to IA-64 Itanium run slowly. The reason is the ARES emulator that takes care of the hardware abstraction uses a lot of resources.

The answer in general to performance issues is to increase the number of CPU's assigned to the virtual machine.

Make sure memory is adequate and there is not paging going on within the hpvm guest or the host 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
rick jones
Honored Contributor

Re: HP-UX 11.31 running as virtual machine on Integrity VM is very slow

If these old PA-RISC applications do a fair bit of I/O you may want to make sure you have an HPVM with AVIO support enabled.

To test how much is Aries and how much is HPVM, you might take a bare-iron Integrity system and run some of your apps there. If they are no faster, then it is likely Aries. If they are faster then it is likely guest overhead. Not 100% in each case of course.
there is no rest for the wicked yet the virtuous have no pillows
senthil_kumar_1
Super Advisor

Re: HP-UX 11.31 running as virtual machine on Integrity VM is very slow

Hi Steven,

I am not finding any paging on that VM.

Example:

# swapinfo -m
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 2048 0 2048 0% 0 - 1 /dev/vg00/lvol2
reserve - 1288 -1288
memory 1943 601 1342 31%



Hi ricks,

Where we have to check in host or guest whether HPVM with AVIO support enabled.

How to check that?
Suraj K Sankari
Honored Contributor
Solution

Re: HP-UX 11.31 running as virtual machine on Integrity VM is very slow

Hi Santhil,

To see the page in page-out you can apply this command

#vmstat 2 10

Suraj
senthil_kumar_1
Super Advisor

Re: HP-UX 11.31 running as virtual machine on Integrity VM is very slow

Hi Suraj K Sankari,

I am not seeing any paging from the command you have mentioned.

Example:

# vmstat 2 10
procs memory page faults cpu
r b w avm free re at pi po fr de sr in sy cs us sy id
1 1 0 89391 225881 0 0 1 0 0 0 1 359 2417 36 0 0 100
1 1 0 89391 225796 0 0 0 0 0 0 0 391 520 40 0 0 100
1 1 0 89391 225795 0 0 0 0 0 0 0 385 468 36 0 0 100
1 1 0 89391 225796 0 0 0 0 0 0 0 379 457 34 0 0 100
1 1 0 79165 225796 0 0 0 0 0 0 0 377 458 32 0 0 100
1 1 0 79165 225796 0 0 0 0 0 0 0 379 434 35 0 0 100
1 1 0 79165 225796 0 0 0 0 0 0 0 387 1473 45 0 1 99
1 1 0 79165 225258 0 0 0 0 0 0 0 350 1161 43 0 0 100
1 1 0 79165 225267 0 0 0 0 0 0 0 362 953 47 0 0 100
1 1 0 86952 225230 0 0 0 0 0 0 0 366 853 45 0 0 100
Steven E. Protter
Exalted Contributor

Re: HP-UX 11.31 running as virtual machine on Integrity VM is very slow

Shalom,

Do the what command on relevant binaries are PA-RISC or IA-64.

HP provides IA-64 binaries on all their major products so I'd recommend moving away from PA-RISC binaries where possible.

http://hpux.ws/system.perf.sh

That script will help you identify problems within a guest.

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
rick jones
Honored Contributor

Re: HP-UX 11.31 running as virtual machine on Integrity VM is very slow

Senthil - I've discussions of AVIO, but since I've never had to enable/disable/verify it myself I simply know it exists - I would think the HPVM documentation would go into some detail on the topic. A quick web search (avio site:hp.com) suggests this:

https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=AVIO

might be a good starting point.
there is no rest for the wicked yet the virtuous have no pillows
SUDHAKAR_18
Trusted Contributor

Re: HP-UX 11.31 running as virtual machine on Integrity VM is very slow

Could you please provide the #bdf output.
I think /var filesystem may be reaching the limit. /var/adm/wtmps and /var/adm/btmps to be trimmed (slow login issue).
senthil_kumar_1
Super Advisor

Re: HP-UX 11.31 running as virtual machine on Integrity VM is very slow

Hi Steven,

I have downloaded thte file "system.perf.sh" and copied it ot /root.

Example:

# pwd
/root

# ll system.perf.sh
-rwxrwxr-x 1 root sys 958 Apr 16 08:38 system.perf.sh

#./system.perf.sh

The above commmand did not give any output.

How to find the output given by above command (script)?


Hi sudhakar,

Please find the output of bdf.


# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1048576 195576 846408 19% /
/dev/vg00/lvol1 1835008 179192 1642976 10% /stand
/dev/vg00/lvol8 7340032 2143128 5156360 29% /var
/dev/vg00/lvol7 8388608 3061080 5285936 37% /usr
/dev/vg00/lvol9 1024000 17338 943753 2% /tmp_1
/dev/vg00/lvol10 5120000 426923 4399815 9% /tmp2
/dev/vg00/lvol4 4194304 38200 4123672 1% /tmp
/dev/vg00/lvol6 10485760 5083840 5359736 49% /opt
/dev/vg00/lvol5 1048576 7512 1032992 1% /home