[Proxmox] VM cpu 타입을 host 로 설정할 이유

2023. 9. 17. 23:06Proxmox

  1. 성능상 이유
  2. qeum-kvm 내부 아키텍처의 버그

Proxmox 를 사용하던중 성능이 느리다고만 생각하고 있었는데

 

아래글 처럼 VM 의 cpu 타입을 변경하라는 권고를 따라했더니 실제로 체감 성능이 향상되는 것을 느꼈다.

 

  1. cpu 타입 변경할 VM 선택
  2. Hardware 선택
  3. Processors 선택
  4. Edit 버튼 클릭
  5. 새로 표시되는 UI에서 CPU 타입을 Host 로 변경한다.

그림에서 보듯이 Proxmox 버전은 7.3 이라서 추후 버전이 변경시 UI 이름은 달라질 수 있다.

cpu는 intel xeon 2650 v4 이다.  당연히 중고로 구입...

VM 선택 하여 CPU 타입 변경
CPU 타입 host로 변경

https://atl.kr/dokuwiki/doku.php/proxmox%EC%97%90%EC%84%9C_vm%EC%9D%98_cpu_type%EC%9D%84_host_%EB%A1%9C_%EC%84%A4%EC%A0%95%ED%95%B4%EC%95%BC_%ED%95%98%EB%8A%94_%EC%9D%B4%EC%9C%A0

 

proxmox에서_vm의_cpu_type을_host_로_설정해야_하는_이유 [AllThatLinux!]

https://access.redhat.com/discussions/6959360 에 의하면 RHEL 8과 RHEL 9에 필요한 CPU 기능은 다릅니다. Packer/Qemu에서 커널이 충돌하는 것을 보고 버그(https://bugzilla.redhat.com/show_bug.cgi?id=2094260)를 제출했습니다.

atl.kr

https://my.f5.com/manage/s/article/K000092821

 

Using CPU type 'kvm64' instead of 'host' on Proxmox (KVM hypervisor) for BIG-IP VE can result in poor CPU performance

Description Proxmox (KVM) hypervisor allows an admin to select the CPU type which the guest (Big-IP VE) will see and use when it boots up. Unfortunately, selecting the 'kvm64' CPU type can cause much worse performance than if 'host' is selected by the admi

my.f5.com

 

2023년 9월 19일 추가

Proxmox VM cpu type 설정 관련하여 더 찾아보니

cpu type 을 host 로 설정하는게 성능상 장점은 있지만..

사용하지 않아야 할 상황이 있다고 한다.

  1. 실시간으로 VM 을 다른 노드로 마이그레이션 하는경우 다른 노드들의 cpu 가 다른 경우https://forum.proxmox.com/threads/cpu-type-host-vs-kvm64.111165/
 

CPU type host vs. kvm64

I have all nodes with exactly the same CPUs model , core count etc. In general is there significant increase in CPU performance in the host type vs. default kvm64 ? I have all VMs set to kvm64 but I was reading some Proxmox documentation and it says: "If y

forum.proxmox.com