From ea09715640b75a951f0c5b8c57f48bfd50313066 Mon Sep 17 00:00:00 2001 From: Henglong Fan Date: Fri, 18 Sep 2020 11:27:45 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90feature=E3=80=91support=20vcpu=20smt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add threads description in vcpu topology chapter --- ...31\232\346\213\237\346\234\272\351\205\215\347\275\256.md" | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git "a/content/zh/docs/Virtualization/\350\231\232\346\213\237\346\234\272\351\205\215\347\275\256.md" "b/content/zh/docs/Virtualization/\350\231\232\346\213\237\346\234\272\351\205\215\347\275\256.md" index 9988f532a..3e9e50640 100644 --- "a/content/zh/docs/Virtualization/\350\231\232\346\213\237\346\234\272\351\205\215\347\275\256.md" +++ "b/content/zh/docs/Virtualization/\350\231\232\346\213\237\346\234\272\351\205\215\347\275\256.md" @@ -106,9 +106,7 @@ XML配置文件的基本格式如下,其中label代表具体标签名,attrib 子元素topology:元素cpu的子元素,用于描述虚拟CPU模式的拓扑结构。 - - 子元素topology的属性socket、cores、threads分别描述了虚拟机具有多少个cpu socket,每个cpu socket中包含多少个处理核心(core),每个处理器核心具有多少个超线程(thread),属性值为正整数且三者的乘积等于虚拟CPU的个数。 - - + - 子元素topology的属性socket、cores、threads分别描述了虚拟机具有多少个cpu socket,每个cpu socket中包含多少个处理核心(core),每个处理器核心具有多少个超线程(threads),属性值为正整数且三者的乘积等于虚拟CPU的个数,ARM架构下支持虚拟超线程,可以将threads配置为2。 #### 配置示例 例如,虚拟CPU个数为4,处理模式为host-passthrough,虚拟内存为8GiB,4个CPU分布在两个CPU socket中,且不支持超线程的配置如下: -- Gitee