gpt4 book ai didi

linux - 对于 MPI 主机文件,有多少个插槽

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:21:15 25 4
gpt4 key购买 nike

我在一个小型集群中使用了 2 台计算机。每个都有 2 个 Intel Xeon 四核处理器。

我只是想验证在我的主机文件中,我应该为每个主机指定 8 个插槽。

/proc/cpu 文件的尾部如下所示(在此之前有 procs 0 - 6):

.... processors 0-6 above ....

processor : 7
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Xeon(R) CPU E5420 @ 2.50GHz
stepping : 6
microcode : 0x606
cpu MHz : 1998.000
cache size : 6144 KB
physical id : 1
siblings : 4
core id : 3
cpu cores : 4
apicid : 7
initial apicid : 7
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
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 lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 lahf_lm dtherm tpr_shadow vnmi flexpriority
bogomips : 4987.49
clflush size : 64
cache_alignment : 64
address sizes : 38 bits physical, 48 bits virtual
power management:

最佳答案

每个节点 8 个主机肯定是一种有效的做事方式。

如果您计划使用 MPI + 线程之类的事情,您也可以使用更少的资源。这仅取决于您的应用程序。不过,一般来说,说您计划每个核心使用 1 个等级是一种安全的方式。

关于linux - 对于 MPI 主机文件,有多少个插槽,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21290431/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com