19.06.2013 Views

DB2 UDB for z/OS Version 8 Performance Topics - IBM Redbooks

DB2 UDB for z/OS Version 8 Performance Topics - IBM Redbooks

DB2 UDB for z/OS Version 8 Performance Topics - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

WebSphere z/<strong>OS</strong> - <strong>DB2</strong> z/<strong>OS</strong> V8 - Servlet workload<br />

JCC type 2 vs. JCC type 4 in local environment<br />

WebSphere<br />

V502<br />

servlet<br />

WebSphere<br />

V502<br />

servlet<br />

z/<strong>OS</strong> 1.3<br />

JCC<br />

T2<br />

1.8.36<br />

z/<strong>OS</strong> 1.3<br />

JCC<br />

T4<br />

1.8.36<br />

<strong>DB2</strong> V8<br />

<strong>for</strong> z/<strong>OS</strong><br />

T<br />

C D<br />

P/ D<br />

I F<br />

P<br />

<strong>DB2</strong> V8<br />

<strong>for</strong> z/<strong>OS</strong><br />

Figure 7-8 <strong>DB2</strong> Universal Type 2 Driver vs. <strong>DB2</strong> Universal Type 4 Driver<br />

Using the setup with the <strong>DB2</strong> Universal Type 4 Driver (DRDA), the throughput is reduced by<br />

51% when compared to the Type 2 Driver RRSAF connection to <strong>DB2</strong>. The Type 2 Driver<br />

communicates with <strong>DB2</strong> via cross-memory calls where the Type 4 Driver uses the TCP/IP<br />

stack.<br />

The setup with the Type 4 Driver is not that unusual. If access to several <strong>DB2</strong> subsystems in<br />

the same LPAR is needed, you will need the Type 4 Driver as this is not supported by the<br />

Type 2 Driver with an RRSAF connection.<br />

This measurement was executed using JDK 1.3.1. The per<strong>for</strong>mance of the setup with the<br />

Type 4 Driver improves with JDK 1.4.2.<br />

JDK 1.4.2 has seen the JIT compiler optimized, and the Java TCP/IP implementation<br />

improved. A separate per<strong>for</strong>mance comparison is shown in Figure 7-9.<br />

Notice that JDK versions go in pairs with WAS versions:<br />

► WAS 5.0.2 and JDK 1.3.1<br />

► WAS 5.1.0 and JDK 1.4.2<br />

296 <strong>DB2</strong> <strong>UDB</strong> <strong>for</strong> z/<strong>OS</strong> <strong>Version</strong> 8 Per<strong>for</strong>mance <strong>Topics</strong><br />

Trans/sec - higher is better<br />

350<br />

300<br />

250<br />

200<br />

150<br />

100<br />

50<br />

0<br />

ITR<br />

-51%<br />

JCC type 2<br />

JCC type 4

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!