DB2 on P7 system, System CPU may spike.

If there are many CPUs(over 64 CPUs or even to 200 CPUs) on AIX platform, there might be a performance problem(very high CPU) caused by bad performance of thread_unlock during very high db2 latch contention.

The main symptom at db2 side is sqloSpinLockReleaseConflict will cost a long time(over 100 microseconds) to release a latch and many latch-waiters are waiting on this latch.

The root cause is 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 is expected to be fixed in v97fp6. This APAR will provide fix to implement AIX new API thread_unlock_extended(). After installing db2 fix, to make use of new AIX API thread_unlock_extended, a new db2 registry variable is needed to be turned on.

db2set DB2_ENABLE_THREAD_UNLOCK_EXTENDED=YES
db2start

时间: 2024-08-30 02:40:39

DB2 on P7 system, System CPU may spike.的相关文章

System NT Kernel & System占用CPU 12%左右 终极解决方案,原来是更新惹的祸

任务管理器发现 system进程持续占用12%左右的cpu,网上搜索到的很多方法均无效 误打误撞发现了这个方法,亲测可用 卸载系统补丁(KB41000347),提升10%的cpu性能 卸载补丁前:    卸载补丁后:    卸载补丁后cpu性能提升了12%. 卸载方法: 第一种方法:用工具一键卸载 1.退了杀毒软件(360 qq管家) .  2.下载这个(点击下载)工具,鼠标右键工具,用管理员权限打开这个工具即可. 第二种方法:  1. 右键点选电脑-[属性],在弹出视窗选择[控制面板] \ 程

System and method for dynamically adjusting to CPU performance changes

FIELD OF THE INVENTION The present invention is related to computing systems, and more particularly to a system and method for adjusting to changes in processor performance. BACKGROUND INFORMATION Designers of mobile computing platforms are faced wit

fork+exec 与system,popen区别

1.fork + exec fork用来创建一个子进程.一个程序一调用fork函数,系统就为一个新的进程准备了前述三个段,首先,系统让新的进程与旧的进程使用同一个代码段,因为它们的程序还是相同的,对于数据段和堆栈段,系统则复制一份给新的进程,这样,父进程的所有数据都可以留给子进程,但是,子进程一旦开始运行,虽然它继承了父进程的一切数据,但实际上数据却已经分开,相互之间不再有影响了,也就是说,它们之间不再共享任何数据了.而如果两个进程要共享什么数据的话,就要使用另一套函数(shmget,shmat

Adaptive partitioning scheduler for multiprocessing system

A symmetric multiprocessing system includes multiple processing units and corresponding instances of an adaptive partition processing scheduler. Each instance of the adaptive partition processing scheduler selectively allocates the respective process

Orapub System Monitor

老外编写的一个工具,貌似现在用处不大了,随着每个人工作经验的增长,都会形成自己的一套知识库,一套脚本.在此分享下.找个老的,有想要研究的拿去. SQL> @osmi.sql OraPub Online Institute - What any-where any-device any-time training should be! OraPub System Monitor - Interactive Analysis Menu (c)1998-2015 OraPub, Inc. - Free

PatentTips - Method for guest operating system integrity validation

BACKGROUND The embodiments relate to guest operating system integrity validation, and more particularly to guest operating system integrity validation through a virtual machine monitor (VMM) hypervisor trap. Today's computers make use of various memo

Linux下进程的创建(system(); fork(); exec*())

0. system(); system()函数通过调用shell程序来执行所指向的命令(效率低),相当于先fork(),再execve(): 特点:原进程和子进程各自运行,且原进程需要等子进程运行完后再继续: 1. fork(); 参考文献: linux中fork同时创建多个子进程的方法(一) 在Linux中用fork()由一个父进程创建同时多个子进程的格式如下: 1 int status,idx; 2 3 for (idx = 0; idx < 10; idx++) { 4 status =

fastboot 刷system.img 提示 sending &#39;system&#39; (*KB)... FAILED (remote: data too large)

华为G6-C00卡刷提示OEMSBL错误,只能线刷 ,但是官方找不到线刷img镜像,无奈 网上下了个可以线刷的工具套件 流氓ROM . 使用HuaweiUpdateExtractor(工具百度)把官方 UPDATA.APP 中三个镜像文件全部提取出来 尝试使用 下面命令 fastboot flash boot boot.img fastboot flash recovery recovery.img fastboot flash system system.img 最后一步出错 提示 sendi

【转】What is an entity system framework for game development?

What is an entity system framework for game development? Posted on 19 January 2012 Last week I released Ash, an entity system framework for Actionscript game development, and a number of people have asked me the question “What is an entity system fra