Re: AW: Re: CPU Utilization

2018-07-04 Thread Joel C. Ewing
On 07/04/2018 06:46 AM, Peter Hunkeler wrote:
>> But if you specify the desired time on the job statement (the OP said 30 
> min?), IEFUTL would get called and could take the desired action (extend for 
> another 30 after generating some console message?). 
>
>
>
>
> I stand corrected. I had in mind he wanted an alert when some address space 
> consumes more that a certain amount of CPU *percent*in an interval, not time. 
>
>
> --
> Peter Hunkeler
>
>
>
>
I think  the original poster really needs to consider what his objective
is.   By itself, percentage of CPU used in real time is not a reliable
indicator of a problem with a job. A perfectly tuned complex job on a
lightly loaded system may consume a high percentage of a physical CPU
for an extended time, but this is goodness if it completes in that much
less real time and it shouldn't be penalized for being well-tuned.   A
job in an infinite loop on a heavily-loaded system may not show up with
as high of CPU utilization, but can soak up enough remaing CPU resource
to raise your 4-hour MSU average and either raise software charges or
result in LPAR capping which could then cause performance issues.  

The least expensive solution is to set "reasonable" (for your
installation) default CPU TIME limits on job classes and in cases where
the default TIME is inadequate use reasonable TIME limits on JOB  and/or
EXEC cards to catch job steps that are using much more total CPU time
than is expected.  You can write your IEFUTL exit to be sensitive to
production job classes and allow the Operator to choose to extend the
CPU time for production jobs that appear to be doing useful work, unless
the total time is completely out of line with historical usage by the
job step.
    Joel C Ewing

-- 
Joel C. Ewing,Bentonville, AR   jcew...@acm.org 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


AW: Re: CPU Utilization

2018-07-04 Thread Peter Hunkeler
>But if you specify the desired time on the job statement (the OP said 30
min?), IEFUTL would get called and could take the desired action (extend for
another 30 after generating some console message?).




I stand corrected. I had in mind he wanted an alert when some address space 
consumes more that a certain amount of CPU *percent*in an interval, not time.


--
Peter Hunkeler



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


AW: Re: CPU Utilization

2018-07-03 Thread Peter Hunkeler
>No, IEFUTL is called INSIDE an Address Space as often as specified in SMFPRMxx 
>in statement JWT.


 and it would also be called when the CPU time used exceeds the time limit 
of the job or step (TIME= parameter). But this means also that the exit is most 
never called.


And since we're at JWT: I only recently learnt that z/OS V2.1 introduced two 
new SMFPRMxx parameters called TWT and SWT. So, we can now manage continuous 
wait time differently for TSO users, STCs and all the rest, i.e. batch jobs, 
OMVS process address spaces (I'm just guessing that the latter are handled by 
JWT).

--
Peter Hunkeler

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN