How do I figure out how efficient my job is?
seff jobid (for finished job)
Job ID: 27869000
Cluster: central
User/Group: skwon/postdoc
State: COMPLETED (exit code 0)
Nodes: 1
Cores per node: 32
CPU Utilized: 33-12:15:32
CPU Efficiency: 22.09% of 151-16:13:20 core-walltime
Job Wall-clock time: 4-17:45:25
Memory Utilized: 5.36 GB
Memory Efficiency: 4.18% of 128.00 GB
sacct -e (다른 기타 정보들이 필요할 때, for finished job)
sacct --format=’JobId, NodeList, Elapsed, AllocCPUS, CPUTime, AveCPUFreq, MinCPU, MaxVMSize’
scontrol show jobid ###### | grep hpc
NodeList=hpc-22-24
BatchHost=hpc-22-24
scontrol show node hpc-22-24
CPUAlloc=26 CPUTot=32 CPULoad=14.42
AvailableFeatures=skylake
ActiveFeatures=skylake
NodeAddr=hpc-22-24 NodeHostName=hpc-22-24 Version=20.02.3
OS=Linux 3.10.0-1062.18.1.el7.x86_64 #1 SMP Tue Mar 17 23:49:17 UTC 2020
RealMemory=188000 AllocMem=167936 FreeMem=81086 Sockets=2 Boards=1
State=MIXED ThreadsPerCore=1 TmpDisk=0 Weight=10 Owner=N/A MCS_label=N/A
Partitions=any
CfgTRES=cpu=32,mem=188000M,billing=32
AllocTRES=cpu=26,mem=164G
salloc –nodes=1 –ntasks-per-node=1 –cpus-per-task=1 –time=00:01:00 (Slurm interactive job)