kvm cpu model
KVM์๋ cpu model์ด ์์ต๋๋ค. ๋ค์๊ณผ ๊ฐ์ ๋ชจ๋ธ์ด ์์ต๋๋ค.
host-passthrough
host-model
named-model
์ฌ์ฉ๋ฒ
์ฌ์ฉ๋ฒ์ xml์ ๋ค์์ฒ๋ผ ์ถ๊ฐํ๋ฉด ๋ฉ๋๋ค.
Host passthrough
<cpu mode='host-passthrough'/>
Host passthrough with feature customization:
<cpu mode='host-passthrough'>
<feature name="vmx" policy="disable"/>
...
</cpu>
Host model:
<cpu mode='host-model'/>
Host model with feature customization:
<cpu mode='host-model'>
<feature name="vmx" policy="disable"/>
...
</cpu>
Named model:
<cpu mode='custom'>
<model name="Westmere"/>
</cpu>
Named model with feature customization:
<cpu mode='custom'>
<model name="Westmere"/>
<feature name="pcid" policy="require"/>
...
</cpu>
์๋ฌด๊ฒ๋ ์ค์ ์ ์ํ๋ฉด ๊ธฐ๋ณธ ๋ฒ์ ์ผ๋ก ์ ์ฉ๋๋๊ฑฐ ๊ฐ์ต๋๋ค.
kvm๋ฒ์ ์ ๋ฐ๋ผ์ ๊ธฐ๋ณธ ๋ฒ์ ์ด ๋ฌ๋ผ์ง๋๊ฑธ๋ก ๋ณด์ ๋๋ค.
vm์์ ๋ค์์ฒ๋ผ ํ์ธํด๋ณด์๋ฉด
cat /proc/cpuinfo

๊ธฐ๋ณธ ๋ฒ์ ์ผ๋ก ๋์ค๋ค์
host-passthrough ๋ฅผ ์ ์ฉํด๋ณด๋ฉด ๋ค์๊ณผ ๊ฐ์ด ๋์ต๋๋ค.

์ค์ ๋ฌผ๋ฆฌ์๋ฒ์ cpu ์ ๋ณด๊ฐ ๋ณด์ ๋๋ค.
todo
host-passthrough
vs host-model
๋๊ฐ์ ์ฐจ์ด์ ์ ์์๋ณด๊ธฐ
openenbula์์ ์ค์ ํ๊ธฐ
๋ค์ ์ฒ๋ผ ์ค์ ํ ์ ์์ต๋๋ค.
Last updated
Was this helpful?