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 

Cost of 1 CPU Second

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


Joined: 28 Dec 2002
Posts: 21
Topics: 7

PostPosted: Wed Jun 30, 2004 4:49 pm    Post subject: Cost of 1 CPU Second Reply with quote

Hi...

This is not a trick question. I am learning..How much does one 1 cpu second cost??

One of our job shows 00Min 5.05Sec for CPU time. We have made some changes and now the job shows consistently 00Min 2.79Sec for CPU time.

So, we wanted to make little calculation as to how much cost have we saved by reducing the CPU time? I guess we have Z/OS 2.1 system.

Thanks
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Wed Jun 30, 2004 5:35 pm    Post subject: Reply with quote

LaluMon,

The cost of cpu/second to dollar depends on the charges by the vendor.And it varies from vendor to vendor and workload.

Hope this helps..

Cheers

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


Joined: 28 Dec 2002
Posts: 21
Topics: 7

PostPosted: Wed Jun 30, 2004 5:39 pm    Post subject: Reply with quote

Kolusu, I agree it differs from vendor to vendor..But I was thinking there must be some industry pricing details...a range of cost...I am sure all vendor rates will fall within some limits..I am not trying to get the exact cost, but trying to get a high level idea of the costs..

If anyone know, could you please post..

Thanks
Back to top
View user's profile Send private message
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Thu Jul 01, 2004 12:14 am    Post subject: Reply with quote

Other thing that has often confused me is the SQL cost. Whenever I run a query in QMF, I am shown a message something as follows: 'The relative cost of your query is: x'.

What is the unit of this cost? How is it calculated?
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
semigeezer
Supermod


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

PostPosted: Thu Jul 01, 2004 2:44 am    Post subject: Reply with quote

There is no answer to the cost question. It is different in each shop. If I run z/OS on my PC (which I do), the cost is about $US.000006/sec. On my large boxes, it is probably much more (but you get much more/ cpu second). If I rented time from a vendor, it would probably be signifcantly more still (paying overhead). Your shop will be different than the next one. You'll need to contact your accounting department to figure this out.
Back to top
View user's profile Send private message Visit poster's website
kolusu
Site Admin
Site Admin


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

PostPosted: Thu Jul 01, 2004 5:05 am    Post subject: Reply with quote

Cogito-Ergo-Sum,

The sql statement cost you are seeing is

Processing seconds : The estimated processor cost, in milliseconds, for the SQL statement. The estimate is rounded up to the next integer value. The maximum value for this cost is 2147483647 milliseconds, which is equivalent to approximately 24.8 days. If the estimated value exceeds this maximum, the maximum value is reported.

Processing Units : The estimated processor cost,in service units, for the SQL statement. The estimate is rounded up to the next integer value. The maximum value for this cost is 2147483647 service units. If the estimated value exceeds this maximum, the maximum value is reported.

For a better understanding please go thru this link

Estimating a statement's cost


Hope this helps...

Cheers

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


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Thu Jul 01, 2004 11:31 am    Post subject: Reply with quote

Thank you, Kolusu.
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
slade
Intermediate


Joined: 07 Feb 2003
Posts: 266
Topics: 1
Location: Edison, NJ USA

PostPosted: Fri Jul 02, 2004 5:15 pm    Post subject: Reply with quote

Hi Laluman,

The best place to start is by asking around in the tech/syspgm areas. If they don't do that kind of accounting in your shop they probably know who does.

Th etrick in costing a CPU sec is to determine what part(s) of the CPU are devoted to ececuting the pgm instructions and what parts are involved in other aspects of pgm execution. For example, a "CPU" with x Megabytes of memory and y channels and who knows what else costs b (for BIG) dollars.

Do you exclude the cost of the memory and the channels since they are not directly associated with execution cycles. If you do, how do you determine those costs? Can you get that info? Probably not. The hdware guys can probably tell you, but will they?

You can see what you're getting yourself into. But the hdware guys have probably already developed a $/CPU sec number (or, as they're wont to say: "metric"), and if so inclined they may actually give it to you.

Good luck, Jack.
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