CPU Performance Problems on VMWARE


 
Thread Tools Search this Thread
Operating Systems SCO CPU Performance Problems on VMWARE
# 1  
Old 09-07-2010
CPU Performance Problems on VMWARE

hi

We have migrated SCO 5.0.6 into ESX4, but the VM eats 100% of the virtual CPU.

Here is top print from the SCO VM:
Code:
last pid: 16773;  load averages:  1.68,  1.25,  0.98                   02:08:41
79 processes:  75 sleeping, 2 running, 1 zombie, 1 onproc
CPU states:  0.0% idle, 17.0% user, 83.0% system,  0.0% wait,  0.0% sxbrk
Memory: 512M phys, 447M max, 416M free, 441M locked, K unlocked, 2000M swap

  PID USERNAME PRI NICE   SIZE   RES  STATE   TIME  COMMAND
  341 root      26    0   868K   868K onpr    0:00  top
16773 root      26    0   940K   940K run     0:00  lpd
  400 root     -10    0   924K   924K run     2:04  lpd
  392 root     102    0  1124K  1124K sleep   0:00  ntpd
 7536 nouser    51    0    17M 17516K sleep   0:00  httpd
 7535 nouser    51    0    17M 17516K sleep   0:00  httpd
19016 nouser    51    0  8468K  8468K sleep   0:00  httpd
  390 root      51    0  2812K  2812K sleep   0:00  sshd

