IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How we can reduce the CPU runtime for a job?


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sivasu_usavis

New User


Joined: 28 Jun 2006
Posts: 21
Location: Chennai

PostPosted: Mon Jan 07, 2008 3:03 pm
Reply with quote

Hi All,

I'm facing a difficult issue. Its all about performance of the program. Is there any way possible to reduce the CPU run time of the Job which is executing a IMS program?

Previously It was running with minimum CPU time. Now it got increased. Its a IMS program, It itself calling a sub program as it was executing earlier.

Can you tell me, the possibilities which causes this situation?
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Mon Jan 07, 2008 3:33 pm
Reply with quote

sivasu,

Quote:
It was running with minimum CPU time. Now it got increased


What changes did u make? Adding functionalities will definitely increase the CPU time.
Back to top
View user's profile Send private message
sivasu_usavis

New User


Joined: 28 Jun 2006
Posts: 21
Location: Chennai

PostPosted: Mon Jan 07, 2008 3:46 pm
Reply with quote

We didnt add any more functionalities on existing program.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Mon Jan 07, 2008 3:51 pm
Reply with quote

What makes You think that You have a problem??

Higher CPU consumption is not a symptom of something going wrong...
maybe simply there is more work to do

something has certainly changed in Your "environment"
it' s Your job to find out what!

we certainly cannot tell from here
Back to top
View user's profile Send private message
sivasu_usavis

New User


Joined: 28 Jun 2006
Posts: 21
Location: Chennai

PostPosted: Mon Jan 07, 2008 4:05 pm
Reply with quote

I understand your reply e-s. I would say 'environment' change is one of the possibility to cause this. Friend E-S Can you bit elabrate What exactly you meant the 'Environment' Change.

I'm not sure, whether size of the data causes this issue? Any other, possibilities?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Mon Jan 07, 2008 4:10 pm
Reply with quote

More work to do means more resources used !
what about the elapsed time ?
Back to top
View user's profile Send private message
sivasu_usavis

New User


Joined: 28 Jun 2006
Posts: 21
Location: Chennai

PostPosted: Mon Jan 07, 2008 4:16 pm
Reply with quote

Total elapsed time is all about 2 hrs and 20 ins. But CPU time is 18 mins.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Mon Jan 07, 2008 4:18 pm
Reply with quote

Quote:
Total elapsed time is all about 2 hrs and 20 ins. But CPU time is 18 mins.


Ok as an absolute measurement,
You complained about cpu usage being higher than before,
what was the elapsed before??
Back to top
View user's profile Send private message
sivasu_usavis

New User


Joined: 28 Jun 2006
Posts: 21
Location: Chennai

PostPosted: Mon Jan 07, 2008 5:44 pm
Reply with quote

Before it was all abt 10 mins. elasped time is abt 30 mins
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Mon Jan 07, 2008 5:47 pm
Reply with quote

Please stop complaining,
assuming a steady state work flow increment
there is absolutely nothing wrong whit those numbers

What made You think about having a problem

again..
how many records were processed before
and how many after ???
Back to top
View user's profile Send private message
sivasu_usavis

New User


Joined: 28 Jun 2006
Posts: 21
Location: Chennai

PostPosted: Mon Jan 07, 2008 6:05 pm
Reply with quote

My compliant is like, whether it was caused by any kind insufficient buffer size or like that? I expecting suggestions, which may cause this. Not expecting any kind of ready made ans, ma fren e-s.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Mon Jan 07, 2008 6:09 pm
Reply with quote

again i ask how may record were processed before and how many after
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Mon Jan 07, 2008 6:17 pm
Reply with quote

but...
You are looking at the wrong side of things,
I would be much more worried about the elapsed rather than the CPU

the elapsed is almost five time, the cpu did not even double

meditate please and come up with more meaningful information

again in a changing environment
elaps(30) cpu(10)
elaps(150) cpu(18)
are more than normal ,

also remember, that due to buffering and access mode the resource consumption growth
might not be linear
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts REORG to reduce segment size new DBD IMS DB/DC 2
No new posts Insert System Runtime in HEADER In SY... SYNCSORT 9
No new posts Speed-up/reduce CPU use of code PL/I & Assembler 0
No new posts Reduce CPU Times for Join Sort SYNCSORT 12
Search our Forums:

Back to Top