X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a8a8986479eb622009601692325c404d74b5a7ed..a001b13d7aa269a90f035f58c71778c6812b07f6:/doc/doxygen/platform.doc diff --git a/doc/doxygen/platform.doc b/doc/doxygen/platform.doc index ed5af1d878..1ef202b403 100644 --- a/doc/doxygen/platform.doc +++ b/doc/doxygen/platform.doc @@ -119,7 +119,7 @@ speed | double (mandatory) | Computational power core | int (defaults to 1) | Number of cores (see @ref howto_multicore) state | optionally "OFF" | If set to OFF, the host is initially turned off. availability_file | File name (optional) | (Relative or absolute) filename to use as input; must contain availability traces for this host. The syntax of this file is defined below. -state_file | File name (optional) | Same mechanism as availability_file.
+state_file | File name (optional) | File to use as a state profile (see @ref howto_churn) coordinates | String (mandatory when using Vivaldi routing) | The coordinates of this host (see @ref pf_P2P_tags). pstate | Double (Defaults to 0) | FIXME: Not yet documented. @@ -175,37 +175,6 @@ will start delivering 80\% of its power. In this example, this amounts to 400 Mf Since the periodicity in line 1 was set to be 1.0, i.e., 1 timestep, this host will continue to provide 500 Mflop/s from time 21. From time 32 it will provide 250 MFlop/s and so on. -\anchor pf_host_churn -### Expressing churn ### - -To express the fact that a host can change state over time (as in P2P -systems, for instance), it is possible to use a file describing the time -at which the host is turned on or off. An example of the content -of such a file is presented below. - -#### Adding a state file #### - -\verbatim - - - -\endverbatim - -#### Example of "bob.fail" file #### - -~~~{.py} - PERIODICITY 10.0 - 1.0 0 - 2.0 1 -~~~ - -A zero value means down (i.e., OFF) while a positive one means up and - running (i.e., ON). From time 0.0 to time 1.0, the host is on as usual. At time 1.0, it is -turned off and at time 2.0, it is turned on again until time 12 (2 plus the -periodicity 10). It will be turned off again at time 13.0 until time 23.0, and -so on. - - \subsubsection pf_tag_cluster <cluster> ```` represents a machine-cluster. It is most commonly used @@ -713,10 +682,9 @@ these might also help you to get started. Attribute name | Mandatory | Values | Description --------------- | --------- | ------ | ----------- id | yes | string | Identifier of this storage_type; used when referring to it -model | yes | string | For reasons of future backwards compatibility only; specifies the name of the model for the storage that should be used +model | no | string | In the future, this will allow to change the performance model to use size | yes | string | Specifies the amount of available storage space; you can specify storage like "500GiB" or "500GB" if you want. (TODO add a link to all the available abbreviations) content | yes | string | Path to a \ref pf_storage_content_file "Storage Content File" on your system. This file must exist. -content_type | no | ("txt_unix"\|"txt_win") | Determines which kind of filesystem you're using; make sure the filenames (stored in that file, see \ref pf_storage_content_file_structure "Storage Content File Structure"!) This tag must contain some predefined model properties, specified via the <model_prop> tag. Here is a list, see below for an example: @@ -725,7 +693,6 @@ Property id | Mandatory | Values | Description --------------- | --------- | ------ | ----------- Bwrite | yes | string | Bandwidth for write access; in B/s (but you can also specify e.g. "30MBps") Bread | yes | string | Bandwidth for read access; in B/s (but you can also specify e.g. "30MBps") -Bconnexion | yes | string | Throughput (of the storage connector) in B/s. \note A storage_type can also contain the <prop> tag. The <prop> tag allows you @@ -735,10 +702,9 @@ Bconnexion | yes | string | Throughput (of the storage connector) in Here is a complete example for the ``storage_type`` tag: \verbatim - + - \endverbatim @@ -751,7 +717,6 @@ id | yes | string | Identifier of this ``storage``; used when typeId | yes | string | Here you need to refer to an already existing \ref pf_storage_entity_storage_type "\"; the storage entity defined by this tag will then inherit the properties defined there. attach | yes | string | Name of a host (see Section \ref pf_host) to which this storage is physically attached to (e.g., a hard drive in a computer) content | no | string | When specified, overwrites the content attribute of \ref pf_storage_entity_storage_type "\" -content_type | no | string | When specified, overwrites the content_type attribute of \ref pf_storage_entity_storage_type "\" Here are two examples: @@ -759,8 +724,7 @@ Here are two examples: + content="content/win_storage_content.txt" /> \endverbatim The first example is straightforward: A disk is defined and called "Disk1"; it is @@ -785,18 +749,17 @@ is; this location is specified by the ``name`` attribute. Here is a simple example, taken from the file ``examples/platform/storage.xml``: \verbatim - + - + attach="alice" /> + attach="denise"/>