Skip to main content

Software  >  Information Management  >  DB2 Product Family  >  

Connection Concentrator (CC) and CPU workload

 Technote (troubleshooting)
 
This document applies only to the following language version(s):
English
 
Problem(Abstract)
High CPU workload when Connection Concentrator is turned on
 
Symptom
System (kernal) CPU load by db2disp process
 
Cause
Working as designed
 
Environment
Db2 Connect servers
 
Diagnosing the problem
run vmstat (Linux,UNIX) / Task Manager, perfmon (windows) to identify the process consuming CPU
 
Resolving the problem
With heavy incoming connection/transaction workload with Connection Concentrator (CC) turned on the db2disp process can consume considerable amount of the CPU that can cause spikes up to 100% - depending on the load. We recommend customers add additional CPU to accommodate this load. This issue occurs rarely, but we would like to inform customer about this behavior.

In some environments the problem CPU spikes can be resolved by turning off the connection concentrator, but there are occasions when the Connection Concentrator is required for even workload distribution for SYSPLEX members on zOS db2 server.

For example:

When CC is OFF the workload distribution occurs on the connection boundaries and for long running connections there is no workload re-distribution during the life time of the connection.

When CC is ON, the re-distribution of work happens on transaction boundaries. When this happens, the server list cache on the gateway is updated (this is like connecting, so we get a fresh server list with new WLM weights).

In order to have the even workload distribution among the SYSPLEX members on zOS server the DB2 Connect server should have the following APARs installed:

IZ18588 v8 FP17: http://www-01.ibm.com/support/docview.wss?uid=swg1IZ18588
IZ18672 v9.1 FP6: http://www-01.ibm.com/support/docview.wss?uid=swg1IZ18672
IZ18766 v9.5 FP2: http://www-01.ibm.com/support/docview.wss?uid=swg1IZ18766

and Connection Concentrator turned ON.

There is other opportunity to reduce the workload on the DB2 Connect server and distribute this workload among the application servers by using the direct connection to zOS server. At the time of writing this technote only the jdbc driver can perform the Sysplex Workload Balancing and Connection Concentration.

The connection concentrator and sysplex work load balancing can be enabled by setting the following properties on the datasource or in a URL.

enableConnectionConcentrator=true
enableSysplexWLB=true

Here is the link
https://publib.boulder.ibm.com/infocenter/db2luw/v9r5/index.jsp

The sysplex feature was implemented in the driver that was shipped out with DB2 V8 FP10. But at that time the sysplex feature was only supported by datasource properties. The driver manager support of the sysplex feature was added in  the driver that was shipped with DB2 V9.5. 

Please keep this in mind:

If the sysplex (load balancing feature) is enabled in the driver and all the connections are going via DB2Connect to DB2 zOs then the driver will silently disable the load balancing feature in the driver. The reason is that in this case the driver expects the load balancing to be turned on in DB2 Connect.

 
 
 

Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.
Rate this page
Please take a moment to complete this form to help us better serve you.
This material provides me with the information I need.




This material is clear and easy to understand.




Did the information help you to achieve your goal?
What updates, improvements, or related information would you like to see in this document?
Your response will be used to improve our document content. Requests for assistance, if applicable, should be submitted through your normal support channel as we cannot respond from this site.
Input the verification number to submit feedback:
Document information
 Product categories:
 Software
 Data Management
 Database Management Tools
 DB2 Connect
 Operating system(s):
  AIX, HP-UX, Linux, Solaris, Windows
 Software version:
  8, 9.1, 9.5
 Software edition:
  All Editions
 Reference #:
  1329286
 IBM Group:
 Software Group
 Modified date:
 2009-07-27

Translate My Page
 
 

Rate this page

Help us improve this page. Your response will be used to improve our document content. Requests for assistance, if applicable, should be submitted through your normal support channel as we cannot respond from this site.