Re: Convert CPU time to MSUs

2012-05-21 Thread K Zafirop
Please correct the formula in my previous email to:

The MSUS provided in a second could be:
MSU_SEC = MSU_HOUR / (ENGINES * 60 * 60)* FACTOR 

Thanks

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


Re: Convert CPU time to MSUs

2012-05-21 Thread K Zafirop
Hal Merritt wrote:

> SU_SEC = SU_HOUR / (ENGINES * 60 * 60)
>Not quite, I think. You don't get the full 60 seconds for each additional 
>engine.  Better:
>SU_SEC = SU_HOUR / ((ENGINES * 60 * 60)*FACTOR)
>Where FACTOR is less than 1.0.

 
thank you all for your replies,

Our machine type is 2097-605.

My college gave me a way to calculate the factor of formula SU_SEC = SU_HOUR / 
((ENGINES * 60 * 60)*FACTOR) by dividing SU_SEC of 2097-205/ SU_SEC 0f 2097-601.

Can we say that the above division give us the requested value? 

According to SRM constants table:2097-601 gives 32989.6907 SU/SEC and 2097-605: 
 28469.7509 
Could the factor be 28469.7509/32989.6907= 0,863 ?


Kind regards
Kostas Zafiropoulos

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


Re: Convert CPU time to MSUs

2012-05-11 Thread Tommy Tsui
My shop using the RMF overview report to calculate the workload
utilization APPLER% (defined in report class)

2012/5/11, Tom Marchant :
> On Tue, 8 May 2012 08:33:18 -0500, K Zafirop 
> wrote:
>
>>We would like to convert CPU seconds copnsumed by an address space in 1
>> hour (CPUSECs) to Service Units (SU).
>
>
> Here is how SHOWMVS calculates SU/Second:
>
> *
> *Service units per second (using RMCTADJC)
> *
> *Source: IRARMCPU module in SYS1.NUCLEUS(IEAVNP10)
> *
> HARD20   L R6,WKCELL3  restore CPU noRS0101
>  L R3,=F'1600' 16,000,000
>  M R2,=F'1'10K
>  L R14,CVTOPCTPRESOURCE MANAGER CONTROL TABLE
>  D R2,RMCTADJC-RMCT(,R14)  adjustment factor for CPU
>  CVD   R3,WKCELL3  R3=SU*1
>  MVC   WORK256(11),=X'4020202020214B20202020' 9.
>  EDWORK256(11),WKCELL3+3   EDIT
>  STRING '  This system can deliver',(WORK256,11),  X
>' service units per second',X
>INTO=LINE
>
> --
> Tom Marchant
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
>

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


Re: Convert CPU time to MSUs

2012-05-10 Thread Tom Marchant
On Tue, 8 May 2012 08:33:18 -0500, K Zafirop  wrote:

>We would like to convert CPU seconds copnsumed by an address space in 1 hour 
>(CPUSECs) to Service Units (SU).


Here is how SHOWMVS calculates SU/Second:

*   
*Service units per second (using RMCTADJC)  
*   
*Source: IRARMCPU module in SYS1.NUCLEUS(IEAVNP10)  
*   
HARD20   L R6,WKCELL3  restore CPU noRS0101 
 L R3,=F'1600' 16,000,000   
 M R2,=F'1'10K  
 L R14,CVTOPCTPRESOURCE MANAGER CONTROL TABLE   
 D R2,RMCTADJC-RMCT(,R14)  adjustment factor for CPU
 CVD   R3,WKCELL3  R3=SU*1  
 MVC   WORK256(11),=X'4020202020214B20202020' 9.
 EDWORK256(11),WKCELL3+3   EDIT 
 STRING '  This system can deliver',(WORK256,11),  X
   ' service units per second',X
   INTO=LINE

-- 
Tom Marchant

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


Re: Convert CPU time to MSUs

2012-05-10 Thread John Gilmore
Some experimentation for plausible ranges of FACTOR values strongly
suggests that this computation should be done with an appropriate mean
in each specific context.  My suggestion of a table was thus a more
valuable one than I realized when I made it.

John Gilmore, Ashland, MA 01721 - USA

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


Re: Convert CPU time to MSUs

2012-05-10 Thread Tom Marchant
On Thu, 10 May 2012 10:55:42 -0400, John Gilmore wrote:

>Factor is in fact a decreasing function of ENGINES.  It drops off in a
>moderately but clearly convex way with increasing values of ENGINES.
>You need a table of the form

