summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshravan <shravan.k.b.m@intel.com>2014-09-25 09:26:58 +0530
committerPatrick Tjin <pattjin@google.com>2014-09-28 21:50:23 -0700
commit9d7a792711ec5e4fb3474ceff21bdd14547d0981 (patch)
tree7e6737440468583d6606227c02b57ce3d3058c2a
parentbc0b49155603ba1c0c1fc86d13127d04021e7c70 (diff)
downloadutils-9d7a792711ec5e4fb3474ceff21bdd14547d0981.tar.gz
Parameters of itux xml are changed based on test to enhance performance. Bug: 17525863 BZ: 224014 Change-Id: I21598a4d8212f737a58a69900c42d675c4f22e91 Signed-off-by: shravan <shravan.k.b.m@intel.com>
-rw-r--r--ituxd/res/xml/thermal_sensor_config.xml70
-rw-r--r--ituxd/res/xml/thermal_throttle_config.xml4
2 files changed, 41 insertions, 33 deletions
diff --git a/ituxd/res/xml/thermal_sensor_config.xml b/ituxd/res/xml/thermal_sensor_config.xml
index 5f44487..edaac2d 100644
--- a/ituxd/res/xml/thermal_sensor_config.xml
+++ b/ituxd/res/xml/thermal_sensor_config.xml
@@ -14,6 +14,16 @@
</PlatformInfo>
<Sensor>
+ <SensorName>SYSTHERM0</SensorName>
+<!--
+ <SensorPath>auto</SensorPath>
+ <InputTemp>temp</InputTemp>
+ <HighTemp>auto</HighTemp>
+ <LowTemp>auto</LowTemp>
+-->
+ </Sensor>
+
+ <Sensor>
<SensorName>SYSTHERM1</SensorName>
<!--
<SensorPath>auto</SensorPath>
@@ -24,7 +34,7 @@
</Sensor>
<Sensor>
- <SensorName>SYSTHERM0</SensorName>
+ <SensorName>SYSTHERM2</SensorName>
<!--
<SensorPath>auto</SensorPath>
<InputTemp>temp</InputTemp>
@@ -42,7 +52,7 @@
</Sensor>
<Sensor>
- <SensorName>Core0</SensorName>
+ <SensorName>Core 0</SensorName>
<SensorPath>/sys/devices/platform/coretemp.0/</SensorPath>
<InputTemp>temp2_input</InputTemp>
<HighTemp>temp2_threshold2</HighTemp>
@@ -50,28 +60,27 @@
<UEventDevPath>DEVPATH=/devices/platform/coretemp.0</UEventDevPath>
</Sensor>
-<!--
<Zone>
<ZoneID>1</ZoneID>
<ZoneName>BackSkin</ZoneName>
<ZoneLogic>VirtualSkin</ZoneLogic>
<SupportsUEvent>0</SupportsUEvent>
- <DebounceInterval>2000</DebounceInterval>
+ <DebounceInterval>1000</DebounceInterval>
<PollDelay>
<DelayNormal>30000</DelayNormal>
- <DelayWarning>30000</DelayWarning>
- <DelayAlert>30000</DelayAlert>
+ <DelayWarning>10000</DelayWarning>
+ <DelayAlert>5000</DelayAlert>
</PollDelay>
<ZoneThreshold>
- <ZoneThresholdNormal>47000</ZoneThresholdNormal>
- <ZoneThresholdWarning>57000</ZoneThresholdWarning>
- <ZoneThresholdAlert>72000</ZoneThresholdAlert>
+ <ZoneThresholdNormal>48000</ZoneThresholdNormal>
+ <ZoneThresholdWarning>50000</ZoneThresholdWarning>
+ <ZoneThresholdAlert>70000</ZoneThresholdAlert>
</ZoneThreshold>
<SensorAttrib>
- <SensorName>SYSTHERM1</SensorName>
- <Weight>680</Weight>
+ <SensorName>SYSTHERM2</SensorName>
+ <Weight>662</Weight>
</SensorAttrib>
- <Offset>8400</Offset>
+ <Offset>5203</Offset>
</Zone>
<Zone>
@@ -79,40 +88,39 @@
<ZoneName>FrontSkin</ZoneName>
<ZoneLogic>VirtualSkin</ZoneLogic>
<SupportsUEvent>0</SupportsUEvent>
- <DebounceInterval>2000</DebounceInterval>
+ <DebounceInterval>1000</DebounceInterval>
<PollDelay>
<DelayNormal>30000</DelayNormal>
- <DelayWarning>30000</DelayWarning>
- <DelayAlert>30000</DelayAlert>
+ <DelayWarning>10000</DelayWarning>
+ <DelayAlert>5000</DelayAlert>
</PollDelay>
<ZoneThreshold>
- <ZoneThresholdNormal>40000</ZoneThresholdNormal>
+ <ZoneThresholdNormal>48000</ZoneThresholdNormal>
<ZoneThresholdWarning>50000</ZoneThresholdWarning>
- <ZoneThresholdAlert>65000</ZoneThresholdAlert>
+ <ZoneThresholdAlert>70000</ZoneThresholdAlert>
</ZoneThreshold>
<SensorAttrib>
- <SensorName>SYSTHERM0</SensorName>
- <Weight>710</Weight>
+ <SensorName>SYSTHERM2</SensorName>
+ <Weight>492</Weight>
</SensorAttrib>
- <Offset>8100</Offset>
+ <Offset>7721</Offset>
</Zone>
--->
<Zone>
<ZoneID>3</ZoneID>
<ZoneName>SoC</ZoneName>
<ZoneLogic>Raw</ZoneLogic>
<SupportsUEvent>0</SupportsUEvent>
- <DebounceInterval>2000</DebounceInterval>
+ <DebounceInterval>1000</DebounceInterval>
<PollDelay>
<DelayNormal>30000</DelayNormal>
<DelayWarning>10000</DelayWarning>
<DelayAlert>5000</DelayAlert>
</PollDelay>
<ZoneThreshold>
- <ZoneThresholdNormal>80000</ZoneThresholdNormal>
- <ZoneThresholdWarning>84000</ZoneThresholdWarning>
- <ZoneThresholdAlert>88000</ZoneThresholdAlert>
+ <ZoneThresholdNormal>85000</ZoneThresholdNormal>
+ <ZoneThresholdWarning>87000</ZoneThresholdWarning>
+ <ZoneThresholdAlert>89000</ZoneThresholdAlert>
</ZoneThreshold>
<SensorAttrib>
<SensorName>SoC_DTS0</SensorName>
@@ -123,20 +131,20 @@
<ZoneID>4</ZoneID>
<ZoneName>CPU</ZoneName>
<ZoneLogic>Raw</ZoneLogic>
- <SupportsUEvent>0</SupportsUEvent>
- <DebounceInterval>2000</DebounceInterval>
+ <SupportsUEvent>1</SupportsUEvent>
+ <DebounceInterval>1000</DebounceInterval>
<PollDelay>
<DelayNormal>30000</DelayNormal>
<DelayWarning>10000</DelayWarning>
<DelayAlert>5000</DelayAlert>
</PollDelay>
<ZoneThreshold>
- <ZoneThresholdNormal>80000</ZoneThresholdNormal>
- <ZoneThresholdWarning>84000</ZoneThresholdWarning>
- <ZoneThresholdAlert>88000</ZoneThresholdAlert>
+ <ZoneThresholdNormal>85000</ZoneThresholdNormal>
+ <ZoneThresholdWarning>87000</ZoneThresholdWarning>
+ <ZoneThresholdAlert>89000</ZoneThresholdAlert>
</ZoneThreshold>
<SensorAttrib>
- <SensorName>Core0</SensorName>
+ <SensorName>Core 0</SensorName>
</SensorAttrib>
</Zone>
</thermalconfig>
diff --git a/ituxd/res/xml/thermal_throttle_config.xml b/ituxd/res/xml/thermal_throttle_config.xml
index 1afb1ff..22a3266 100644
--- a/ituxd/res/xml/thermal_throttle_config.xml
+++ b/ituxd/res/xml/thermal_throttle_config.xml
@@ -19,7 +19,7 @@
<CDeviceClassPath>auto</CDeviceClassPath>
<CDeviceThrottlePath>auto</CDeviceThrottlePath>
</ContributingDeviceInfo>
-<!--
+
<ZoneThrottleInfo>
<ZoneID>1</ZoneID>
<CriticalShutDown>1</CriticalShutDown>
@@ -35,7 +35,7 @@
<CoolingDevId>1</CoolingDevId>
</CoolingDeviceInfo>
</ZoneThrottleInfo>
--->
+
<ZoneThrottleInfo>
<ZoneID>3</ZoneID>
<CriticalShutDown>0</CriticalShutDown>