You were brought to this page based on an internet search
and as a free service to Oracle DBAs.
The text below is an except from the book,
Oracle Performance Firefighting, written by
Craig Shallahamer of
OraPub, Inc.
Figures and tables are not included on this page, only their reference.
To order the book in either print or PDF form, click
here.
©2009, 2010 by Craig Shallahamer. This is copyrighted material.
PleaseOut of respect for those involved in the creation of the book and also for
their familes, we ask you to respect the copyright both in intent and deed. Thank you.
-------------------------------
When CPU-intensive Oracle algorithms begin to break down, you will notice that service time starts to increase as the arrival rate increases. If you look ahead to Figure 9-9, you will see a slight service time upward slope. As discussed back to Chapter 3, the CPU-intensive Oracle latching acquisition algorithm, with its combination of spinning and sleeping, does a tremendous job of limiting the increase in service time as the workload increases. What you feel and what users feel when performance begins to degrade is probably queue time increasing, rather than service time increasing.
In Chapter 4, we covered how CPU and IO subsystems are fundamentally different from a queuing perspective. The central difference is there is only one CPU queue, but each IO device has its own queue, so transactions have no choice but to read or write to a given IO device, regardless of its queue size. This can result in a busy device with a massive queue, while another device has little or no queue time. As a result, CPU subsystems with multiple cores exhibit little queue time until they are utilized starting around 70%, whereas IO subsystems immediately exhibit queue time. As I detailed in Chapter 4, this is true even for perfectly balanced IO subsystems.
Figure 9-8 contrasts an eight-device IO subsystem (solid line) and an eight-CPU core subsystem (dotted line) having the exact same service time. We know their service times are the same because, at a minimal arrival rate when no queuing occurs, their response time is exactly the same. With the understanding that service time does not change, regardless of the arrival rate, we know that any increase in the response time is due to queue time.
©2009, 2010 by Craig Shallahamer. This is copyrighted material.
PleaseOut of respect for those involved in the creation of the book and also for
their familes, we ask you to respect the copyright both in intent and deed. Thank you.
|