英伟达
直播中

薄坤坤

7年用户 196经验值
私信 关注
[问答]

如何在ESXi 6.0服务器中使用Grid K2更改vGPU模式下的VM和GPU之间的映射

我在使用VMware Horizo​​n View 6.2的运行ESXi 6.0的Dell R720中使用Grid K2。
我已使用K240Q配置文件在vGPU模式下配置了4个VM。
使用“nvidia-smi”命令,我观察到4个虚拟机到GPU的映射是:
VM1  -  GPU 1,VM2  -  GPU 0,VM3  -  GPU 1,VM4  -  GPU 0
我可以更改VM和&之间的映射(或亲和力)吗?
GPU?
我可以使用什么命令?
另一个相关问题是:Grid K2卡中的两个GPU如何共享PCIe总线?
Grid K2内部是否有PCIe交换机?
如果这些问题已经得到解答,我深表歉意。
我正在浏览论坛页面,找不到任何相关的问题/答案。
谢谢!

以上来自于谷歌翻译


以下为原文

I am using a Grid K2 in a Dell R720 running ESXi 6.0, with VMware Horizon View 6.2. I have configured 4 VMs in vGPU mode using the K240Q profile. Using "nvidia-smi" command, I observed the mapping of the 4 VMs to the GPUs are:
    VM1 - GPU 1, VM2 - GPU 0, VM3 - GPU 1, VM4 - GPU 0

Can I change this mapping (or, Affinity) between a VM & the GPU? What command can I use?

Another related question is: how are the two GPUs in Grid K2 card share the PCIe bus? Is there a PCIe switch inside the Grid K2?

My apologies if these questions were already answered. I was browsing through the forum pages and couldn't find any related questions/answers. Thanks!

回帖(1)

张秀荣

2018-10-8 14:28:10
这是驱动程序包中包含的文档。
在vSphere上,您无法指定每个VM的放置位置,但您可以确定放置策略。
默认是你目前所拥有的,替代选项是加载每个GPU直到它完全加载,然后移动到下一个。
在这种情况下,所有4个VM都将位于同一GPU上。
设置它,
在每个ESX主机上,将“vGPU.consolidation = true”添加到文件/ etc / vmware / config 
https://en.wikipedia.org/wiki/PLX_Technology

以上来自于谷歌翻译


以下为原文



This is in the documentation included in the driver bundle.

On vSphere you cannot specify where each VM is placed, but you can determine the placement policy. Default is what you have at present, the alternate option is to load up each GPU until it's fully loaded, then move to the next. In that instance, all 4 VM's would be on the same GPU.

To set it,

On each ESX host, add "vGPU.consolidation = true" to file /etc/vmware/config







https://en.wikipedia.org/wiki/PLX_Technology
举报

更多回帖

发帖
×
20
完善资料,
赚取积分