- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: VM guest with vhand processes
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2009 10:11 PM
01-11-2009 10:11 PM
System: herhxd02 Sun Jan 11 22:05:35 2009
Load averages: 0.65, 0.68, 0.49
282 processes: 99 sleeping, 45 running, 135 stopped, 3 zombies
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 0.58 2.2% 0.0% 13.4% 84.4% 0.0% 0.0% 0.0% 0.0%
1 0.59 0.9% 0.0% 1.4% 97.8% 0.0% 0.0% 0.0% 0.0%
2 0.79 0.3% 0.0% 4.5% 95.2% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 0.65 1.2% 0.0% 6.4% 92.4% 0.0% 0.0% 0.0% 0.0%
System Page Size: 4Kbytes
Memory: 58048K (30244K) real, 8470716K (1378520K) virtual, 18488K free Page# 1/11
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
2 ? 2 root 128 20 72K 64K run 20:33 17.85 17.82 vhand
0 ? 12985 oracle 128 20 59068K 3664K run 0:02 1.02 1.00 gdb
0 ? 13607 root 130 20 3944K 136K sleep 0:00 6.06 0.84 grep
1
swapinfo output is - oh no system is again unaccessible. but last time i checked was ok.
i also increased the shmmax to 5 gb.
any help appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2009 10:26 PM
01-11-2009 10:26 PM
Re: VM guest with vhand processes
oracle 12388 23907 00:00:00 20:22:14 158 20 T HPUX sh -c /bin/sh -c '/usr/bin/echo "set pagination off ^J bt" | /opt/langtools/bin/gdb -quiet /db/app/oracle/product/10.2.0/bin/or
oracle 12390 12388 00:00:00 20:22:14 158 20 T HPUX /bin/sh -c /usr/bin/echo "set pagination off ^J bt" | /opt/langtools/bin/gdb -quiet /db/app/oracle/product/10.2.0/bin/oracle 12
oracle 12392 12390 00:00:01 20:22:14 178 20 R HPUX /opt/langtools/bin/gdb -quiet /db/app/oracle/product/10.2.0/bin/oracle 12357
oracle 12828 23907 00:00:00 21:56:10 158 20 S HPUX sh -c /bin/sh -c '/usr/bin/echo "set pagination off ^J bt" | /opt/langtools/bin/gdb -quiet /db/app/oracle/product/10.2.0/bin/or
oracle 12837 12828 00:00:00 21:56:12 158 20 S HPUX /bin/sh -c /usr/bin/echo "set pagination off ^J bt" | /opt/langtools/bin/gdb -quiet /db/app/oracle/product/10.2.0/bin/oracle 12
oracle 12842 12837 00:00:00 21:56:12 128 20 S HPUX /opt/langtools/bin/gdb -quiet /db/app/oracle/product/10.2.0/bin/oracle 12561
oracle 12935 2578 00:00:00 21:57:12 158 20 S HPUX sh -c /bin/sh -c '/usr/bin/echo "set pagination off ^J bt" | /opt/langtools/bin/gdb -quiet /db/app/oracle/product/10.2.0/bin/or
oracle 12938 12935 00:00:00 21:57:14 158 20 S HPUX /bin/sh -c /usr/bin/echo "set pagination off ^J bt" | /opt/langtools/bin/gdb -quiet /db/app/oracle/product/10.2.0/bin/oracle 12
oracle 12940 12938 00:00:00 21:57:14 128 20 S HPUX /opt/langtools/bin/gdb -quiet /db/app/oracle/product/10.2.0/bin/oracle 12366
oracle 12934 2769 00:00:00 21:57:12 158 20 S HPUX sh -c /bin/sh -c '/usr/bin/echo "set pagination off ^J bt" | /opt/langtools/bin/gdb -quiet /db/app/oracle/product/10.2.0/bin/or
oracle 12942 12934 00:00:00 21:57:16 158 20 S HPUX /bin/sh -c /usr/bin/echo "set pagination off ^J bt" | /opt/langtools/bin/gdb -quiet /db/app/oracle/product/10.2.0/bin/oracle 12
oracle 12944 12942 00:00:00 21:57:16 128 20 S HPUX /opt/langtools/bin/gdb -quiet /db/app/oracle/product/10.2.0/bin/oracle 12514
oracle 12412 2874 00:00:00 20:22:22 158 20 T HPUX sh -c /bin/sh -c '/usr/bin/echo "set pagination off ^J bt" | /opt/langtools/bin/gdb -quiet /db/app/oracle/product/10.2.0/bin/or
oracle 12414 12412 00:00:00 20:22:23 158 20 T HPUX /bin/sh -c /usr/bin/echo "set pagination off ^J bt" | /opt/langtools/bin/gdb -quiet /db/app/oracle/product/10.2.0/bin/oracle 12
oracle 12417 12414 00:00:01 20:22:23 179 20 R HPUX /opt/langtools/bin/gdb -quiet /db/app/oracle/product/10.2.0/bin/oracle 12370
oracle 12416 3141 00:00:00 20:22:23 158 20 T HPUX sh -c /bin/sh -c '/usr/bin/echo "set pagination off ^J bt" | /opt/langtools/bin/gdb -quiet /db/app/oracle/product/10.2.0/bin/or
oracle 12423 12416 00:00:00 20:22:24 158 20 T HPUX /bin/sh -c /usr/bin/echo "set pagination off ^J bt" | /opt/langtools/bin/gdb -quiet /db/app/oracle/product/10.2.0/bin/oracle 12
oracle 12425 12423 00:00:01 20:22:25 179 20 R HPUX /opt/langtools/bin/gdb -quiet /db/app/oracle/product/10.2.0/bin/oracle 12369
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2009 10:34 PM
01-11-2009 10:34 PM
Re: VM guest with vhand processes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2009 10:37 PM
01-11-2009 10:37 PM
Re: VM guest with vhand processes
Tunable Usage / Setting
=============================================
filecache_max 716931072 / 5104238592
maxdsiz 2031616 / 1073741824
maxdsiz_64bit 9437184 / 4294967296
maxfiles_lim 53 / 4096
maxssiz 163840 / 209715200
maxssiz_64bit 786432 / 268435456
maxtsiz 3829760 / 1073741824
maxtsiz_64bit 201326592 / 1073741824
maxuprc 70 / 4096
max_thread_proc 101 / 1200
msgmni 2 / 3200
msgtql 0 / 3200
nflocks 141 / 4096
ninode 2003 / 8192
nkthread 442 / 8416
nproc 227 / 4200
npty 0 / 60
nstrpty 6 / 256
nstrtel 0 / 256
nswapdev 1 / 32
nswapfs 0 / 32
semmni 27 / 4096
semmns 1641 / 4096
shmmax 2181046272 / 5368709120
shmmni 11 / 1024
shmseg 3 / 1024
system is not responding but this is what i got couple of hours back.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2009 10:53 PM
01-11-2009 10:53 PM
Solution> Tunable Usage / Setting
> =============================================
> filecache_max 716931072 / 5104238592
When the output was taken, the filecache usage was less.
Looks like filecache_max was set to 50% of total memory. This seems little high. As this can dynamically changed, you could try setting a smaller value and see if the system response is better during high load.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2009 11:18 PM
01-11-2009 11:18 PM
Re: VM guest with vhand processes
(herhxd02 root):/> kcusage
Tunable Usage / Setting
=============================================
filecache_max 129933312 / 2041695436
maxdsiz 3915776 / 1073741824
maxdsiz_64bit 8650752 / 4294967296
maxfiles_lim 53 / 4096
maxssiz 98304 / 209715200
maxssiz_64bit 786432 / 268435456
maxtsiz 3829760 / 1073741824
maxtsiz_64bit 201326592 / 1073741824
maxuprc 32 / 4096
max_thread_proc 101 / 1200
msgmni 2 / 3200
msgtql 0 / 3200
nflocks 54 / 4096
ninode 1839 / 8192
nkthread 387 / 8416
nproc 173 / 4200
npty 0 / 60
nstrpty 1 / 256
nstrtel 0 / 256
nswapdev 1 / 32
nswapfs 0 / 32
semmni 22 / 4096
semmns 830 / 4096
shmmax 2181046272 / 5368709120
shmmni 7 / 1024
shmseg 3 / 1024
(herhxd02
i will monitor it . any other suggestions ,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2009 12:37 AM
01-12-2009 12:37 AM
Re: VM guest with vhand processes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2009 12:40 AM
01-12-2009 12:40 AM
Re: VM guest with vhand processes
#swapinfo -atm
#kmeminfo (if you have it)
Have a look in the syslog for swap reservation failures or fork errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2009 12:45 AM
01-12-2009 12:45 AM
Re: VM guest with vhand processes
I would tend to say that low usage of file cache means that you have memory pressure ...
Could you post result of "vmstat -S 5 13" and "swapinfo -atm"
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2009 02:18 AM
01-12-2009 02:18 AM
Re: VM guest with vhand processes
Then you don't have enough memory.
>also seeing some gdb processes running on the top list of processes owned by oracle.
>0 ? 12985 oracle 128 20 59068K 3664K run 0:02 1.02 1.00 gdb
Oracle has aborted if it is running gdb.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2009 11:52 AM
01-12-2009 11:52 AM
Re: VM guest with vhand processes
Attached is a file . The current system is system is still running slow . The simplae commands at times take some time to execute .
The vmstat ouput is showing page outs as well .
Any more suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2009 04:32 PM
01-12-2009 04:32 PM
Re: VM guest with vhand processes
time vgdisplay -v /dev/vg00
real 0.9
user 0.0
sys 0.0
took almost 0.9 sec . it should be done with 0 sec .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2009 07:30 PM
01-12-2009 07:30 PM
Re: VM guest with vhand processes
Solution: Make filecache_max lower 1/4 or 1/5 of physical memory. Oracle does not need buffer cache anyways since it handles its own cacheing. IN fact the oracle tablespace mount points should use mincache=direct mount option so it does not use buffer cache (filecache on 11.31)
good luck
All of these rules should be the same for virtual machines as well as physical machines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2009 08:28 PM
01-12-2009 08:28 PM
Re: VM guest with vhand processes
That's still too big. Your page PO counts are very large: 2089
Your swapinfo info shows using 19% of about 10 Gb. (This seems strange if collected at the same time as your vmstat.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2009 08:32 PM
01-12-2009 08:32 PM
Re: VM guest with vhand processes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2009 01:37 AM
01-13-2009 01:37 AM
Re: VM guest with vhand processes
As underlined by Dennis, PO is too high in vmstat, but swapinfo would tend to say that 10 Go is enough. Limit, but enough.
Do you have configured dynamic memory in your vm ? Post a verbose status of VM configuration with "hpvmstatus -V -P hervmd02"
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2009 10:50 AM
01-15-2009 10:50 AM
Re: VM guest with vhand processes
real 0.25
user 0.00
sys 0.02
The top command currently showing 63% cpu used by SYSTEM processes. Don't know why its used that much . Attaching
kmeminfo output
vmstat samples
hpvmstatus -v -P
This vm guest is runing with 3 oracle db - 10g version with abt 6 gb of shared memory .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2009 05:11 PM
01-15-2009 05:11 PM
Re: VM guest with vhand processes
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 0.88 1.8% 41.7% 51.9% 4.7% 0.0% 0.0% 0.0% 0.0%
1 0.84 21.7% 2.4% 58.7% 17.3% 0.0% 0.0% 0.0% 0.0%
2 0.90 0.0% 47.2% 35.8% 16.9% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 0.88 7.9% 30.3% 48.8% 13.0% 0.0% 0.0% 0.0% 0.0%
why nice % os 30.3 and system is 48.8% .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2009 01:12 AM
01-19-2009 01:12 AM
Re: VM guest with vhand processes
In my opinion, you should first try to resolve memory issue before analyzing abnormal usage of CPU in sys mode. vmstat clearly shows heavy paging out activity and free memory is very low. Memory pressure can explain this kind of usage of cpu. How is sga configured ? Could you post "ipcs -mb"
From VM point of view, I had in the past some performance troubles with HP VM 3.0 and oracle 10.2.0.2 One of the symptoms was cpu usage in mode sys ... We have solved the problem with upgrading Oracle to 10.2.0.3 and applying oracle patch 6058758, and doing some Oracle tuning. May be you could check, but I am afraid that you are not concerned since your system is newer.
Still from VM, you should extend usage of AVIO to all your storage : only 2 virtual disks on 7 are avio_stor. It will not give you a spectacular change, but every thing is good to use when you tune a system.
Eric
PS : if you want a verbose status of a VM, don't use "-v" but "-V"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2009 09:23 AM
01-19-2009 09:23 AM
Re: VM guest with vhand processes
IPC status from /dev/kmem as of Mon Jan 19 09:12:35 2009
T ID KEY MODE OWNER GROUP SEGSZ
Shared Memory:
m 0 0x411c016b --rw-rw-rw- root root 348
m 1 0x4e0c0002 --rw-rw-rw- root root 61760
m 2 0x41202399 --rw-rw-rw- root root 8192
m 3 0x411c14d6 --rw------- root root 4096
m 4 0x4914a8b8 --rw-r--r-- root root 22908
m 1966085 0x77d23114 --rw-r----- oracle dba 1140854784
m 6 0xbb4853fc --rw-r----- oracle dba 2181046272
m 8 0x1c0b79b8 --rw-r----- oracle dba 1140854784
m 9 0x01a1a079 --rw-rw-rw- root root 50331648
m 10 0x01d626e8 --rw-rw-rw- root root 50331648
m 11 0x0102d9f2 --rw-rw-rw- root root 50331648
m 12 0x01c488d2 --rw-rw-rw- root root 50331648
We are on oracle 10.2.0.4 with latest patch set . I think system looks little better after changing the CPU entitlement value . I have asked the users to test it again and provide me the feedback.
but thanks for your follow up. Do u have the syntax to change the normal disk to avio . i think i need to export the VG , remove the disk and then re-assign them using avio option . correct ?
attaching the latest output of hpvmstatus.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2009 10:00 AM
01-19-2009 10:00 AM
Re: VM guest with vhand processes
Really I don't think that growing entitlement to 95% has solved any problem. Entitlement should only play when you have cpu pressure from several VM Guests. In this case, the VM host will distribute the CPU to the VM in a ratio accorded to entitlement of each VM.
More : if you leave 95% as an entitlement to this VM, and if you stop other(s) VM(s), there is a strong chance that you will not be able to start again the stopped VM :-(
From memory point of view, ipcs shows that you take about 4.2 GB for SGAs. It is about 50% of the VM memory (9 GB ?) and it might be a lot depending on how others processes are using memory. It could confirm that you have memory bottleneck.
Since we are speaking of memory, you have posted "hpvmstatus -V" from the wrong VM hervmd01. I thought that you have problems with hervmd02. Right ?
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2009 10:33 AM
01-19-2009 10:33 AM
Re: VM guest with vhand processes
"i think i need ... remove the disk and then re-assign them using avio option "
With "hpvmmodify -m" you can only modify the physical part of a ressource aasigned to a VM. You can't modify "scsi" to "avio_stor". So Yes, you are right, you will have to remove "hpvmmodify -d" then re-assign with "hpvmmodify -a"
"i think i need to export the VG ..."
If guest OS is 11iv2 you can avoid exporting the VG if you stop the VM before modifying backing store and carefully add back the virtual disks with the same bus / device / target than before removing. Then restart the VM.
If guest is 11iv3 and you use persistent DSF you will have to export-import the VG. Disk ID changes when you switch from scsi to avio_stor and a new DSF is created.
One more consideration : on a given virtual bus / device, you can't mix scsi and avio_stor. When one device is of type avio, all the bus / device is of type avio. Thus all devices on the same bus / device must be of type avio
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2009 10:37 AM
01-19-2009 10:37 AM
Re: VM guest with vhand processes
But the entitlement of 95% is only related to number of CPU assign to this VM . Correct ?
(herhxv01 root):/> hpvmstatus -v
Version B.04.00.00
[Virtual Machines]
Virtual Machine Name VM # OS Type State #VCPUs #Devs #Nets Memory Runsysid
==================== ===== ======= ========= ====== ===== ===== ======= ========
hervmd01 2 HPUX Off 1 1 1 4 GB 0
hervmd02 3 HPUX On (OS) 3 7 1 10 GB 0
hervmd03 4 HPUX On (OS) 2 1 1 3 GB 0
(
Is the 95% of CPU entitlement means that a VM can go upto a 95% of CPU utilization in case other VM have free CPU or its just restricted to only the maximum defined in the VM .
Regarding the memory , this is a test server and very lightly used and still users complaint about its slow performance . Even i feel a slowness just typing commands.
i updated the correct hpcmstatus output .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2009 01:04 AM
01-20-2009 01:04 AM
Re: VM guest with vhand processes
Your latest hpvmstatus seems to confirm that memory is THE bottleneck :
- Memory pressure is 80. Page 141 of HP Integrity Virtual Machines Version 4.0 Installation, Configuration, and Administration "A value between 0 and 100 used as an indicator of memory deficit and paging. The higher the number the longer the system has been in a memory deficit. A memory pressure value approaching 100 usually means the system is hung."
- Comfortable minimum is 10234 MB. Same guide, same page "A value for ram_target which can be used to reduce the guest memory but allow it sufficient memory resources to continue running a minimal workload." Don't know exactly how "Comfortable memory" is computed, but I guess you should understand that 10240 MB is a minimum to allocate to your VM
- Current memory is 8250 MB. You should size it at leats to the maximum.
==> Don't known how many physical RAM you have on this host, but you should try to allocate many more than 10GB. Even, you should stop others VM and allocate the maximum you can to hervmd02 then determine what would be the correct sizing for this VM.
==> When others VM are not under CPU pressure, a VM under cpu pressure can goes up to 100% (not exactly, see below) of the same number of physical cpu than virtual cpu it has. Entitlement will only play when several VM are under CPU pressure.
From Integrity VM 4.0, there is a new entitlement properties which is max_percent that will cap VM's usage of CPU. So when I previously said that a VM can reach 100%, it is false. It is able to reach only max_percent of CPU only. Your VM is configured at 100%
Eric