                      Default Load Parameters
                      -----------------------

___INFO__MARK_BEGIN__
   This following copyright statement applies to this file only. It does not
   imply that this statement covers other files of a Grid Engine
   distribution. See the directory '<sge_root>/3rdparty' for a summary of
   other copyrights of this Grid Engine distribution.

   The Contents of this file are made available subject to the terms of
   the Sun Industry Standards Source License Version 1.2
 
   Sun Microsystems Inc., March, 2001

 
   Sun Industry Standards Source License Version 1.2
   =================================================
   The contents of this file are subject to the Sun Industry Standards
   Source License Version 1.2 (the "License"); You may not use this file
   except in compliance with the License. You may obtain a copy of the
   License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html
 
   Software provided under this License is provided on an "AS IS" basis,
   WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
   WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
   MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
   See the License for the specific provisions governing your rights and
   obligations concerning the Software.

   The Initial Developer of the Original Code is: Sun Microsystems, Inc.
 
   Copyright: 2001 by Sun Microsystems, Inc.

   All Rights Reserved.
___INFO__MARK_END__

The load parameters reported by the execution daemon per default currently
are:

arch            : An architecture string compiled into the cod_execd
                  describing the operating system architecture for which
                  the execd is targeted. Possible values are:

                  solaris    for Sun Solaris (Sparc) 2.6, 7, 8, 9 32 bit kernel
                  solaris64  for Sun Solaris (Sparc) 7, 8, 9 with 64 bit kernel
                  solaris86  for Sun Solaris (x86) 8, 9
                  irix6      for SGI IRIX 6.2-6.5
                  osf4       for Digital UNIX version 4.0
                  tru64      for Compaq Tru64 Unix 5.0 and 5.1
                  hp10       for HP-UX 10.20
                  hp11       for HP-UX 11.0
                  aix43      for IBM AIX 4.3, 5.0
                  glinux     for Linux 2.4.x (x86) glibc 2.2+ based
                  alinux     for Linux (AXP)
                  cray       for Cray Unicos
                  crayts     for Cray TS Unicos
                  craytsieee for Cray TS with IEEE hardware
                  darwin     for Mac OS/X
                  fbsd-alpha for Freebsd on Alpha/AXP
                  fbsd-i386  for Freebsd on various processor types
                  ia64linux  for Linux on Itanium            

                  Note, that a sge_execd for a particular architecture may
                  run on multiple OS versions.  In this case, the
                  architecture string delivered by cod_execd may be
                  misleading.

num_proc        : The number of processors provided by the execution host. 
                  The host is in this case defined by a single Internet
                  address, i.e. rack mounted multi host systems are counted
                  as a cluster rather than a single multi headed machine.

The following load information is NOT available under

  aix42, aix43 

load_short      : The short time average OS run queue length. It is the
                  first of the value triple reported by the uptime(1)
                  command. Many implementations provide a 1 minute average
                  with this value

load_medium     : The medium time average OS run queue length. It is the
                  second of the value triple reported by the uptime(1)
                  command. Many implementations provide a 5 minute average
                  with this value

load_long       : The long time average OS run queue length. It is the
                  third of the value triple reported by the uptime(1)
                  command. Many implementations provide a 10 or 15 minute
                  average with this value

load_avg        : The same as load_medium. It is provided for continuity
                  with CODINE 3.3.x (former name of SGE).

np_load_short   : The same as load_short but divided by the number of
                  processors. This value allows to compare the load of
                  single and multi headed hosts.

np_load_medium  : The same as load_medium but divided by the number of
                  processors. This value allows to compare the load of
                  single and multi headed hosts.

np_load_long    : The same as load_long but divided by the number of
                  processors. This value allows to compare the load of
                  single and multi headed hosts.

np_load_avg     : The same as load_avg but divided by the number of
                  processors. This value allows to compare the load of
                  single and multi headed hosts.

cpu             : The percentage of CPU time not in idle state.


The following memory load information is only available under 

   solaris, solaris64, hp10, hp11, osf4, tru64, glinux, alinux, 
   irix6 (NOT aix42 and NOT aix43)

mem_free        : The amount of free memory. 
swap_free       : The amount of free swap memory.
virtual_free    : The sum of mem_free and swap_free.
mem_used        : The amount of used memory. 
swap_used       : The amount of used swap space.
virtual_used    : The sum of mem_used and swap_used.
mem_total       : The total amount of memory (free+used).
swap_total      : The total amount of swap space (free+used).
virtual_total   : The sum of mem_total and swap_total.


For detailed information on how to extend the default set of load
parameters, please refer to the "Load Parameters" section in the Sun ONE Grid
Engine Installation and Administration Guide.

Included below is a template for the host complex with the default
definitions for the default load parameters. To restore the host complex of
your SGE system to these settings, please save the table to a file and
register it with the qconf -Mc command. For information concerning the SGE
complexes concept and its relation to load parameters, please refer to the
section "The Complexes Concept" in the Sun ONE Grid Engine Installation and
Administration Guide.

#name            shortcut   type   value           relop requestable consumable  default
#---------------------------------------------------------------------------------------
arch             a          STRING    none         ==    YES         NO          none
num_proc         p          INT       1            ==    YES         NO          0
#-- raw values -------------------------------------------------------------------------
load_avg         la         DOUBLE    99.99        >=    NO          NO          0
load_short       ls         DOUBLE    99.99        >=    NO          NO          0
load_medium      lm         DOUBLE    99.99        >=    NO          NO          0
load_long        ll         DOUBLE    99.99        >=    NO          NO          0
#-- raw values divided by num_proc -----------------------------------------------------
np_load_avg      nla        DOUBLE    99.99        >=    NO          NO          0
np_load_short    nls        DOUBLE    99.99        >=    NO          NO          0
np_load_medium   nlm        DOUBLE    99.99        >=    NO          NO          0
np_load_long     nll        DOUBLE    99.99        >=    NO          NO          0
#-- memory load sensors -----------------------------------------------------------
mem_free         mf         MEMORY 0               <=    YES         NO          0
mem_total        mt         MEMORY 0               <=    YES         NO          0
swap_free        sf         MEMORY 0               <=    YES         NO          0
swap_total       st         MEMORY 0               <=    YES         NO          0
virtual_free     vf         MEMORY 0               <=    YES         NO          0
virtual_total    vt         MEMORY 0               <=    YES         NO          0
mem_used         mu         MEMORY INFINITY        >=    YES         NO          0 
swap_used        su         MEMORY INFINITY        >=    YES         NO          0
virtual_used     vu         MEMORY INFINITY        >=    YES         NO          0
swap_rsvd        srsv       MEMORY 0               >=    YES         NO          0
swap_rate        sr         MEMORY 0               >=    YES         NO          0
#-- queue attribute which are usful as CR's are load values per host
slots            s          INT    0               <=    YES         YES         1
s_vmem           s_vmem     MEMORY 0               <=    YES         NO          0
h_vmem           h_vmem     MEMORY 0               <=    YES         NO          0
s_fsize          s_fsize    MEMORY 0               <=    YES         NO          0
h_fsize          h_fsize    MEMORY 0               <=    YES         NO          0
#--- # starts a comment but comments are not saved across edits ------------------------
cpu              cpu        DOUBLE 0               >=    YES         NO          0
