Seff

From CMU -- Language Technologies Institute -- HPC Wiki
Jump to navigation Jump to search


Overview

[edit | edit source]

seff (Slurm Efficiency) is a command used in Slurm Workload Manager to report the efficiency of a job. It calculates the CPU and memory efficiency based on the resources requested and the resources used by a job.

Usage

[edit | edit source]

To use seff, run: <source lang="bash"> seff [job_id] </source> Where [job_id] is the ID of the Slurm job.

Output

[edit | edit source]

The output of seff includes:

  • CPU Efficiency: Percentage of the allocated CPU that was actually used.
  • Memory Efficiency: Percentage of the allocated memory that was actually used.

Examples

[edit | edit source]

<source lang="bash"> % seff 81080

Job ID: 81080 Cluster: babel-cluster User/Group: dvosler/dvosler State: COMPLETED (exit code 0) Nodes: 1 Cores per node: 4 CPU Utilized: 00:19:55 CPU Efficiency: 98.92% of 00:20:08 core-walltime Job Wall-clock time: 00:05:02 Memory Utilized: 1.74 GB Memory Efficiency: 86.85% of 2.00 GB </source>

See Also

[edit | edit source]