You could derive such a table from the charts on 
https://www-304.ibm.com/servers/resourcelink/lib03060.nsf/pages/srmindex?OpenDocument
 .

Or you could use the SU/second information for your processor from the tables.

Or you could get the factor from the SRM control block that contains it. 
Search the MVS bookshelf for SERVICE UNIT and you will find several hits. 
The IRARMCTZ looks promising.  SHOWMVS is another possible resource.

-- 
Tom Marchant

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


Re: Convert CPU time to MSUs

2012-05-10 Thread John Gilmore
Factor is in fact a decreasing function of ENGINES.  It drops off in a
moderately but clearly convex way with increasing values of ENGINES.
You need a table of the form

ENGINES(1) = 1
ENGINES(2) = . . .
. . .
ENGINES(n) = . . .

There is a recent SHARE presentation that contains such a table.
Unhelpfully, I cannot remember its title or who gave it.

John Gilmore, Ashland, MA 01721 - USA

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


Re: Convert CPU time to MSUs

2012-05-10 Thread Elardus Engelbrecht
Hal Merritt wrote:

> SU_SEC = SU_HOUR / (ENGINES * 60 * 60)
>Not quite, I think. You don't get the full 60 seconds for each additional 
>engine.  Better:
>SU_SEC = SU_HOUR / ((ENGINES * 60 * 60)*FACTOR)
>Where FACTOR is less than 1.0.

You are right of course. Could you be kind to please post any documentations or 
links about that 'FACTOR'?

Just curious if you don't mind please.

Groete / Greetings
Elardus Engelbrecht

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


Re: Convert CPU time to MSUs

2012-05-10 Thread Hal Merritt
 SU_SEC = SU_HOUR / (ENGINES * 60 * 60)

Not quite, I think. You don't get the full 60 seconds for each additional 
engine.  Better:

SU_SEC = SU_HOUR / ((ENGINES * 60 * 60)*FACTOR) 

Where FACTOR is less than 1.0. 

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of 
K Zafirop
Sent: Tuesday, May 08, 2012 8:33 AM
To: IBM-MAIN@bama.ua.edu
Subject: Convert CPU time to MSUs

Hello all

We would like to convert CPU seconds copnsumed by an address space in 1 hour 
(CPUSECs) to Service Units (SU).

Our machine has 5 engines. Is it true that we have available 18000 CPU seconds?

SU = CPUSECs * SU_SEC 

where

SU_SEC = SU_HOUR / (ENGINES * 60 * 60)


Where SU_HOUR is the number of our machine available Service Units per Hour and 
SU_SEC is the equivalent Service units /sec factor.

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@bama.ua.edu with the message: INFO IBM-MAIN
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.

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


Re: Convert CPU time to MSUs

2012-05-08 Thread Tom Marchant
On Tue, 8 May 2012 08:33:18 -0500, K Zafirop wrote:

>We would like to convert CPU seconds copnsumed by an address space in 1 hour 
>(CPUSECs) to Service Units (SU).

The system performs this calculation.
Are you sure you want to do it yourself?

>Our machine has 5 engines. Is it true that we have available 18000 CPU seconds?

yes

>SU = CPUSECs * SU_SEC

so far, so good

>where
>
>SU_SEC = SU_HOUR / (ENGINES * 60 * 60)

Service units per second for processors is documented in the 
Initialization and Tuning Guide.  The latest information is at 
https://www-304.ibm.com/servers/resourcelink/lib03060.nsf/pages/srmindex?OpenDocument
 . 
If you are using advertised MSU to compute SU/second, 
you will not get good results.

I don't remember which control block contains the CPU/second 
value that SRM uses.

Also beware that if you make dynamic changes for the 
processor, such as with capacity on demand, the SU/second 
value will change.  SRM is aware and its calculations of SU 
usage are adjusted accordingly.

-- 
Tom Marchant

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


Convert CPU time to MSUs

2012-05-08 Thread K Zafirop
Hello all

We would like to convert CPU seconds copnsumed by an address space in 1 hour 
(CPUSECs) to Service Units (SU).

Our machine has 5 engines. Is it true that we have available 18000 CPU seconds?

SU = CPUSECs * SU_SEC 

where

SU_SEC = SU_HOUR / (ENGINES * 60 * 60)


Where SU_HOUR is the number of our machine available Service Units per Hour and 
SU_SEC is the equivalent Service units /sec factor.

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