
두 개의 워크스테이션으로 SLURM을 설정했습니다. 다양한 종류가 있지만 4개의 코어가 있고 추가 SMT가 없는 CPU, 즉 총 4개의 스레드가 있는 것을 선택하겠습니다. lscpu
나에게 다음을 보여줍니다 :
$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 39 bits physical, 48 bits virtual
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 60
Model name: Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz
Stepping: 3
CPU MHz: 3478.500
CPU max MHz: 3700.0000
CPU min MHz: 800.0000
BogoMIPS: 6584.83
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 6144K
NUMA node0 CPU(s): 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm abm cpuid_fault epb invpcid_single pti tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts
그들은 워크스테이션이고 나는 단지 자원을 재배하고 있기 때문에 SLURM에게 워크스테이션당 2개 이상의 단일 CPU 작업을 예약하지 않도록 CPU 코어가 2개만 있다고 말했습니다. 하지만 이제는 더 많은 농사를 지어야 하므로 워크스테이션당 3개의 작업을 추진하고 있습니다. 그래서 저는 SLURM에게 실제로는 3개의 코어가 있다고 말했습니다. 하지만 SLURM은 이를물을 빼다상태:
$ scontrol show node=deino
NodeName=deino Arch=x86_64 CoresPerSocket=3
CPUAlloc=3 CPUTot=3 CPULoad=4.55
AvailableFeatures=(null)
ActiveFeatures=(null)
Gres=(null)
NodeAddr=deino NodeHostName=deino Version=18.08
OS=Linux 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5+deb10u2 (2019-08-08)
RealMemory=13000 AllocMem=1500 FreeMem=1299 Sockets=1 Boards=1
State=ALLOCATED+DRAIN ThreadsPerCore=1 TmpDisk=60347 Weight=2 Owner=N/A MCS_label=N/A
Partitions=batch,long-no-guarantee
BootTime=2019-08-23T14:50:20 SlurmdStartTime=2019-08-23T14:51:06
CfgTRES=cpu=3,mem=13000M,billing=3
AllocTRES=cpu=3,mem=1500M
CapWatts=n/a
CurrentWatts=0 LowestJoules=0 ConsumedJoules=0
ExtSensorsJoules=n/s ExtSensorsWatts=0 ExtSensorsTemp=n/s
Reason=Low socket*core*thread count, Low CPUs [slurm@2019-11-14T13:51:07]
난 이해가 안 돼요. 나는 가지고 있으므로 CPUs=3 Sockets=1 CoresPerSocket=3 ThreadsPerCore=1
이것은 기계가 실제로 가지고 있는 것보다 적습니다. 재개되도록 이러한 노드를 수동으로 설정할 수 있지만 느낌이 이상합니다. 이 작업이 제대로 작동하려면 무엇을 변경해야 합니까?
답변1
- 클러스터 정의를 수정한 후 모든 노드에서 slurmd를 다시 시작했습니까?
- 우리 시스템에서는 각 노드의 모든 리소스를 완전히 선언하지만 코어 및 메모리 전문화를 사용하여 OS/대화형 사용자를 위한 코어/메모리를 예약합니다.https://slurm.schedmd.com/core_spec.html