From: olevin@random.hwr.arizona.edu
Newsgroups: comp.unix.aix
Subject: understanding the numbers
Keywords: cpu, fortran, iostat
Date: 16 Oct 92 13:42:12 GMT
Reply-To: olevin@random.hwr.arizona.edu
Organization: University of Arizona, Tucson, AZ

Hi: I need some help in the interpretation of the followings
numbers. 

Background: RISC/6000 - 560 with AIX-3.2, 128K of memory

I'm running a fortran program which was compiled using the
following options: 

ym -bmaxdata:0x30000000 -O -Pv -Wp,-qa,-qr,-qv
and -lessl -L/usr/lib

NUMBERS: from iostat:
tty:  tin      tout      cpu:   % user    % sys     % idle    % iowait
     0.4       9.3               1.2      2.2        0.3      96.3     
     0.4       7.8               0.4      2.9        0.0      96.7     
     3.4      35.5               1.4      4.0        0.0      94.6     
     1.2     110.4               8.5      3.2        0.0      88.3     
     2.0     224.5              14.8      4.2        0.0      81.0     
     0.4      52.9               3.6      1.9        0.0      94.5     
     0.4      61.1               3.1      2.4        0.0      94.5     
     0.0       0.0               2.1      4.0        0.0      93.9     
     0.1       2.9               6.5      4.9        0.0      88.6     
     1.4     248.4               8.0      2.7        0.0      89.3     
From lsps -a

Page Space  Phal Vol   Volme Group    Size   %Used  Active  Auto  Type
paging06    hdisk2       rootvg        40MB      46     yes   yes    lv
paging05    hdisk2       rootvg        80MB      25     yes   yes    lv
paging03    hdisk2       rootvg        40MB      50     yes   yes    lv
paging04    hdisk2       rootvg        40MB      49     yes   yes    lv
paging02    hdisk2       rootvg        40MB      50     yes   yes    lv
paging01    hdisk0       rootvg        40MB      50     yes   yes    lv
paging00    hdisk0       rootvg        40MB      49     yes   yes    lv
hd61        hdisk1       rootvg        40MB      50     yes   yes    lv
hd6         hdisk0       rootvg        40MB      66     yes   yes    lv

the last one

USER    PI %CPU %MEM   SZ  RSS    TTY STAT    STIME  TIME COMMAND
root     0 0.0  0.0    8    8      - S      Oct 14  0:22 swapper
root     1 0.0  0.0  236  140      - S      Oct 14  0:49 /etc/init 
root   514 0.0  0.0   12    8      - R      Dec 31 2781:20 kproc
root   771 0.0  0.0   16   16      - S      Dec 31  1:26 kproc
root  1028 0.0  0.0   16    8      - S      Dec 31  0:00 kproc
root  1501 0.0  0.0   16   16      - S      Oct 14  0:00 kproc
root  1615 0.0  0.0  152   88      - S      Oct 14  0:17 /etc/cron 
root  2169 0.0  0.0   16    8      - S      Oct 14  0:00 kproc
root  2389 0.0  0.0   40   12      - S      Oct 14  0:00 /etc/uprintfd 
root  2578 0.0  0.0   72   28      - S      Oct 14  0:13 /etc/syncd 60 
root  2883 0.0  0.0  252   12      - S      Oct 14  0:00 /usr/lib/sendmail 
root  3126 0.0  0.0  188   12      - S      Oct 14  0:00 /etc/srcmstr 
root  3348 0.0  0.0  216   12      - S      Oct 14  0:00 /usr/lib/errdemon 
root  3648 0.0  0.0  132   60      - S      Oct 14  0:00 /etc/syslogd 
root  3978 0.0  0.0   16    8      - S      Oct 14  0:00 kproc
root  4180 0.0  0.0  100   12      - S      Oct 14  0:00 /etc/writesrv 
olevn 4443 0.0  0.0  280  576  hft/0 S    21:13:28  0:01 -tcsh 
root  4828 0.0  0.0   16   16      - S      Oct 14  0:13 kproc
root  4946 0.0  0.0  148   12      - S      Oct 14  0:00 /etc/qdaemon 
root  5194 0.0  0.0  176   12      - S      Oct 14  0:00 /etc/inetd 
olevn 5558 0.0  0.0  244  328  hft/1 S    06:26:51  0:00 /usr/lpp/X11/Xampl
root  5719 0.0  0.0  100   12      - S      Oct 14  0:00 /usr/lpp/info/bin/
olevn 6086 0.0  0.0   88  192  pts/0 R    06:27:31  0:00 ps gu 
olevn 6343 0.0  0.0  300  152  pts/0 S    06:27:31  0:00 - 
olevn 6572 0.0  1.0  492  824  hft/1 S    06:26:45  0:00 mwm 
olevn 6839 0.0  1.0  352  688      - S    06:26:51  0:00 aixterm 
olevn 7357 0.0  0.0  284  572  pts/0 S    06:26:55  0:00 -data1/local/bin/t
olevn 7589 0.0  0.0  104  352  hft/1 S    06:26:30  0:00 ksh /usr/bin/X11/x
olevn 7840 1.7 87.0 164220 113744      - S    06:35:23 24:14 particle.x 
	   --------
olevn 8359 5.1  2.0 1608 2264  hft/1 S    06:26:32  0:03 /usr/lpp/X11/bin/X
olevn 8633 0.0  0.0   16   16      - S    06:26:51  0:00 kproc



You can see that the program is using only 1.7% of the CPU.
There is some explenation for that? Why is the program only
using so samll amount of CPU?.....

Thanks. 
Newsgroups: comp.unix.aix