Just saw that John Campbell in a 2011(!) presentation about "Db2 for z/OS Best practices: Locks and Latches" had a little table where he wrote
TIMEOUT range is 1 to 3600 sec, default is 60 : set it to 30 sec
DEADLOK range is 0.1 to 5 sec, default is 1 sec : set it to 0.5 sec
Don’t know if this is still true 11 years and five releases later...it appears to be a parameter that not many people "play about with"...
Roy Boxwell
SOFTWARE ENGINEERING GmbH and SEGUS Inc.
-Product Development-
Vagedesstrasse 19
40479 Dusseldorf/Germany
Tel. +49 (0)211 96149-675
Fax +49 (0)211 96149-32
Email:
R.Boxwell@seg.deWeb
http://www.seg.deLink zur Datenschutzerklärung
Software Engineering GmbH
Amtsgericht Düsseldorf, HRB 37894
Geschäftsführung: Gerhard Schubert, Ulf Heinrich
Original Message:
Sent: 9/15/2022 11:26:00 AM
From: Shay Miller
Subject: Increasing IRLM DEADLOK parameter
Hello everyone.
I noticed today that the DEADLOK parameter in all of our subsystems is set to 100,1, meaning that IRLM DEADLOCK check occurs every 100 milliseconds.
This is the minimal value and is 10 times more than the default of 1 second.
https://www.ibm.com/docs/en/db2-for-zos/12?topic=2-deadlock-time-field
IBM states that
"
- For systems in which deadlocking is not a problem, have deadlock detection run less frequently for the best performance and concurrency (but do not choose a value greater than 5 seconds).
"
We have a very busy computer (most of the time it's over 95% and on 100% frequently).
On Average, we have about 10-15 deadlocks per day.
My gut feeling is that this parameter should be set higher, what do you think?
The impact of the DEADLOCK check is in 2 areas:
1. Application is waiting while the check is done.
more checks means higher lock wait time.
2. DB2 itself is wasting CPU on too frequent checks.
The big question is how do I measure the impact of changing this parameter.
For item 1, do I need to check QWACAWTL/QTXASLAT/ other?
Is there a way to measure item 2 (DB2 CPU consumed for Deadlock DETECTION)?
Thanks,
Shay.
------------------------------
ShayMillerMataf
------------------------------