Howto tune SCO 5.0.6 for VMware?
# 2  
Old 09-07-2010
not sure about the SCO specifics running on VMWare but what is taking 83% system time? I cannot tell from the top output but you have two lpd processes in the run state. Is your printing daemons running properly? Can you post ps -ef?
# 3  
Old 09-08-2010
Which process is hitting so much CPU usage?
Here is ps -ef output:
Code:
# ps -ef
     UID   PID  PPID  C    STIME     TTY        TIME CMD
    root     0     0  0 02:46:38       ?    00:00:00 sched
    root     1     0  0 02:46:38       ?    00:00:00 /etc/init -a
    root     2     0  0 02:46:38       ?    00:00:00 vhand
    root     3     0  0 02:46:38       ?    00:00:00 bdflush
    root     4     0  0 02:46:38       ?    00:00:00 kmdaemon
    root     5     1  0 02:46:38       ?    00:00:01 htepi_daemon /
    root     6     0  0 02:46:38       ?    00:00:00 strd
    root 10310   390  0        -       -    00:00:00 <defunct>
    root    53     1  0 02:48:06       ?    00:00:00 /etc/ifor_pmd
    root    54    53  0 02:48:06       ?    00:00:00 /etc/ifor_pmd
    root 15829     1  0 02:49:01   tty01    00:00:00 /etc/getty tty01 sc_m
    root    41     1  0 02:48:05       ?    00:00:00 htepi_daemon /stand
    root 15830     1  0 02:49:01   tty02    00:00:00 /etc/getty tty02 sc_m
    root    60    54  0 02:48:06       ?    00:00:00 /etc/sco_cpd
    root    61    54  0 02:48:06       ?    00:00:00 /etc/ifor_sld
    root    80     1  0 02:48:06       ?    00:00:00 strerr
    root 15831     1  0 02:49:01   tty03    00:00:00 /etc/getty tty03 sc_m
    root 15832     1  0 02:49:01   tty04    00:00:00 /etc/getty tty04 sc_m
    root   282   278  0 02:48:49       ?    00:00:00 /etc/pwr/lib/listen system/                                              start-2 pwrd/startup /dev/fd/4
    root   278     1  0 02:48:49       ?    00:00:00 /etc/pwr/bin/pwrd
    root   334     1  0 02:48:49       ?    00:00:00 rusersd
    root   304     1  0 02:48:49       ?    00:00:00 /etc/cron
    root   194     1  0 02:48:48       ?    00:00:00 htepi_daemon /usr2
    root   289     1  0 02:48:49       ?    00:00:00 /opt/K/SCO/lli/5.0.6a/bin/d                                              lpid /var/opt/K/SCO/lli/5.0.6a/dlpidPIPE
    root   327     1  0 02:48:49       ?    00:00:00 portmap
    root   314     1  0 02:48:49       ?    00:00:00 /usr/lib/lpsched
    root  6289     1  0 02:48:55       ?    00:00:00 /usr/lib/scosh/calserver
    root   333     1  0 02:48:49       ?    00:00:00 rwalld
  nouser  5925  4410  0 02:48:55       ?    00:00:00 /usr/lib/apache/bin/httpd
    root 15728     1  0 02:49:01       ?    00:00:00 /usr/lib/apache/bin/httpd -                                              d /usr/lib/docview -f /usr/lib/docview/conf/httpd.co
    root   380     1  0 02:48:50       ?    00:00:00 /etc/sshd
    root   377     1  0 02:48:50       ?    00:00:00 /etc/snmpd
    root   351     1  0 02:48:49       ?    00:00:01 /etc/in.prngd /etc/egd-pool
    root  1459     1  0 02:48:52       ?    00:00:00 biod 4
    root   367     1  0 02:48:49       ?    00:00:00 /etc/inetd
    root   382     1  0 02:48:50       ?    00:00:05 ntpd -g
    root  4410     1  0 02:48:54       ?    00:00:00 /usr/lib/apache/bin/httpd
    root   390     1 95 02:48:50       ?    00:29:07 /usr/lbin/lpd -G
    root  1480  1471  0 02 begin_of_the_skype_highlighting**************1480 1471 0 02******end_of_the_skype_highlighting:48:52       ?    00:00:00 nfsd -u 4 -t 16
    root   533     1  0 02:48:51       ?    00:00:00 /usr/mmdf/bin/deliver -b
    root  1272     1  0 02:48:51       ?    00:00:00 /usr/lbin/archd -s 60
    root  1473     1  0 02:48:52       ?    00:00:00 statd
    root  1471     1  0 02:48:52       ?    00:00:00 nfsd -u 4 -t 16
  nouser  5926  4410  0 02:48:55       ?    00:00:00 /usr/lib/apache/bin/httpd
    root  1460     1  0 02:48:52       ?    00:00:00 biod 4
    root  1461     1  0 02:48:52       ?    00:00:00 biod 4
    root  1462     1  0 02:48:52       ?    00:00:00 biod 4
    root  1505     1  0 02:48:52       ?    00:00:00 lockd -u 4 -t 16
    root  1478     1  0 02:48:52       ?    00:00:00 mountd
    root  1479  1471  0 02:48:52       ?    00:00:00 nfsd -u 4 -t 16
    root  1481  1471  0 02:48:52       ?    00:00:00 nfsd -u 4 -t 16
    root  1482  1471  0 02:48:52       ?    00:00:00 nfsd -u 4 -t 16
    root  1508  1505  0 02:48:52       ?    00:00:00 lockd -u 4 -t 16
    root  1509  1508  0 02:48:52       ?    00:00:00 lockd -u 4 -t 16
    root  1510  1508  0 02:48:52       ?    00:00:00 lockd -u 4 -t 16
    root  1511  1508  0 02:48:52       ?    00:00:00 lockd -u 4 -t 16
    root  1512  1508  0 02:48:52       ?    00:00:00 lockd -u 4 -t 16
    root  6322  6289  0 02:48:55       ?    00:00:00 /usr/lib/scosh/calserver
  nouser  5927  4410  0 02:48:55       ?    00:00:00 /usr/lib/apache/bin/httpd
  nouser  5928  4410  0 02:48:55       ?    00:00:00 /usr/lib/apache/bin/httpd
  nouser  5929  4410  0 02:48:55       ?    00:00:00 /usr/lib/apache/bin/httpd
    root 14570     1  0 02:49:00       ?    00:00:00 /usr/lib/scosh/caldaemon
  nouser 15731 15728  0 02:49:01       ?    00:00:00 /usr/lib/apache/bin/httpd -                                              d /usr/lib/docview -f /usr/lib/docview/conf/httpd.co
    root  6154     1  0 02:48:55       ?    00:00:00 /var/scohttp/scohttpd -d /v                                              ar/scohttp
    root 15833     1  0 02:49:01   tty05    00:00:00 /etc/getty tty05 sc_m
    root 15834     1  0 02:49:01   tty06    00:00:00 /etc/getty tty06 sc_m
    root 15835     1  0 02:49:01   tty07    00:00:00 /etc/getty tty07 sc_m
    root 15836     1  0 02:49:01   tty08    00:00:00 /etc/getty tty08 sc_m
    root 15837     1  0 02:49:01   tty09    00:00:00 /etc/getty tty09 sc_m
    root 15838     1  0 02:49:01   tty10    00:00:00 /etc/getty tty10 sc_m
    root 15839     1  0 02:49:01   tty11    00:00:00 /etc/getty tty11 sc_m
    root 15840     1  0 02:49:01       ?    00:00:00 /bin/sh -c /usr/lib/u386mon                                              /u386mon.sh tty12
    root 15841     1  0 02:49:01       ?    00:00:00 /tcb/files/no_luid/sdd
    root  2333   380  1 09:39:14       ?    00:00:00 /etc/sshd -R
    root 15844 15840  0 02:49:01       ?    00:00:00 /bin/sh -c /usr/lib/u386mon                                              /u386mon.sh tty12
    root 28399     1  0 09:40:25   tty1A    00:00:00 /etc/getty_50 -t60 tty1A 96                                              00
    root 15906 15844  0 02:49:01       ?    00:00:00 su -c /usr/bin/u386mon
    root 15907 15906  0 02:49:01       ?    00:00:21 /usr/bin/u386mon
  nouser 17231 15728  0 02:49:02       ?    00:00:00 /usr/lib/apache/bin/httpd -                                              d /usr/lib/docview -f /usr/lib/docview/conf/httpd.co
  nouser 18877 15728  0 02:49:03       ?    00:00:00 /usr/lib/apache/bin/httpd -                                              d /usr/lib/docview -f /usr/lib/docview/conf/httpd.co
  nouser 18878 15728  0 02:49:03       ?    00:00:00 /usr/lib/apache/bin/httpd -                                              d /usr/lib/docview -f /usr/lib/docview/conf/httpd.co
    root 10311   390  0        -       -    00:00:00 <defunct>
    root 20905  2333  2 09:39:25   ttyp0    00:00:00 -sh
    root 10312 20905  1 09:41:09   ttyp0    00:00:00 ps -ef

