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

CPU Time in Batch vs Online


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

New User


Joined: 18 Aug 2008
Posts: 98
Location: India

PostPosted: Fri Jun 11, 2010 3:02 pm
Reply with quote

Hi
I have question regarding CPU consumption. F
or approx same amount of processing , how much online will consume more than batch.
Say a module can be run in both batch mode and online . For same amount of application processing what will be the difference in CPU consumption. say 20% -30% more or even more..

regards
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Jun 11, 2010 3:35 pm
Reply with quote

Surely this is something that you would need to test yourself as every site will probably have different performance parameters set than other sites.

What my results would be may not be true for any other site.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Jun 11, 2010 6:01 pm
Reply with quote

Maybe more, maybe less -- without extensive testing, there's no way to know for sure. And the answer will probably vary depending upon the precise mix of functions being accomplished.
Back to top
View user's profile Send private message
tomehta

New User


Joined: 18 Aug 2008
Posts: 98
Location: India

PostPosted: Fri Jun 11, 2010 6:49 pm
Reply with quote

thanks guys for your inputs.

Can I say with reasonable assumption that the CPU Time will be with in (+-)50% tolerance.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Fri Jun 11, 2010 8:32 pm
Reply with quote

tomehta wrote:
Say a module can be run in both batch mode and online . For same amount of application processing what will be the difference in CPU consumption. say 20% -30% more or even more.
Same code?
Same "amount of application processing"?
Same CPU consumption.
Quote:
Can I say with reasonable assumption that the CPU Time will be with in (+-)50% tolerance.
Why would you expect any code to use less/more CPU in a different region?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jun 11, 2010 9:30 pm
Reply with quote

Hello,

I would expect that the elapsed time might vary but that the cpu time would remain very close.

If a million instructions are executed in batch and then the same million instructions are executed online, i would expect them both to use almost exactly the same cpu time. . .

If one or the other executed 1.5million instructions instead of the million, then i would expect a difference in cpu time used.
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 How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts RC query -Time column CA Products 3
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
Search our Forums:

Back to Top