T.R | Title | User | Personal Name | Date | Lines |
---|
1550.1 | Here before, but no answer as I recall... | IOSG::PYE | Graham - ALL-IN-1 Sorcerer's Apprentice | Fri Oct 02 1992 14:01 | 5 |
| Yes, I remember this being discussed here before.
I don't think anyone ever found out what was causing it....
Graham
|
1550.2 | Is FMS the culprit? | SCOTTC::MARSHALL | Do you feel lucky? | Fri Oct 02 1992 15:01 | 20 |
| Hi,
If someone is in ALL-IN-1, and doing nothing, then presumably the cursor is
sitting on the CHOICE field of a menu (or any field of any form! :-)
In that case, FMS has control, not ALL-IN-1, and FMS is just sitting there
waiting for input. Normally you'd expect the process to just sit in a wait
state until the input arrived. However, it looks like (mere speculation on
my part) FMS is periodically waking up and doing "something" before
waiting for input again.
It could be something as simple as just setting a timeout on the input request,
then when it times out FMS looks and sees there's no input, so loops round and
waits again. It wouldn't surprise me if it does this because of some
restriction of I/O operations in the Ancient Days when FMS was made.
Sounds plausible? Unfortunately I don't think there's any such thing as an
FMS engineer any more to give a definitive answer.
Scott
|
1550.3 | | BRUMMY::MARTIN::BELL | Martin Bell, TCC, Birmingham UK | Fri Oct 02 1992 16:24 | 11 |
| ... or it could be the CPU generated while you are using MONITOR to see how
the processes is behaving. An AST is generated within the context of the
monitored process, when you query what it is doing by, eg, MONITOR.
Maybe the CPU generated by the AST while a process is running an image (in
USER mode) is greater that the CPU generated while it is at DCL (SUPERVISOR
mode).
Just a thought!
mb
|
1550.4 | ZAP doesn't kill idle ALL-IN-1 user | CROCKE::YUEN | Banquo Yuen, Darwin Australia | Mon Oct 05 1992 00:59 | 10 |
| Hello
Actually, I want to find how ZAP (that kills idle process) can zap
idle ALL-IN-1 user. Since the process consumes a little CPU even when
idle, so ...
I suppose I am not the first who encounter this problem!
Thank you very much
Banquo
|
1550.5 | | MRKTNG::SLATER | Marc, ASE Performance 264-6309 TTB1-1/E09 | Mon Oct 05 1992 01:38 | 24 |
| When a system is running ZAP, or any other idle process killer that uses the
SYS$GETJPI system service, then small amounts of CPU time will be accumulated
when a process is monitored. This is due to the special kernel mode AST that
$GETJPI uses to pass the target process' statistics to the calling process.
The AST is fired in the context of the target process, and it must be COMputable
to do it.
The idle process killer takes this small amount of CPU into account when
deciding whether a process is idle or not.
FMS, SMG, DECforms, and all other terminal software use the $QIO mechanism.
When a read I/O is queued to the terminal, the process enters the LEF state
(Local Event Flag wait) and stays there except for short hops in to COMputable
and current states to deliver ASTs (for instance). If the process was planning
to wake up from time to time, it would be in HIBernate state.
Finally, MONITOR, SPM, VPA, and DECps do *not* use the $GETJPI mechanism to
track system resource consumption. When extended process statistics are asked
for in DECps (for instance), it will elevate to a higher IPL and walk the PCB
list and pull whatever information it wants out of the processes directly.
Regards,
Marc
|
1550.6 | What can we do | CROCKE::YUEN | Banquo Yuen, Darwin Australia | Mon Oct 05 1992 11:16 | 15 |
| Hello
The cause is the client complaints that ZAP cannot kill idle ALL-IN-1
user but can kill idle DCL user. So I use "SHOW PROCESS/CONT" to take
a look at two processes, one is idle in ALL-IN-1, the other is idle in
DCL, found that the one in ALL-IN-1 will consume CPU while the one in
DCL does not.
So is there some ways to make ZAP kill idle ALL-IN-1 user beside
lowering the idle time-limit to less than half an hour. (Why half an
hour -- because I found from show process/cont that the idle ALL-IN-1
process consume .01 sec CPU about every 30 minutes)
Thank you very much
Banquo
|
1550.7 | Check ZAPDEV::ZAP ... | ATLANA::SHERMAN | Debt Free! | Mon Oct 05 1992 16:57 | 12 |
| Hi Banquo,
ZAP is in use on all six of the Southern States Region's ALL-IN-1
OpenVMSclusters, and has been for several years, doing what it is
intended to do; our inactivity timer is set at 20 minutes.
You might want to check in the ZAPDEV::ZAP VAX Notes conference
(press KP7, etc)
Hthy,
Ron
|
1550.8 | Monitor the IO's and not CPU usage | GIDDAY::SETHI | Man from Downunder | Tue Oct 06 1992 08:34 | 17 |
| Hi Banquo,
All the replies in here have mentioned the fact that monitoring a
process causes the monitored process to clock up CPU time. This is
correct.
DECUS have a process "killer" called WATCHDOG and in the bad old days at a
site where I worked none of the processes that had been inactive were being
"killed". To get around the problem we changed the code for WATCHDOG to
monitor the IO's. If the IO's did not change than the process was "killed".
Monitoring the CPU time is not the correct way to determine if a
process is inactive, where as we found that IO's gave us what we required.
DECUS for a cost of a tape provided the customer with WATCHDOG the kit
included the source code and documentation.
Sunil
|