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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.1.3 I/O time<br />

2.1.4 Virtual storage<br />

experienced. But this is not the main reason, since the developers have worked hard to keep<br />

the same path length when executing the <strong>DB2</strong> functions. The main reasons are that the<br />

instructions now deal with possibly large variable length names and that 64-bit mode<br />

instructions often take more time to execute than in 31-bit mode, and there is a need <strong>for</strong> a lot<br />

of expansion of instructions from the 24 and 31-bit type.<br />

<strong>DB2</strong> V8 contains many new features in the areas of availability, scalability, and portability from<br />

other plat<strong>for</strong>ms, such as family consistency, user productivity, and other features. For those<br />

applications not taking advantage of <strong>DB2</strong> V8 per<strong>for</strong>mance features, an increase in CPU time<br />

is anticipated to support all of these new features.<br />

As you examine the different measurements in this book reported in 4.1, “<strong>DB2</strong> CPU<br />

considerations” on page 129, you see that there is fluctuation in CPU cost depending on the<br />

different types of workloads tested. The CPU ranges vary but generally the additional CPU<br />

cost is between 0 and 10%. Of course, we think that eventually you make changes to your<br />

applications and subsystem to take advantage of those new features that ultimately reduce<br />

the CPU cost and hopefully result even in a CPU reduction.<br />

There is only good news here:<br />

► No change in I/O times <strong>for</strong> 4 KB pages.<br />

► Significant sequential I/O time improvement <strong>for</strong> those table spaces with greater than 4 KB<br />

page sizes, as soon as the larger CI sizes are utilized in new-function mode. See 4.10,<br />

“New CI size” on page 199.<br />

► <strong>DB2</strong> V8 removes the limit of 180 CIs per I/O <strong>for</strong> list prefetch and castout I/O requests. See<br />

8.4, “<strong>DB2</strong> I/O CI limit removed” on page 333.<br />

► Compression, with the dictionaries now above the bar, is even more widely applicable, and<br />

can help in reducing I/O.<br />

By far the biggest impact in <strong>DB2</strong> V8 <strong>for</strong> per<strong>for</strong>mance is related to the introduction of the 64-bit<br />

architecture. The reason <strong>for</strong> moving to 64-bit architecture is that leading edge customers were<br />

running into virtual storage constraint problems. For more in<strong>for</strong>mation on this problem, see<br />

the article on <strong>DB2</strong> <strong>UDB</strong> <strong>for</strong> z/<strong>OS</strong> Storage Management by John Campbell and Mary Petras at:<br />

http://www.idug.org/idug/member/journal/mar00/storage.cfm<br />

The <strong>DB2</strong> V8 implementation of 64-bit virtual storage is good news <strong>for</strong> installations that had<br />

virtual storage constraint problems in the past. Many of them had to rearrange and reduce the<br />

main <strong>DB2</strong> storage consumers to avoid running into out-of-storage conditions; this new<br />

configuration may not have been as optimal from a per<strong>for</strong>mance point of view. However, you<br />

had no choice but to reduce storage utilization to avoid these out-of-storage conditions.<br />

<strong>DB2</strong> has moved several critical pools above the 2 GB bar, and left some below. Now in <strong>DB2</strong><br />

V8, with many main storage areas moving above the 2 GB bar, a possibility exists to enlarge<br />

these storage areas, which in turn, can result in much better per<strong>for</strong>mance. However, be<br />

careful when looking at thread storage. Most of the thread storage still remains below the bar,<br />

including the application’s local dynamic statement cache, so carefully monitor thread-related<br />

storage.<br />

One observation to note is that both the DBM1 and IRLM address spaces exploit 64-bit virtual<br />

addressing. The other <strong>DB2</strong> address spaces, DIST, MSTR and SPAS, do not yet exploit this<br />

technology.<br />

12 <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>

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

Saved successfully!

Ooh no, something went wrong!