<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Instance Caging</title>
	<atom:link href="http://antognini.ch/2009/11/instance-caging/feed/" rel="self" type="application/rss+xml" />
	<link>http://antognini.ch/2009/11/instance-caging/</link>
	<description></description>
	<lastBuildDate>Fri, 27 Jan 2012 07:31:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Christian Antognini</title>
		<link>http://antognini.ch/2009/11/instance-caging/comment-page-1/#comment-27102</link>
		<dc:creator>Christian Antognini</dc:creator>
		<pubDate>Thu, 16 Jun 2011 07:27:53 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=774#comment-27102</guid>
		<description>Hi Sigrid

&gt; first of all, let me congratulate you on your Berlin workshop regarding the
&gt; query optimizer - it was a real informative, nice and interesting event!

Thank you!

&gt; For example: On one DSS system, with a mean mreadtim of 9.12, the standard deviation was 3.74,
&gt; resulting in a conclusion going &quot;with a probability of 90%, mreadtim lies between 2.97 and 15.27&quot;... 
&gt; Even more impressing, on one OLTP system, the mean mbrc was 50, with a stddev of 32, giving a
&gt; confidence interval, at 90% probability, of minus 3 to plus 103 for mbrc...

What about the standard deviation of sreadtim? 

&gt; Now I wonder how to explain this extreme variation, given that the values are already taken
&gt; over a 10-hour period... the only source of variation would be the day of week, and AFAIK
&gt; there should not be such great variation in workload here, at least as regards the OLTP applications.

IMO, because of the way multiblock reads work, makes such variations more or less normal. In fact, the size of multiblock reads is strongly dependent on the data which is stored in the buffer cache.

&gt; Could it be that sampling over a 10-hour period is not a good thing to do, and if so,
&gt; for what reason (I just remember you having an example involving more fine-grained
&gt; sampling periods, which were aggregated somehow afterwards ...)?

I always worked with shorter periods. With them I had the opportunity to choose between an average, max, or whatever value I wanted. With long periods you can only take the average.

&gt; Also, I can&#039;t help wondering whether this great standard deviation invalidates the result, somehow...?

IMO  no.

