I was asked a question: what part of CPU is consumed by DB2?


Q1
AFAIK DB2* address spaces show only part of the real consumtion, the rest is included in CPU consuption of the task using DB2, i.e. CICS.
Am I right?




Q2
What is CPU second? Example: A job consumed 100 seconds of CPU time (as displayed by IEAFCTRT exit) . An LPAR has 5 CPs assigned. Is it 100s of single CP or 100s of 5-CP cluster? In other words: how should I count 100s of wall time? Is it worth of 5x100s of CPU time?



Q3
Any clue how to compute CPU consumtion for DB2?
My approach:

1. Calculate total "usable" CPU time. For 100% busy machine it would be 100% of time since IPL, for 30% avg busy it will be 1/3 of time since IPL. That's the number of cycles consumed by all the tasks in the system.

2. Calculate DB2 CPU time. It's harder. I add ECPU time from SDSF for all DB2* address space, then add part of time consumed by CICS regions (what part - it is shown by Strobe), then add part of time consumed by jobs using DB2 (very hard to count).

3. Then divide Result2/Result1 and voila.

Does it make any sense?

--
Radoslaw Skorupka
Lodz, Poland


--
Treść tej wiadomości może zawierać informacje prawnie chronione Banku 
przeznaczone wyłącznie do użytku służbowego adresata. Odbiorcą może być jedynie 
jej adresat z wyłączeniem dostępu osób trzecich. Jeżeli nie jesteś adresatem 
niniejszej wiadomości lub pracownikiem upoważnionym do jej przekazania 
adresatowi, informujemy, że jej rozpowszechnianie, kopiowanie, rozprowadzanie 
lub inne działanie o podobnym charakterze jest prawnie zabronione i może być 
karalne. Jeżeli otrzymałeś tę wiadomość omyłkowo, prosimy niezwłocznie 
zawiadomić nadawcę wysyłając odpowiedź oraz trwale usunąć tę wiadomość 
włączając w to wszelkie jej kopie wydrukowane lub zapisane na dysku.

This e-mail may contain legally privileged information of the Bank and is intended solely for business use of the addressee. This e-mail may only be received by the addressee and may not be disclosed to any third parties. If you are not the intended addressee of this e-mail or the employee authorised to forward it to the addressee, be advised that any dissemination, copying, distribution or any other similar activity is legally prohibited and may be punishable. If you received this e-mail by mistake please advise the sender immediately by using the reply facility in your e-mail software and delete permanently this e-mail including any copies of it either printed or saved to hard drive.
BRE Bank SA, 00-950 Warszawa, ul. Senatorska 18, tel. +48 (22) 829 00 00, fax 
+48 (22) 829 00 33, e-mail: i...@brebank.pl
Sąd Rejonowy dla m. st. Warszawy XII Wydział Gospodarczy Krajowego Rejestru Sądowego, nr rejestru przedsiębiorców KRS 0000025237, NIP: 526-021-50-88. Według stanu na dzień 01.01.2011 r. kapitał zakładowy BRE Banku SA (w całości wpłacony) wynosi 168.346.696 złotych.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to