Operating System - OpenVMS
1825011 Members
4793 Online
109678 Solutions
New Discussion юеВ

CPU 100% Integrity ovms 8.3

 
SOLVED
Go to solution
Edgar Ulloa
Frequent Advisor

CPU 100% Integrity ovms 8.3

Hi I have a cluster with 2 integrity rx2620.
the licences are vmscluster and
OPENVMS-I64-EOE

I was run autogen and try to exec a heavy process.

I can see in monitor system exacly 100% cpu used but I have 2 cpus.

Never I can see 101% or more percent.

looks like that only I cpu is working and another not.

some one knows if is necesary start a cpus from bios, or this licence is only for one cpu or modify a parameter for start another cpu also.?

Thanks
12 REPLIES 12
Dean McGorrill
Valued Contributor

Re: CPU 100% Integrity ovms 8.3

Hi Edgar,
try a sho cpu, and then a start/cpu 1
I do believe there is a license pak needed
for smp

Dean
Edgar Ulloa
Frequent Advisor

Re: CPU 100% Integrity ovms 8.3

Hi Dean

both cpu show started with the command sh cpu.

The image that I run was convert with aest (msai) from vms to alpha to integrity.

my process time in vms was 32 minutes (2 cpu 2 gb memory)

time in itanium 7 gb memory 2 cpus (27 minutes)

only I can see 100% cpu
in param active and current
wsmax 3000000
and user
WSquo: 1000000
WSextent: 1500000
Pgflquo: 150000000

the double that account in vax
Dean McGorrill
Valued Contributor

Re: CPU 100% Integrity ovms 8.3

Edgar,
do a sho sys, you should see two processes in CUR eg from my system..

OpenVMS V7.2-1 on node ENGSYS 18-JUL-2007 18:34:25.06 Uptime 60 06:45:30
Pid Process Name State Pri I/O CPU Page flts Pages
20400401 SWAPPER HIB 16 0 0 00:00:08.17 0 0
20400406 CLUSTER_SERVER HIB 14 28 0 00:00:04.16 56 72
.
.
2040BA32 MO_CON01P0058 HIB 6 805 0 00:00:00.39 1710 1249
2040BA36 TCPIP$FTP LEF 10 254 0 00:00:00.09 369 302 N
>>2040B63D MCGORRILL CUR 0 7 2172 0 00:00:00.89 2385 145
2040BA3F MO_TES01H007S HIB 6 1662 0 00:00:00.71 1785 1306
>>2040BA42 MCGORRILL_1 CUR 1 4 74 0 00:00:02.76 78 66
S
2040B25A MO_TES01H006A HIB 6 295168 0 00:01:38.16 6116 4657
2040B65E GENERI0040005 HIB 6 465 0 00:00:00.24 974 391

both cpus are running, 0 and 1

hope this helps - Dean
Edgar Ulloa
Frequent Advisor

Re: CPU 100% Integrity ovms 8.3

only I can see 0 not 1
with I put moni modes I can see 2 cpus and
moni sys 2 cpus

but when the process is running only 100% bar user mode and another 100% is idle time

I don├В┬┤t know if the process will be capture more cpu from the other, 140% or some thing.
and idle time 60% for example

basicly this is my question

Thanks for your help
Jon Pinkley
Honored Contributor
Solution

Re: CPU 100% Integrity ovms 8.3

Edgar,

Enter the following command:

$ monitor mode/cpu

This will show amount of CPU time for each processor mode and will toggle between CPU 0 and CPU 1.

If you only have one process that is compute bound, and it is not multithreaded, I think it is working as intended.

Try running a second instance of your "heavy process" and see if the second CPU starts doing some work.

Jon
it depends
Ian Miller.
Honored Contributor

Re: CPU 100% Integrity ovms 8.3

Edgar,
unless the process is written to have multiple kernel threads it will only use one CPU.

Translated programs are not known for high performance. Check if the program is causing many alignment faults by using MONITOR ALIGN. If it is then running it will impact performance system wide.
____________________
Purely Personal Opinion
The Brit
Honored Contributor

Re: CPU 100% Integrity ovms 8.3

Edgar,
Ian has your solution I think. Unless your program is written to take advantage of multiple cpu's, then the maximum cpu usage your process can get is 100%.
To test, create a second session, and have both sessions running you program. Then from a third session, do

$ monitor process/topcpu

you should now see two processes, with both getting high cpu.

Dave
Edgar Ulloa
Frequent Advisor

Re: CPU 100% Integrity ovms 8.3

Hi

Im Agree with Jon that probably is not image multiprocessor because was convert and not compilate.

How the source code not exist, was migrating to itanium converting via aest and probably that is the bottle neck.

Im try to run twice sesions the same image and I will checking how the cpu is.

keep in touch

thanks
Dean McGorrill
Valued Contributor

Re: CPU 100% Integrity ovms 8.3

Edgar,
if the second cpu is running, it will
still help out some, being available for other processes looking for compute cycles.
you might want to give these fine folks some
points! good luck - Dean
Peter Zeiszler
Trusted Contributor

Re: CPU 100% Integrity ovms 8.3

Sounds like the process isn't setup for multi threading.

There are some processes that always want to reside on CPU0. I would suggest making this one process set affinity to CPU1. That might give it the full use of the cpu 1.
Edgar Ulloa
Frequent Advisor

Re: CPU 100% Integrity ovms 8.3

I will close the case

The programers rewrite the source code and recompile direcly in itanium and the time was 3 minutes only and cpu 20% use.

Thanks guys
Edgar Ulloa
Frequent Advisor

Re: CPU 100% Integrity ovms 8.3

thanks