Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/_static/img/polling-multiproc-default.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/_static/img/polling-multiproc-randomize.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/_static/img/polling-rates.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
65 changes: 64 additions & 1 deletion docs/config_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ It consists of the following properties, which we also call conventionally *conf

:required: No

A list of `general configuration objects <#general-configuration>`__.
A list of :ref:`general configuration objects <general-configuration>`.

.. py:data:: storage

Expand Down Expand Up @@ -1843,6 +1843,8 @@ Result storage configuration
For a detailed description of this property, have a look at the :attr:`~environments.target_systems` definition for environments.


.. _general-configuration:

General Configuration
=====================

Expand Down Expand Up @@ -1934,6 +1936,67 @@ General Configuration
Timeout value in seconds used when checking if a git repository exists.


.. _polling_config:

.. py:attribute:: general.poll_randomize_ms

:required: No
:default: :obj:`None`

.. versionadded:: 4.9

Range of randomization of the polling interval in milliseconds.

If not :obj:`None`, ReFrame will randomize its polling interval within the given range, otherwise no randomization will occur.
The range value must be in the form ``[l, h]`` where ``l``, ``h`` are integers such that ``l<=0`` and ``h>=0``.

See ":ref:`poll-control`" for more details.


.. py:attribute:: general.poll_rate_decay

:required: No
:default: 0.1

.. versionadded:: 4.9

The decay factor of the polling rate.

This is a real number in the range ``[0,1]``.
If the decay is ``0``, then the polling rate will be constant at :attr:`~general.poll_rate_max`.
If the decay is ``1``, then the polling rate will be binary taking either the :attr:`~general.poll_rate_max` or :attr:`~general.poll_rate_min` values.

See ":ref:`poll-control`" for more details.


.. py:attribute:: general.poll_rate_max

:required: No
:default: 10

.. versionadded:: 4.9

The maximum desired polling rate.

If :attr:`~general.poll_randomize_ms` is set to a range that allows the polling interval to be decreased (``l<0``), then the effective polling rate can exceed instantaneously the maximum desired rate.

See ":ref:`poll-control`" for more details.


.. py:attribute:: general.poll_rate_min

:required: No
:default: 0.1

.. versionadded:: 4.9

The minimum desired polling rate.

When the desired polling rate reaches this value, ReFrame will not decrease it further.

See ":ref:`poll-control`" for more details.


.. py:attribute:: general.pipeline_timeout

Timeout in seconds for advancing the pipeline in the asynchronous execution policy.
Expand Down
63 changes: 63 additions & 0 deletions docs/manpage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2100,6 +2100,69 @@ Whenever an environment variable is associated with a configuration option, its
.. versionadded:: 3.10.0


.. _polling_envvars:

.. envvar:: RFM_POLL_RANDOMIZE_MS

Range of randomization of the polling interval in milliseconds.

The range is specified in the form ``l,h``.

.. table::
:align: left

================================== ==================
Associated command line option N/A
Associated configuration parameter :attr:`~config.general.poll_randomize_ms`
================================== ==================

.. versionadded:: 4.9

.. envvar:: RFM_POLL_RATE_DECAY

The decay factor of the polling rate.

.. table::
:align: left

================================== ==================
Associated command line option N/A
Associated configuration parameter :attr:`~config.general.poll_rate_decay`
================================== ==================

.. versionadded:: 4.9


.. envvar:: RFM_POLL_RATE_MAX

The maximum desired polling rate.

.. table::
:align: left

================================== ==================
Associated command line option N/A
Associated configuration parameter :attr:`~config.general.poll_rate_max`
================================== ==================

.. versionadded:: 4.9


.. envvar:: RFM_POLL_RATE_MIN

The minimum desired polling rate.

.. table::
:align: left

================================== ==================
Associated command line option N/A
Associated configuration parameter :attr:`~config.general.poll_rate_min`
================================== ==================

.. versionadded:: 4.9


.. envvar:: RFM_PREFIX

General directory prefix for ReFrame-generated directories.
Expand Down
Loading
Loading