BTW on the old physical system is the same problem > 85.4% system.

Last edited by ccc; 09-08-2010 at 05:00 AM..
# 4  
Old 09-08-2010
Try running this:

Code:
#!/bin/sh
ps -A -o "pid=" -o "pcpu=" |awk '$2 > 5 {print $1 " " $2}' | sort -r +1

It will list all processes using more than 5 percent cpu.
This User Gave Thanks to jgt For This Post:
# 5  
Old 09-08-2010
There's one process that seems out of bounds (4th column is %CPU used):
Code:
    root   390     1 95 02:48:50       ?    00:29:07 /usr/lbin/lpd -G

Check the printing configuration and log files for any oddities.
This User Gave Thanks to pludi For This Post:
# 6  
Old 09-08-2010
Quote:
Originally Posted by jgt
Try running this:

Code:
#!/bin/sh
ps -A -o "pid=" -o "pcpu=" |awk '$2 > 5 {print $1 " " $2}' | sort -r +1

It will list all processes using more than 5 percent cpu.
Thx, I'm getting this:
Code:
# ps -A -o "pid=" -o "pcpu=" |awk '$2 > 5 {print $1 " " $2}' | sort -r +1
390 7,62





Quote:
Originally Posted by pludi
There's one process that seems out of bounds (4th column is %CPU used):
Code:
    root   390     1 95 02:48:50       ?    00:29:07 /usr/lbin/lpd -G

Check the printing configuration and log files for any oddities.
Thx, but howto check lpd log files or find lpd problem on SCO 5.0.6?

