Blog
DB2utor

Advertisement

Troy Coleman

Troy Coleman




Bookmark and Share

May 2012

Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

« IDUG, Smart Systems | Main | A New Option to Block Page-Stealing »

May 24, 2011

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d83545a5d153ef015432840888970c

Listed below are links to weblogs that reference Buffer Pool Sizing: Page Residency Time:

Comments

Mike Wingfield

How are you determining pages read per second?

Wilfried Laser

Hi Troy,
very interesting article. But I have the same question as Mike.
How are you determining pages read per second? I can't find any information. DIS BPool don't show it. Do I need Omegamon or Mainview or .. ?
Best regards
Wilfried

Troy Coleman

Hi Wilfried and Mike,
The calculation I shared came from the DB2 9 for z/OS: Buffer Pool Monitoring
and Tuning Guide. I'm not aware of any monitor showing these numbers in seconds. I use Insight which shows the metric every 30 seconds. So if I have a buffer pool size of 10504 with read I/O of 21 in 30 seconds which is about .7 per second. This would give me a page residency of 15,006 seconds.

Leela Krishna Kandrakota

New reply to an old post -
There is a REXX written by Mike Bracey (IBM) to execute a DISPLAY BUFFERPOOL(ACTIVE) DETAIL at regular intervals (5,10,15,30,60 minutes) and calculate the I/O rate for the interval by the differences.

One version of the Rexx is at:
http://www.ruban.de/DB2_for_z_OS/z_OS_Code/DB2_z_OS_Code_-_Detail_View/db2_z_os_code_-_detail_view_5.html

NaiLi

Troy;
Thanks for the posting. I've got some very interesting numbers. For the workhorse bufferpools, the system page residence is less than 5 seconds. Some others are less than 30 seconds.. Serious tuning is due.
BTW, I used CA Detector which is set at hour intervals, that the get page numbers are tallied at hour level. That may or may not skewed my calculation.

NaiLi

Joel Goldstein

Page residency time, like hit ratios are interesting, but not a measureable metric for pool tuning. There will be a vast difference in useful residency times based on the overall pool getpage rates.
You may also have some very large and very random obects that almost always require an IO - they will skew your residency times. Likewise you may have some pages from other objects that live in the pool. You need to look specifically at the objects generating the highest IO rate/second in your workhorse pool(s). Object separation may do more for you than just adding memory.
Overall, the critical metric for pool performance is the IO rate/second because you can convert that to application delay/performance, and to CPU costs.

NaiLi

Joel;
Good to hear from you! Appreciate the comments! I had the objects separated by use, so code tables are more or less live in one pool, large sequential objects in one pool, and large dynmic objects in another, volatiles in their own. Index/data separated. The thresholds are set favoring the access patterns in each. But through time, the pools got messy and murky again, and the io/sec is out of shape. Page residence angle is new to me, fun to look at:) Yes, the large dynamics will definitely toss the residence out of the pool! I am with you, IO reduction is what we should thrive for!
NaiLi

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Comments are moderated, and will not appear until the author has approved them.