MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Why save CPU cycle time?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
Mukunda
Beginner


Joined: 11 Dec 2002
Posts: 46
Topics: 15

PostPosted: Thu Sep 22, 2005 2:00 pm    Post subject: Why save CPU cycle time? Reply with quote

Gurus of the board
We did some performance tuning for a lengthy batch job and reduced CPU cycle time by 90%. Now the management is discussing on whether to expand this to the whole application? Is there a dollar incentive on reducing CPU cycles for batch applications?
Our shop owns the hardware (not renting it).
Thank you!
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Sep 22, 2005 2:22 pm    Post subject: Reply with quote

Mukunda,

Since you own the Hardware, there will be no Monetary gains for you. You can expand it to entire application provided that you have manhours for analysis and fixing. This will helps to have Smaller batch window. ie. total time to complete the entire batch cycle is reduced. May be you can sell saved time frame for lease and there by making money on it.

On a side note you can use this program as an example and create a standards document for developing highly efficient programs.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mukunda
Beginner


Joined: 11 Dec 2002
Posts: 46
Topics: 15

PostPosted: Thu Sep 22, 2005 2:31 pm    Post subject: Reply with quote

Thanks Kolusu.
Reduction in the batch window and associated reduction in monitoring time were the benefits we were envisioning.
Besides, there was a thought that if the CPU gets free'ed up it might delay the addition of more processing capability (hardware). I guess it depends on several other factors. But is that something worth looking at?
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Mon Sep 26, 2005 7:46 am    Post subject: Reply with quote

The first shop that I worked in was a bank (in the US). At that time, the state we were based in taxed all corporations on the number of CPU cycles they used per month. Later, when we merged with another bank, that was the main reason Management gave for their decision to abandon that Data Center and to move it to another state.
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Mon Sep 26, 2005 9:52 am    Post subject: Reply with quote

Wow! Talk about government out of control!

The only major easons to save CPU cycles are time and money. If neither matter, or if you have a box with so much excess capacity and no plans for any future work to be added, then don't worry about it. But if you live in the real world, that box will have more work, the cost of software will eventually go up, the price of running the system will rise or some other major environmental changes will occur and your wasteful programs will start to cause problems. I've seen hardware vendors sell new boxes already anticipated to go into production at 95% capacity!!! Every lost CPU cycle on the new box could cause system wide impact.

But to the original question, the only reason to rewrite the code is if the cost of keeping it the way it is will be higher than rewriting it in the long term. (again, cost is measured in money, time, work spent fitting other programs to run with the current stuff, hardware requirements, etc).
Back to top
View user's profile Send private message Visit poster's website
Mukunda
Beginner


Joined: 11 Dec 2002
Posts: 46
Topics: 15

PostPosted: Tue Sep 27, 2005 1:06 pm    Post subject: Reply with quote

Quote:

The only major reasons to save CPU cycles are time and money

Semigeezer, thank you for making me think in more fundamental/meaning ful ways. Often, I give me head to all meaningless jargons and buzz words and forget the essentials Laughing !
In our shop (it is a bank), the CPU capacity is stretched thin during month-ends, quarter-ends and year-ends. Jobs run real slow and nothing gets done on test beds for few hours. May be there is an incentive here in extending this exercise. But yet to determine if the incentive is good enough!
Quote:

But to the original question, the only reason to rewrite the code is if the cost of keeping it the way it is will be higher than rewriting it in the long term.

Thanks again! Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group