DB2 on P7 system, System CPU may spike.

Source: Internet
Author: User
Tags db2

If there is many CPUs (over the CPUs or even to + CPUs) on AIX platform, there might is a performance problem (very high C PU) caused by bad performance of Thread_unlock during very high DB2 latch contention.

The main symptom at DB2 side is sqlospinlockreleaseconflict would cost a long time (over microseconds) to release a LATC H and many latch-waiters is waiting on this latch.

The root cause is an AIX kernel call Thread_unlock (called by DB2 function Sqlospinlockreleaseconflict) does not provide good Performance in extreme high workload. The solution is applying AIX fix and DB2 fix together.


Below is the AIX APAR information.

6.1 TL06 SP7 (IV10411)
6.1 TL07 SP2 (IV10010)
6.1 TL08 (IV13362)
7.1 GA SP5 (IV14638)
7.1 TL01 SP2 (IV09962)


Below is the corresponding DB2 APAR information.

DB2 v97 APAR is IC79285, which are expected to being fixed in V97FP6. This APAR would provide fix to implement AIX new API thread_unlock_extended (). After installing DB2 fix, to do use of the new AIX API thread_unlock_extended, a new DB2 registry variable is needed to be t Urned on.

Db2set Db2_enable_thread_unlock_extended=yes
Db2start


DB2 on P7 system, System CPU may spike.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.