如何在 openstack 中将 2 个计算节点共享到 1 个虚拟机?

how to share 2 compute nodes to 1 vm in openstack?

是否可以在 open-stack.i 中共享其他计算节点的资源,意思是 compute1 节点上的 Vm 运行 是否会使用 compute2 的资源,如果是的话怎么可能?或者有没有使用或组合两个服务器资源使它们成为 1 个服务器?服务器之间是否可以共享?

OpenStack 无法实现。

OpenStack 依赖 hypervisor KVM、Xen 或 Hyper-V 来管理虚拟机。据我所知none 支持的管理程序允许您"stitch together" CPU 和多个计算节点上的内存资源以形成虚拟机。

如果您正在寻找一种可以将计算节点拼接在一起的技术,一种可能性是 ScaleMP's "vSMP ServerONE" product。正如 "blurb" 所说:

With vSMP ServerONE, multiple servers appear to the operating system, applications, administrators, developers or users as a single entity, running only one copy of the operating system. Each CPU in the aggregated system has access to all of the memory, enabling applications to scale using thread-parallel execution such as OpenMP.

不过有一个问题。 vSMP 中的内存共享通过使用虚拟内存硬件(有效地)在不同服务器之间交换虚拟页面来工作:

  • 这需要高速网络。 (越快越好。)
  • 如果您的工作负载中的线程和进程没有良好的内存局部性,性能将会受到影响。这有点像经典的虚拟内存抖动。

另请参阅: