3 ClientAppConfig
David Anderson edited this page 2023-08-22 13:15:33 -07:00

Client app configuration

This doc describes a new feature that will allow volunteers to adjust application scheduling parameters.

Note: this is separate from the anonymous platform mechanism.

A volunteer can configure a project's apps by putting a file app_config.xml in the project's directory. This file has the following form:

<app_config>
   <app>
      <name>name</name>
      <max_concurrent>N</max_concurrent>
      <gpu_versions>
          <gpu_usage>.25</gpu_usage>
          <cpu_usage>.1</cpu_usage>
      </gpu_versions>
   </app>
</app_config>

<name>: the short name of an application.

<max_concurrent>: a limit on the number of concurrent jobs for that application.

<gpu_versions>: the <gpu_usage> and <cpu_usage> elements specify the number of device instances used by GPU app versions. Note: there is no provision for specifying this per GPU type or per device.

Note2: The placement of the app_config.xml is in its respective project folder, e.g. for WorldCommunityGrid it goes into .\projects\www.worldcommunitygrid.org