Skip to content

Cluster Dashboards

This page walks through the Grafana dashboards available for viewing CMRI HPC cluster performance metrics.


Overview

Grafana is a tool for visualizing and organizing data. The ARC team provides access to performance data from the CMRI HPC cluster through Grafana, which you can use to track the resources your jobs and RStudio sessions consume. To access Grafana, navigate to cmri-vm-grafana.cmh.internal from a web browser:

Grafana sign-in page with the Sign in with Microsoft option

To log in, click the "Sign in with Microsoft" button, then sign in with your CMH account. When logging in for the first time, you will be prompted to accept the application permissions:

Microsoft sign-in prompt requesting permission to authenticate with Grafana

Click "Accept" to allow Grafana to authenticate your account. After logging in, the default "Node Status" dashboard will load.

Using Grafana

Visualizations in Grafana are organized into pages (called dashboards), which are comprised of one or more graphs. Graphs show data over a time range (typically the past six hours) which can be customized. In the top right corner of each dashboard, there is a time range selector:

Grafana dashboard time-range selector with date and refresh controls

Clicking on the selector opens a popup menu where you can set a custom time range and refresh interval. The refresh interval is how often the dashboard reloads to add new data. Grafana also has the option to select a time range visually. By clicking and dragging in a graph, you can select a specific time range to view:

Grafana graph with a time range highlighted by click-and-drag

Click and hold the left mouse button at the start of the range you want to view, then move your cursor to the end of the range and release the button. This will select that specific time range and magnify the data in it:

Grafana graph magnified to show the selected time range

It is important to note that all graphs on a dashboard use the same time range; selecting a new time range visually in one graph will cause all of the graphs on the dashboard to reload and display data from that same range.

Node Status Dashboard

This is currently the "Home" dashboard when you log in to Grafana. It displays the resources used over time on a each node in the cluster. You can use this to profile your jobs and track how they consume resources.

Grafana Node Status dashboard with node resource graphs and job information

To find the node(s) that your jobs or RStudio sessions are running on, run squeue --me from cmri-vm-login, or a terminal in RStudio. The NODELIST column will have a list of the nodes in use. On the Node Status dashboard you can use the "Compute Node" dropdown in the top left corner to select one of the nodes to view:

Node Status dashboard with the Compute Node selector open

Quick Stats

The top left corner of the dashboard has the name of the currently selected node, the state of the Slurm and SSH services on that node, as well as the current CPU and memory utilization:

Node Status quick stats showing node identity, service state, CPU use, and memory use

CPU Utilization

The graph in the top right corner of the dashboard shows CPU utilization over time. Hovering over the graph will show the timestamp and percent of the CPU used at that time:

Grafana time-series graph of compute-node CPU utilization

Memory Utilization

The graph on the right side of the dashboard shows memory utilization over time. Hovering over it shows a tooltip with the timestamp and memory used at that time:

Grafana memory utilization graph with total, free, used, and kernel memory series

The different values for memory usage shown in the graph legend are explained below:

total
The total memory available.
free
Unused memory.
used
Memory used by running applications.
kernel
Memory used by the operating system.
% used
The percent of memory in use.

Network Bandwidth

The graph on the left side of the dashboard shows network bandwidth utilization over time. Transmit bandwidth is shown on the positive portion of the Y axis, while receive bandwidth is show on the negative portion of the Y axis:

Grafana network bandwidth graph showing storage and compute transmit and receive traffic

The different networks shown in the graph legend are explained below:

storage Tx
Data written to the HPC storage system.
storage Rx
Data read from the HPC storage system.
compute Tx
Data sent to other cluster systems.
compute Rx
Data received from other cluster systems. Datasets downloaded from the internet to the compute node are also reflected in this value.

Recent Jobs

The table in the bottom left corner displays information on currently running and recently completed jobs and RStudio sessions. Each column can be searched, sorted, an filtered by clicking on the funnel icon to the right of the heading.

Node Status dashboard table of recent jobs and RStudio sessions

The values in each column are detailed below:

job name
The job name.
job id
The job ID number.
user name
The user name of the person who submitted the job.
walltime
The job time limit.
elapsed
The amount of time the job has run.
start
The time the job started running.
end
The time the job finished running.

Job Timeline

The job timeline graph shows the ten most recent jobs that ran on the node. Each differently colored horizontal bar represents a different job. You can hover over the bars to see the job ids for the jobs they represent:

Grafana timeline graph of recent jobs running on a compute node

This graph is useful for visualizing when jobs ran and what resources they used. You can use it to select the period of time a job ran during and more closely examine the resources that were used on the other graphs in the dashboard.