Cheers,
Chris</description>
		<content:encoded><![CDATA[<p>Hi Sigrid</p>
<p>&gt; first of all, let me congratulate you on your Berlin workshop regarding the<br />
&gt; query optimizer &#8211; it was a real informative, nice and interesting event!</p>
<p>Thank you!</p>
<p>&gt; For example: On one DSS system, with a mean mreadtim of 9.12, the standard deviation was 3.74,<br />
&gt; resulting in a conclusion going &#8220;with a probability of 90%, mreadtim lies between 2.97 and 15.27&#8243;&#8230;<br />
&gt; Even more impressing, on one OLTP system, the mean mbrc was 50, with a stddev of 32, giving a<br />
&gt; confidence interval, at 90% probability, of minus 3 to plus 103 for mbrc&#8230;</p>
<p>What about the standard deviation of sreadtim? </p>
<p>&gt; Now I wonder how to explain this extreme variation, given that the values are already taken<br />
&gt; over a 10-hour period&#8230; the only source of variation would be the day of week, and AFAIK<br />
&gt; there should not be such great variation in workload here, at least as regards the OLTP applications.</p>
<p>IMO, because of the way multiblock reads work, makes such variations more or less normal. In fact, the size of multiblock reads is strongly dependent on the data which is stored in the buffer cache.</p>
<p>&gt; Could it be that sampling over a 10-hour period is not a good thing to do, and if so,<br />
&gt; for what reason (I just remember you having an example involving more fine-grained<br />
&gt; sampling periods, which were aggregated somehow afterwards &#8230;)?</p>
<p>I always worked with shorter periods. With them I had the opportunity to choose between an average, max, or whatever value I wanted. With long periods you can only take the average.</p>
<p>&gt; Also, I can&#8217;t help wondering whether this great standard deviation invalidates the result, somehow&#8230;?</p>
<p>IMO  no.</p>
<p>Cheers,<br />
Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Antognini</title>
		<link>http://antognini.ch/2009/11/instance-caging/comment-page-1/#comment-26677</link>
		<dc:creator>Christian Antognini</dc:creator>
		<pubDate>Tue, 14 Jun 2011 12:54:38 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=774#comment-26677</guid>
		<description>Hi Erwin

I&#039;m not aware of particular problems in this area. Since I do not have an AIX system handy, I cannot test it either. You might try to open an SR...

Cheers,
Chris</description>
		<content:encoded><![CDATA[<p>Hi Erwin</p>
<p>I&#8217;m not aware of particular problems in this area. Since I do not have an AIX system handy, I cannot test it either. You might try to open an SR&#8230;</p>
<p>Cheers,<br />
Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erwin Beckers</title>
		<link>http://antognini.ch/2009/11/instance-caging/comment-page-1/#comment-25883</link>
		<dc:creator>Erwin Beckers</dc:creator>
		<pubDate>Fri, 10 Jun 2011 13:10:16 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=774#comment-25883</guid>
		<description>Hello all,
I&#039;ve been doing some tests on the AIX platform with regards to instance caging. 
I&#039;ve set it up on an LPAR with 2 logical CPUs, but have been unable to actually limit the CPU usage.
It seems that no matter what the limit is set to, I can always manage to eat up all the cpu allocation on server level.
This shouldn&#039;t really happen, but I have no clue as to what i might have done wrong. I&#039;ve got the resource_manager setup and set the cpu_count parameter according to the importance (diving to 1 each) over each instance.</description>
		<content:encoded><![CDATA[<p>Hello all,<br />
I&#8217;ve been doing some tests on the AIX platform with regards to instance caging.<br />
I&#8217;ve set it up on an LPAR with 2 logical CPUs, but have been unable to actually limit the CPU usage.<br />
It seems that no matter what the limit is set to, I can always manage to eat up all the cpu allocation on server level.<br />
This shouldn&#8217;t really happen, but I have no clue as to what i might have done wrong. I&#8217;ve got the resource_manager setup and set the cpu_count parameter according to the importance (diving to 1 each) over each instance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Randy Johnson</title>
		<link>http://antognini.ch/2009/11/instance-caging/comment-page-1/#comment-18791</link>
		<dc:creator>Randy Johnson</dc:creator>
		<pubDate>Sat, 05 Mar 2011 01:00:14 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=774#comment-18791</guid>
		<description>Nice post Christian. Very clear and helpful. 
I wonder if Oracle is contemplating moving the CBO to a % based mechanism rather than CPU_COUNT. That would allow us to cage instances to a percentage of CPU rather than a fixed number. No doubt that would be a big effort. If they did it would behave much like the DBRM manages CPU internally through the plan directives.</description>
		<content:encoded><![CDATA[<p>Nice post Christian. Very clear and helpful.<br />
I wonder if Oracle is contemplating moving the CBO to a % based mechanism rather than CPU_COUNT. That would allow us to cage instances to a percentage of CPU rather than a fixed number. No doubt that would be a big effort. If they did it would behave much like the DBRM manages CPU internally through the plan directives.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blogroll Report 27/11/2009-04/12/2009 &#171; Coskan&#8217;s Approach to Oracle</title>
		<link>http://antognini.ch/2009/11/instance-caging/comment-page-1/#comment-6429</link>
		<dc:creator>Blogroll Report 27/11/2009-04/12/2009 &#171; Coskan&#8217;s Approach to Oracle</dc:creator>
		<pubDate>Fri, 18 Dec 2009 00:13:35 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=774#comment-6429</guid>
		<description>[...] 1-How to limit number of CPU for an instance with instance caging feature of 11GR2 ? Christian Antognini-Instance Caging [...]</description>
		<content:encoded><![CDATA[<p>[...] 1-How to limit number of CPU for an instance with instance caging feature of 11GR2 ? Christian Antognini-Instance Caging [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Log Buffer #171: a Carnival of the Vanities for DBAs &#124; The Pythian Blog</title>
		<link>http://antognini.ch/2009/11/instance-caging/comment-page-1/#comment-6195</link>
		<dc:creator>Log Buffer #171: a Carnival of the Vanities for DBAs &#124; The Pythian Blog</dc:creator>
		<pubDate>Fri, 04 Dec 2009 18:04:37 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=774#comment-6195</guid>
		<description>[...] Antognini is, as always, Striving for Optimal Performance. He has a worthwhile post on instance caging, &#8220;&#160;.&#160;.&#160;.&#160;nother small but useful feature of Oracle Database 11g Release [...]</description>
		<content:encoded><![CDATA[<p>[...] Antognini is, as always, Striving for Optimal Performance. He has a worthwhile post on instance caging, &#8220;&nbsp;.&nbsp;.&nbsp;.&nbsp;nother small but useful feature of Oracle Database 11g Release [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Rahn</title>
		<link>http://antognini.ch/2009/11/instance-caging/comment-page-1/#comment-6124</link>
		<dc:creator>Greg Rahn</dc:creator>
		<pubDate>Sun, 29 Nov 2009 20:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=774#comment-6124</guid>
		<description>@Marcus

This feature is meant to be used for resource management of multiple instances on a single server/platform.  It allows one to &quot;curb&quot;  instances to limit the maximum CPU.  One can set the sum of CPU_COUNT for all instances to match the total physical CPU count (using instance caging to partition) or the sum of the CPU_COUNTs can be higher than the physical CPU count (using instance caging to over-provision, but limit).  The latter potentially allows for better host utilization given that each individual instance is below its max CPU threshold.

For licensing, you can use hard partitioning with Oracle VM to limit the CPUs that have to be licensed as shown by this wiki note:  http://wiki.oracle.com/page/Hard+partitioning</description>
		<content:encoded><![CDATA[<p>@Marcus</p>
<p>This feature is meant to be used for resource management of multiple instances on a single server/platform.  It allows one to &#8220;curb&#8221;  instances to limit the maximum CPU.  One can set the sum of CPU_COUNT for all instances to match the total physical CPU count (using instance caging to partition) or the sum of the CPU_COUNTs can be higher than the physical CPU count (using instance caging to over-provision, but limit).  The latter potentially allows for better host utilization given that each individual instance is below its max CPU threshold.</p>
<p>For licensing, you can use hard partitioning with Oracle VM to limit the CPUs that have to be licensed as shown by this wiki note:  <a href="http://wiki.oracle.com/page/Hard+partitioning" rel="nofollow">http://wiki.oracle.com/page/Hard+partitioning</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus Mönnig</title>
		<link>http://antognini.ch/2009/11/instance-caging/comment-page-1/#comment-6121</link>
		<dc:creator>Marcus Mönnig</dc:creator>
		<pubDate>Sun, 29 Nov 2009 16:45:03 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=774#comment-6121</guid>
		<description>Christian, thanks for your update on instance caging.

What leaves me clueless is that setting CPU_COUNT has no influence on the number of CPUs I have to licenses. This makes virtualization of Oracle DBs even more unfeasible. Say e.g., I have one physical machine with four CPUs and four virtual machines running a DB each on it. Until now, I needed to get four 4-CPU licences for that. Now, I can set CPU_COUNT to one for all instances and I still have to get the same licenses. This is ridiculous. 
IMHO the only reasonable way of setting the CPU_COUNT is to open the case and physically unplug CPUs from the machine.</description>
		<content:encoded><![CDATA[<p>Christian, thanks for your update on instance caging.</p>
<p>What leaves me clueless is that setting CPU_COUNT has no influence on the number of CPUs I have to licenses. This makes virtualization of Oracle DBs even more unfeasible. Say e.g., I have one physical machine with four CPUs and four virtual machines running a DB each on it. Until now, I needed to get four 4-CPU licences for that. Now, I can set CPU_COUNT to one for all instances and I still have to get the same licenses. This is ridiculous.<br />
IMHO the only reasonable way of setting the CPU_COUNT is to open the case and physically unplug CPUs from the machine.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

