[中央處理器] 呢粒U 玩VM 可以assign 到幾多核比 guest OS?

提示: 作者被禁止或刪除 內容自動屏蔽

4+4 OK
8+0 Not OK

TOP

4+4 OK
8+0 Not OK
eh 發表於 2014-12-21 19:34



    Ching 可唔可以講清楚少少,新手唔係太睇得明

TOP

可以
不過其實效能同assign 4 U俾VM分別不大

TOP

Ching 可唔可以講清楚少少,新手唔係太睇得明
Comeon 發表於 2014-12-21 21:18



    http://wahlnetwork.com/2013/09/3 ... achine-vcpu-sizing/
"Avoid creating a single VM with more vCPUs than physical cores. Having multiple VMs that, when combined, exceed the number of physical cores is typically OK – this is called overcommitment."

係而個case,你2個vm各4vCPU係冇問題,因為佢會分得曬落pCPU, ht只係加速vm間既thread切換
但係一個vm比8vCPU就唔得了

TOP

"Avoid creating a single VM with more vCPUs than physical cores. Having multiple VMs that, w ...
eh 發表於 2014-12-22 07:39


唔係唔得
只係效能會仲差

TOP

唔係唔得
只係效能會仲差
KinChungE 發表於 2014-12-22 09:45



    OK,我講得唔準確

TOP

可以,但效能應該會差,差的意思是無論實體核或HT都會多了時間去wait。

而最好的做法是1核+1HT,這就會用盡效能。

TOP

OK,我講得唔準確
eh 發表於 2014-12-22 10:57



    咁我買AMD 既「真八核」CPU,咁係咪可以做到 8+0 ?

TOP

回覆 10# wowowow


意思是assign cpu/core給vm的時候1+1HT
如果是linux, cpu/core是有number的,如01234567

那你assign的時候就一對一對的assign,比如0-1給vm2/dom1, 2-3給vm2/dom2

TOP