qemu / Kvm muito lento

0

Tive algumas tentativas de executar uma VM do Windows 10 em uma CPU host Intel® Core ™ i7-6500U de 64 bits do Stretch Debian a 2.50GHz, com 16GB de RAM e um disco SSD.

Instalou todos os drivers do virtio no Windows (eu acho)

Tentei várias iterações de configurações, sendo a última:

kvm -boot c  -cpu host -enable-kvm -smp 2,threads=2 -m 2G -mem-path /dev/hugepages -vga virtio -machine q35,accel=kvm,kvm_shadow_mem=1843200 -device intel-iommu -drive file=/dev/sda,index=0,media=disk,driver=raw,if=virtio   -device virtio-net-pci -net nic,macaddr=ba:be:00:fa:ce:01,model=virtio -usb -balloon virtio -snapshot

Antes do virtio, eu também tentei:

 qemu-system-x86_64 -boot c  -enable-kvm -cpu host -smp 2,threads=1 -m 2G -mem-path /dev/hugepages -display sdl -vga qxl -machine q35,accel=kvm,kvm_shadow_mem=1843200 -device intel-iommu -drive file=/dev/sda,index=0,media=disk,driver=raw,cache=none -baloon none

Nenhum parece estar funcionando É MUITO lento. Eu não estou usando virt-manager, pois é uma partição bruta do Windows, e tenho medo de sobrescrevê-lo.

Quando eu lanço o kvm, ele para no logo do Windows 10 e não faz mais nada.

Quais são suas recomendações?

Minha lspcpu output:

# lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    2
Core(s) per socket:    2
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 78
Model name:            Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
Stepping:              3
CPU MHz:               456.237
CPU max MHz:           3100.0000
CPU min MHz:           400.0000
BogoMIPS:              5186.00
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              4096K
NUMA node0 CPU(s):     0-3
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp

Minha lspci output:

00:00.0 Host bridge: Intel Corporation Skylake Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 520 (rev 07)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection I219-V (rev 21)
01:00.0 Network controller: Intel Corporation Intel Dual Band Wireless-AC 3165 Plus Bluetooth (rev 99)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Mars [Radeon HD 8670A/8670M/8750M] (rev 81)
    
por blah 17.07.2018 / 12:12

0 respostas

Tags