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.

8.1 CF request batching<br />

8.1.1 Per<strong>for</strong>mance<br />

z/<strong>OS</strong> 1.4 and CF Level 12 bring two new coupling facility “commands”, Write And Register<br />

Multiple (WARM) and Read For Castout Multiple (RFCOM).<br />

<strong>DB2</strong> V8 data sharing will use these new coupling facility commands, if available, to reduce the<br />

amount of traffic to and from the coupling facility <strong>for</strong> writes to group buffer pools and reads <strong>for</strong><br />

castout processing, thus reducing the data sharing overhead <strong>for</strong> insert, update and<br />

delete-intensive workloads.<br />

When the group buffer pool is allocated in a coupling facility with CFLEVEL= 12 or higher,<br />

<strong>DB2</strong> can register a list of pages that are being prefetched with one request to the coupling<br />

facility. This can be used <strong>for</strong> sequential prefetch (including sequential detection) and list<br />

prefetch.<br />

For those pages that are cached as “changed” in the group buffer pool, or those that are<br />

locked <strong>for</strong> castout, <strong>DB2</strong> still retrieves the changed page from the group buffer pool one at a<br />

time. For pages that are cached as “clean” in the group buffer pool, <strong>DB2</strong> can get the pages<br />

from the group buffer pool (one page at a time), or can include the pages in the DASD read<br />

I/O request, depending on which is most efficient.<br />

z/<strong>OS</strong> 1.4 and CF level 12 introduce two new CF “commands” to:<br />

► Write And Register Multiple (WARM) pages to a group buffer pool with a single command.<br />

► Read multiple pages from a group buffer pool <strong>for</strong> castout processing with a single CF read<br />

request. The actual command is called Read For Castout Multiple (RFCOM).<br />

CF level 13 also introduces per<strong>for</strong>mance improvements related to <strong>DB2</strong> castout processing.<br />

See the Web page:<br />

http://www.ibm.com/servers/eserver/zseries/pso/coupling.html<br />

<strong>DB2</strong> V8 uses the CF request batching commands to read and write pages to and from the<br />

group buffer pool if more than one page needs to be read or written.<br />

<strong>DB2</strong> instrumentation (statistics IFCID 2 and accounting 3 and 148) records are enhanced to<br />

reflect the usage of these new commands. The <strong>DB2</strong> PE accounting and statistics reports are<br />

enhanced to externalize the new counters that indicate the number of WARM and RFCOM<br />

requests in the GBP section:<br />

► WRITE AND REGISTER MULTI<br />

The number of Write and Register Multiple (WARM) requests.<br />

► PAGES WRITE & REG MULTI<br />

The number of pages written using Write and Register Multiple (WARM) requests.<br />

► READ FOR CASTOUT MULTI<br />

The number of Read For Castout Multiple (RFCOM) requests.<br />

A number of per<strong>for</strong>mance studies have been done to understand the impact of using CF<br />

request batching. For these studies, a two member data sharing group was used, running the<br />

IRWW workload. z/<strong>OS</strong> 1.3 was compared to z/<strong>OS</strong> 1.4, to isolate the impact of CF request<br />

batching. CF request batching is not available in z/<strong>OS</strong> 1.3.<br />

Chapter 8. Data sharing enhancements 321

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

Saved successfully!

Ooh no, something went wrong!