[slurm-users] ReqCPUFreq is Unknown.

Uemoto, Tomoki fj2770fj at aa.jp.fujitsu.com
Thu Oct 3 06:11:03 UTC 2019


Hi All,

additionally write...

I changed the CPUFreq driver from intel_pstate to acpi-cpufreq.
The result was the same for intel_pstate.


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
$

**************************
Intel_pstate
**************************
# cpupower frequency-info
analyzing CPU 0:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency:  Cannot determine or is not supported.
  hardware limits: 1000 MHz - 3.70 GHz
  available cpufreq governors: performance powersave
  current policy: frequency should be within 1000 MHz and 3.70 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency: 1.00 GHz (asserted by call to hardware)
  boost state support:
    Supported: yes
    Active: yes


$ sbatch --cpu-freq=1000000-2000000 sleep_60.sh
Submitted batch job 57

$ squeue -l
Thu Oct  3 15:02:36 2019
             JOBID PARTITION     NAME     USER    STATE       TIME TIME_LIMI  NODES NODELIST(REASON)
                57    normal sleep_60     test  RUNNING       0:05 1-00:00:00      1 c002

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

CPUfreq is Unknown.

**************************
acpi-cpufreq
**************************
# 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
   
   #

$ 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 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
$



-----Original Message-----
From: slurm-users [mailto:slurm-users-bounces at lists.schedmd.com] On Behalf Of Uemoto, Tomoki
Sent: Thursday, October 03, 2019 2:45 PM
To: 'slurm-users at lists.schedmd.com' <slurm-users at lists.schedmd.com>
Subject: [slurm-users] ReqCPUFreq is Unknown.

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 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