Traceable performance evaluation: Difference between revisions

From Grid5000
Jump to navigation Jump to search
Line 9: Line 9:
The list of services running on the system can be shown using <code class=command>systemctl</code>. Then the system can be modified using <code class=command>sudo-g5k</code> to get the root privileges.
The list of services running on the system can be shown using <code class=command>systemctl</code>. Then the system can be modified using <code class=command>sudo-g5k</code> to get the root privileges.


Services can be deactivated (with <code class=command>sudo-g5k systemctl stop </code><code class=replace>service</code>). More generally, software packages can be uninstalled (e.g. with <code class=command>apt-get remove </code><code class=replace>package</code>, any associated services should be stopped, but mind checking).
Services can be deactivated (with <code class=command>sudo-g5k systemctl stop </code><code class=replace>service</code>). More generally, software packages can be uninstalled (e.g. with <code class=command>sudo-g5k apt-get remove </code><code class=replace>package</code>. Any associated services should be stopped, but mind checking).


* The <code class=replace>prometheus-node-exporter.service</code> service is typically known to cause power consumption spikes every 15s.
* The <code class=replace>prometheus-node-exporter.service</code> service is typically known to cause power consumption spikes every 15s.

Revision as of 15:32, 21 September 2021

This page presents good practices when performing performance evaluations (benchmarks, ...) using Grid'5000 nodes. It is not about benchmarking Grid'5000 itself.

About the Grid'5000 nodes' operating system

Grid'5000 nodes can be used with a choice of different system environments: either with the default (standard) environment which is pre-provisioned on nodes, or with a variety of environments deployed on demand by the user. We compare the several options.

Using a node running the default (standard) environment

In this case, access to the system of the node does not require a deployment (kadeploy), so access is quicker. The system however comes with a lot of functionalities that may impact benchmarks for instance. It may be relevant to uninstall/deactivate them before running a performance evaluation.

The list of services running on the system can be shown using systemctl. Then the system can be modified using sudo-g5k to get the root privileges.

Services can be deactivated (with sudo-g5k systemctl stop service). More generally, software packages can be uninstalled (e.g. with sudo-g5k apt-get remove package. Any associated services should be stopped, but mind checking).

  • The prometheus-node-exporter.service service is typically known to cause power consumption spikes every 15s.

Also, the Grid'5000 default environment includes some common system tweaks that may have biases on benchmarks. The CPU parameters page provides relevant information.

Using a deployed environment

Using kadeploy is very relevant in the context of performance evaluation, as it allows a user to operate the nodes with the most minimalistic system that is sufficient for the use case. For instance, one can deploy the -min variant of one of the Grid'5000 supported environments, or a customized environment possibly built on top of a minimalistic environment and featuring only software required for running a benchmark.

Note.png Note

By design, the -min variant of the Grid'5000 supported environments do not change the default behavior of the Linux distribution it is based on.

The recipes from which Grid'5000 environment are built are available in https://gitlab.inria.fr/grid5000/environments-recipes. See Environment creation for more information about how environments are built.

About the traceability of the infrastructure

Special effort is made in Grid'5000 to keep track of infrastructure changes so that any user can get information about for instance what side effects could have impacted an experiment.

The following sources of information are available:

News
The most notable changes in the infrastructure are the subject of news published on the News page as well as on the Grid'5000 twitter and sent to the users' mailing list (users@list.grid5000.fr). It is strongly recommended to follow the news.
Environment recipes
Changes in the way the operating system of nodes is built are tracked in the environment recipes git repository. It's a good idea to keep track of the version of the system running for an experiment, for instance by storing the information provided in /etc/grid5000/release for the standard environment or other Grid'5000 supported environment. Older environments used for a previous experiment can be redeployed on nodes to help reproduce results.
Reference repository & Reference API
Detailed information and related changes in the components of the infrastructure are recorded in the reference repository which is served by the Grid'5000 Reference API (REST API). Updates of firmware versions for instance are tracked there. It is a good idea to keep track of the state of the platform at the time of the experiment as explained in API_tutorial#Platform_state_and_reproducibility.

About the Grid'5000 node monitoring service

Grid'5000 provides the kwollect service that can collect information about nodes during a job: energy, network traffic, and more. See the kwollect page or the Energy consumption monitoring tutorial.

Note.png Note

Note that if the prometheus-node-exporter.service systemd service is deactivated on a node (as discussed above), no data will be gathered by the monitoring service for that node