100 likes | 183 Views
DB2 V8 Bufferpool Pagefixing. For saving money in software fees. Talking about z /OS pages. Page is a set of contiguous 4K virtual addresses aligned at 4K boundary. Do you know that now we have 1M pages?Pages are virtually located in address spaces.
E N D
DB2 V8 Bufferpool Pagefixing For saving money in software fees.
Talking about z/OS pages • Page is a set of contiguous 4K virtual addresses aligned at 4K boundary. Do you know that now we have 1M pages?Pages are virtually located in address spaces. • A page is created through the Virtual Storage Management functions: GETMAIN and IEARV64. • Parameters define the AS locality of the new born page: • AS private area below the line • AS private area above the line • AS private area above the bar • A page also can be located in Dataspaces and Hiperspaces
GETMAIN Macro GETMAIN LC,LA=length addr,A=addr LU,LA=length addr,A=addr VC,LA=length addr,A=addr VU,LA=length addr,A=addr EC,LV=length value,A=addr EU,LV=length value,A=addr VRU,LV=(maximum length value, minimum length value) SP=subpool nmbr
IEARV64 Macro IARV64 REQUEST=GETSTOR ,COND=NO ,COND=YES ,SEGMENTS=segments ,FPROT=YES ,FPROT=NO ,SVCDUMPRGN=YES ,SVCDUMPRGN=NO
What is Pagefixing • Physically the contents of a page may reside in a central storage 4KB frame or in 4KB slot in a page data set (see STOR and STORF MN III RMF reports). • Fixing a page means that this page is not available to be stolen from a frame to a slot. There is a noticeable CPU cycles for fixing the page. • Why do we need to page fixing? • Integrity in general, an example could be I/O buffer fixing
DB2 Bufferpools DB2 Bufferpool is a set of same size I/O buffers in virtual storage. Each buffer contains a DB2 page. The full Bufferpool is contained in z/OS pages (confuse?). DB2 Bufferpools are used to avoid I/O operations in random accesses and to make them more efficient for sequential access. DB2 Bufferpool can be located in the three private areas in an AS or Dataspaces or Hiperspaces (not recommended). Buffers from the Bufferpool must be fixed before any I/O operation and free after the I/O operation end. Those functions consumes lots of CPU cycles.
Fixing DB2 V8 Bufferpools • The idea here is to trade CPU cycles by central storage frames keeping DB2 buffers in some specific Bufferpools be permanently fixed. • We expected more than 20% DB2 CPU time savings impacting hardware saves and software saves (less MSUs/H). • It is strongly recommended after taking this option to track central storage performance indicators as: Highest UIC, Page Fault Rate, Available Queue size. Also it is recommended to increase the number of available slots.