Answer the question
In order to leave comments, you need to log in
Qemu loads the processor?
Qemu is very processor intensive, I will be glad for any help, tips or hints.
Guest - windows 7
I start in qemu with forwarding the Nvidia GTX 660 video card
. Guest configuration:
#!/bin/bash
export QEMU_AUDIO_DRV=alsa QEMU_AUDIO_TIMER_PERIOD=0
qemu-system-x86_64 \
-enable-kvm -M q35 -m 6000 \
-cpu host,kvm=off \
-smp 4,sockets=1,cores=4,threads=1 \
-vga none \
-device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1 \
-device piix4-ide,bus=pcie.0,id=piix4-ide \
-device vfio-pci,host=02:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on \
-device vfio-pci,host=02:00.1,bus=pcie.0 \
-usb -usbdevice host:04f2:0402 \
-usb -usbdevice host:1bcf:0007 \
-soundhw ac97 \
-drive file=windows_7_64.img,format=raw \
;
#cat /etc/modules
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
# cat /etc/modprobe.d/local.conf
options vfio-pci ids=10de:11c0,10de:0e0b
#строчка в /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash iommu=pt iommu=1 amd_iommu=fullflush radeon.dpm=1"
# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 1
Core(s) per socket: 8
Socket(s): 1
NUMA node(s): 1
Vendor ID: AuthenticAMD
CPU family: 21
Model: 2
Model name: AMD FX(tm)-8320 Eight-Core Processor
Stepping: 0
CPU MHz: 1400.000
CPU max MHz: 3500,0000
CPU min MHz: 1400,0000
BogoMIPS: 7000.19
Virtualization: AMD-V
L1d cache: 16K
L1i cache: 64K
L2 cache: 2048K
L3 cache: 8192K
NUMA node0 CPU(s): 0-7
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question