Last edited by ccc; 09-08-2010 at 10:58 AM..
# 7  
Old 09-08-2010
... and something under that process has died.
Quote:
root 10311 390 0 - - 00:00:00 <defunct>
The manual implies that errors are in syslog but there is no mention of a "-G" switch to lpd.
lpd(ADMN)
This User Gave Thanks to methyl For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. What is on Your Mind?

MySQL Performance Problems

Just restarted MySQL a few times. There seems to be a problem with MySQL performance because one table (our man page table) is too large and I need to move that table to a new database and out of the main forums DB. That table is over 7 GB, bigger than the rest of the DB combined: ... (14 Replies)
Discussion started by: Neo
14 Replies

2. AIX

CPU performance

In my oracle db server we have 15 cores (power8). The output of the vmstat is as below. System configuration: lcpu=128 mem=208800MB ent=16.00 kthr memory page faults cpu time -----------... (18 Replies)
Discussion started by: powerAIX
18 Replies

3. Solaris

Understanding & Monitoring CPU performance (Load vs SAR)

Hi all, Been reading a lot of the cpu load and its "analogy of it to car traffic path of expressway" From wiki Most UNIX systems count only processes in the running (on CPU) or runnable (waiting for CPU) states. However, Linux also includes processes in uninterruptible sleep states... (13 Replies)
Discussion started by: javanoob
13 Replies

4. UNIX for Advanced & Expert Users

SCO 6.0 & VMware problems

I've moved a physical server over to VMWare ESXi 5.1 using SCO 6.0 with MP4. For whatever reason, people are occasionally getting kicked out or are closing out their telnet session and it is leaving their processes running. When this happens, the sar %idle drops from 98-95% down to 25-20%. ... (1 Reply)
Discussion started by: Carlitos71
1 Replies

5. Shell Programming and Scripting

AIX CPU performance script ?

I want to write a shell script which will print AIX CPU utilization memory utilization every 5 mins redirect to file. How do i do it? Please advise. Which commands I should use? (3 Replies)
Discussion started by: vegasluxor
3 Replies

6. HP-UX

Performance - CPU spiking

We have a DB server which is constantly utilised above 95% above. This is becoming nuisance when the monitoring team frequently calls to check on it. Frankly I do not know what to tweak or even interpret the outputs. I noticed constant 30 to 60% in wio column of the cpu utilisation. There... (1 Reply)
Discussion started by: sundar63
1 Replies

7. UNIX for Advanced & Expert Users

Vmware 7 unixware 7.13 network problems

i need help, i will always accord mine if my scope allows me, help me in this one.. am running vmware 7.0 in winserver 2008 on a cq61-425el, my network driver is installed correctly. and my vmware network drivers have added as well (in the device manager section). During installation i wasnt... (0 Replies)
Discussion started by: baitz
0 Replies

8. HP-UX

Bad performance but Low CPU loading?

There might be some problem with my server, because every morning at 7, it's performance become bad with no DB extra deadlock. But I just couldn't figure it out. Please give me some advise, thanks a lot... According to the CPU performace chart, Daily CPU loading Maximum: 42 %, Average:36%. ... (8 Replies)
Discussion started by: GreenShery
8 Replies

9. Solaris

In Solaris Zones Dedicated-Cpu Performance?

Hi All, While creating zone we will mention min and max cpu cores, like add dedicated-cpu set ncpus=NUM_CPUS_MIN-NUM_CPUS_MAX end Ques1: Suppose thing that non global zone uses only minimum cores at particular time What the other cores will do, Will it shared to global zone? Ques:2... (1 Reply)
Discussion started by: vijaysachin
1 Replies

10. AIX

Performance Problem - High CPU utilization

Hello everybody. I have a problem with my AIX 5.3. Recently my unix shows a high cpu utilization with sar or topas. I need to find what I have to do to solve this problem, in fact, I don't know what is my problem. I had the same problem with another AIX 5.3 running the same... (2 Replies)
Discussion started by: wilder.mellotto
2 Replies
Login or Register to Ask a Question