uiacceltk/hitchcock/goommonitor/data/goomconfig.xml
changeset 0 15bf7259bb7c
child 3 d8a3531bc6b8
equal deleted inserted replaced
-1:000000000000 0:15bf7259bb7c
       
     1 
       
     2 <!-- This is the configuration file for the new GOOM Monitor. This configuration file
       
     3 defines a GOOM policy where Graphics RAM is released. The order below is the order in which the OOM Monitor releases RAM. 
       
     4 Work on the GOOM Moitor config file will be based on this.
       
     5 
       
     6 Aim of GOOM:
       
     7 Run ALF plugin
       
     8 Call on Policy Server of MM to free G Ram
       
     9 
       
    10 -->
       
    11 <goom_config>
       
    12 
       
    13 <!-- 	Low RAM and good RAM thresholds are defined here in kilobytes.
       
    14 	The max_app_close_batch indicates how many applications can be closed in parallel.
       
    15 	The value 1 means that applications are not closed in parallel.
       
    16 	default_wait_after_plugin defines how long is waited (in milliseconds) after
       
    17 	an GOOM plugin is called and before the free RAM is checked to determine if more
       
    18 	actions are needed. This value is meaningful only when "check" or "estimate" sync mode is
       
    19 	used with plugins.
       
    20 -->
       
    21 	<global_settings low_ram_threshold="3637" good_ram_threshold="10000" max_app_close_batch="3" default_wait_after_plugin="500">
       
    22 	</global_settings>
       
    23 
       
    24 <!--	Application specific low RAM and good RAM thresholds are defined here. The higher values of
       
    25 the low and good thresholds are defined to avoid GOOM errors with these applications when the default
       
    26 threshold values are used.
       
    27 -->
       
    28 	<app_specific_thresholds>
       
    29 
       
    30   <app uid="101F857A" low_ram_threshold="26000" good_ram_threshold="28000" target_free_on_startup="26000"></app> <!-- Camera --> 
       
    31   <app uid="200159B2" low_ram_threshold="5000" good_ram_threshold="10000" target_free_on_startup="26000"></app> <!-- MPlayer -->
       
    32   <app uid="102824CD" low_ram_threshold="26000" good_ram_threshold="28000"></app> <!-- Embedded mplayer -->
       
    33   <app uid="200009EE" low_ram_threshold="3637" good_ram_threshold="10000" target_free_on_startup="15000"></app> <!-- Photos -->
       
    34 
       
    35 	</app_specific_thresholds>
       
    36 
       
    37 <!--	The priority of closing each application is defined here.
       
    38 -->
       
    39 	<app_close_settings>
       
    40 <!--		The uid DEFAULT_APP refers to all applications, which priority is not specifically
       
    41 		defined in the conf file.
       
    42 -->
       
    43 		<close_app uid="DEFAULT_APP" priority="80" sync_mode="check">
       
    44 			<app_close_idle_priority idle_time="900" priority="50"></app_close_idle_priority>
       
    45 			<app_close_idle_priority idle_time="43200" priority="20"></app_close_idle_priority>
       
    46 		</close_app>
       
    47 <!--		The uid BUSY_APP refers to applications, which have set the OOM priority BUSY
       
    48 		by using the GOOM Monitor API SetGOomPriority(). The priority NEVER_CLOSE
       
    49 		means that the application is not closed at all.
       
    50 -->
       
    51 		<close_app uid="BUSY_APP" priority="NEVER_CLOSE" sync_mode="check"></close_app>
       
    52 <!--		The uid HIGH_PRIORITY_APP refers to applications, which have set the GOOM priority HIGH
       
    53 		by using the GOOM Monitor API SetGOomPriority().
       
    54 -->
       
    55 		<close_app uid="HIGH_PRIORITY_APP" priority="90" sync_mode="check">
       
    56 			<app_close_idle_priority idle_time="43200" priority="20"></app_close_idle_priority>
       
    57 		</close_app>
       
    58 	</app_close_settings>
       
    59 	
       
    60 <!--	The priority of executing each system plugin is defined here.
       
    61 	System plugin is a plugin, which priority is not related to any application.
       
    62 -->
       
    63 	<system_plugin_settings>
       
    64 <!--		The uid DEFAULT_PLUGIN refers to all plugins, which priority is not specificly
       
    65 		defined in the conf file.
       
    66 -->
       
    67 		<system_plugin uid="DEFAULT_PLUGIN" priority="10" sync_mode="check"></system_plugin>
       
    68 		<system_plugin uid="E4B6C988" priority="3" sync_mode="check"></system_plugin> <!-- ALFOOGMPLUGIN -->
       
    69 		<system_plugin uid="2002C30A" priority="5" sync_mode="check" wait="1000"></system_plugin> <!-- FLASHOOGMPLUGIN -->
       
    70 	</system_plugin_settings>
       
    71 	
       
    72 <!--	The priority of executing each application plugin is defined here.
       
    73 	Application plugin is a plugin, which priority depends on the target application.
       
    74 	The target application must be defined for each application plugin.
       
    75 	By default all plugins are system plugins unless specifically defined as application
       
    76 	plugin in this section.
       
    77 -->
       
    78 	<app_plugin_settings>
       
    79 	</app_plugin_settings>
       
    80 </goom_config>