Repository: incubator-stratos
Updated Branches:
  refs/heads/master 82e0e8664 -> f4ded09d0


adding reasonable values to autoscaling policy and comments


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/f4ded09d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/f4ded09d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/f4ded09d

Branch: refs/heads/master
Commit: f4ded09d002449cb4b53034c6eb30088d1e99082
Parents: 82e0e86
Author: Nirmal Fernando <[email protected]>
Authored: Fri Feb 21 14:19:00 2014 +0530
Committer: Nirmal Fernando <[email protected]>
Committed: Fri Feb 21 14:19:00 2014 +0530

----------------------------------------------------------------------
 .../main/autoscale-policies/economyPolicy.xml   | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f4ded09d/products/autoscaler/modules/distribution/src/main/autoscale-policies/economyPolicy.xml
----------------------------------------------------------------------
diff --git 
a/products/autoscaler/modules/distribution/src/main/autoscale-policies/economyPolicy.xml
 
b/products/autoscaler/modules/distribution/src/main/autoscale-policies/economyPolicy.xml
index 9a734fa..739ec42 100644
--- 
a/products/autoscaler/modules/distribution/src/main/autoscale-policies/economyPolicy.xml
+++ 
b/products/autoscaler/modules/distribution/src/main/autoscale-policies/economyPolicy.xml
@@ -2,23 +2,25 @@
 <autoscalePolicy id="economyPolicy">
        <loadThresholds>
                <requestsInFlight>
-                       <average value="6000" />
-                       <gradient value="0" />
-                       <secondDerivative value="0" />
+                       <average value="400" />
+                       <gradient value="1" />
+                       <secondDerivative value="0.2" />
                        <scaleDownMarginOfGradient  value="1.0" />
                        <scaleDownMarginOfSecondDerivative value="0.2" />
                </requestsInFlight>
+               <!-- Normalized memory consumption of a cluster as a percentage 
-->
                <memoryConsumption>
-                       <average value="6000" />
-                       <gradient value="0" />
-                       <secondDerivative value="0" />
+                       <average value="80" />
+                       <gradient value="1" />
+                       <secondDerivative value="0.2" />
                        <scaleDownMarginOfGradient value="1.0" />
                        <scaleDownMarginOfSecondDerivative value="0.2" />
                </memoryConsumption>
+               <!-- Normalized load average of a cluster as a percentage -->
                <loadAverage>
-                       <average value="6000" />
-                       <gradient value="0" />
-                       <secondDerivative value="0" />
+                       <average value="80" />
+                       <gradient value="1" />
+                       <secondDerivative value="0.2" />
                        <scaleDownMarginOfGradient value="1.0" />
                        <scaleDownMarginOfSecondDerivative value="0.2" />
                </loadAverage>

Reply via email to