[slurm-users] ReqCPUFreq is Unknown.

Uemoto, Tomoki fj2770fj at aa.jp.fujitsu.com
Thu Oct 3 05:44:42 UTC 2019


Hi all,

I am checking the --cpu-freq option of the sbatch command.
The CPU frequency of the target node is as follows.

  # cpupower frequency-info
   analyzing CPU 0:
     driver: acpi-cpufreq
     CPUs which run at the same hardware frequency: 0
     CPUs which need to have their frequency coordinated by software: 0
     maximum transition latency: 10.0 us
     hardware limits: 1000 MHz - 2.60 GHz
     available frequency steps:  2.60 GHz, 2.60 GHz, 2.50 GHz, 2.40 GHz, 2.30 GHz, 2.10 GHz, 2.00 GHz, 1.90 GHz, 1.80 GHz, 1.70 GHz, 1.60 GHz, 1.50 GHz, 1.30 GHz, 1.20 GHz, 1.10 GHz, 1000 MHz
     available cpufreq governors: conservative userspace powersave ondemand performance
     current policy: frequency should be within 1000 MHz and 2.60 GHz.
                     The governor "performance" may decide which speed to use
                     within this range.
     current CPU frequency: 2.60 GHz (asserted by call to hardware)
     boost state support:
       Supported: yes
       Active: yes
   
   #

Set 'CpuFreqGovernors' in slurm.conf.
# scontrol show config | grep CpuFreqGovernors
CpuFreqGovernors        = Conservative,Performance,PowerSave,OnDemand,UserSpace
#

And submitted a sleep job.

$ cat sleep_60.sh
#!/bin/bash

#SBATCH -J sleep_60           # Job name
#SBATCH -o job.%j.out         # Name of stdout output file (%j expands to jobId)

prun sleep 60
$

$ sbatch --cpu-freq=1000000-2000000:UserSpace sleep_60.sh
Submitted batch job 56

$ squeue -l
Thu Oct  3 14:37:04 2019
             JOBID PARTITION     NAME     USER    STATE       TIME TIME_LIMI  NODES NODELIST(REASON)
                56    normal sleep_60     test  RUNNING       0:03 1-00:00:00      1 ohpc137pbsop-c001

I thought that the value of CPUfreq could be confirmed with the sacct command.
However, the value of CPUfreq was Unknown.
Why isn't the CPUfreq value displayed as requested value?

$ sacct -j 56 -o JobID,Partition,JobName,AveCPUFreq,ReqCPUFreqMin,ReqCPUFreqMax,ReqCPUFre
qGov
       JobID  Partition    JobName AveCPUFreq ReqCPUFreqMin ReqCPUFreqMax ReqCPUFreqGov
------------ ---------- ---------- ---------- ------------- ------------- -------------
56               normal   sleep_60                  Unknown       Unknown       Unknown
$


Regards,
Tomo




More information about the slurm-users mailing list