【问题标题】:For MPI hosts file, how many slots对于 MPI 主机文件,有多少个插槽
【发布时间】:2014-02-12 22:53:26
【问题描述】:

我在一个小型集群中使用了 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:

【问题讨论】:

    标签: linux mpi cluster-computing host


    【解决方案1】:

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

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

    【讨论】:

    • 是的,这就是计划(没有线程)。每个核心只有 1 个等级。谢谢。
    猜你喜欢
    • 1970-01-01
    • 2018-03-03
    • 2014-07-22
    • 2013-09-03
    • 2011-09-24
    • 2013-03-24
    • 2014-07-19
    • 2019-03-04
    • 2019-08-30
    相关资源
    最近更新 更多