[Bug 206579] KVM with passthrough generates "BUG: kernel NULL pointer dereference" and crashes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=206579

--- Comment #55 from Anthony (anthonysanwo@xxxxxxxxxxxxxx) ---
Created attachment 288333
  --> https://bugzilla.kernel.org/attachment.cgi?id=288333&action=edit
Windows SVM IOMMU testing

Hi Suravee,

Just wanted to report your latest patch:
KVM: x86: Fixes posted interrupt check for IRQs delivery modes -
https://lore.kernel.org/patchwork/patch/1221065/

Fixes SVM IOMMU with windows - Confirmed looking at proc/interrupts and perf
top etc.

Some oddities I found -

With no cpu-pm there can be a large amount of kvm:kvm_avic_incomplete_ipi
exits. With cpu-pm it reduces significantly to sometimes being zero depending
length of looking at perf stat.

Also with no cpu-pm there is a big performance degradation this can be felt in
general in Windows desktop when UI feels more sluggish. Another example of this
is just trying to start a latencymon report freezes the VM(Not sure if is a
hard unrecoverable freeze but UI is completely frozen). With cpu-pm it is
greatly improved but there is still some inconsistencies and compared to just
SVM AVIC working(using kernel without the patch) the performance is worse.
By performance, I am mainly relating to windows system call performance
monitoring with latencymon but this can also be since in applications(Gaming/UI
in the testing I did). 

For whatever reason my test windows config, however SVM IOMMU doesn't seem to
want to activate even with the same settings as my regular config. This is with
the same kernel and testing back to back. 

I have attached a short perf record session + perf stat and configs which I
hope will aid better. Please let me know if there is anything else I can
provide/test to help with debugging.

Those are the parameters I used to record.

sudo perf kvm --host record -agvsT -z=22 --sample-cpu --max-size 2M
--call-graph fp -e 'kvm:*' -o perf-events.data

sudo perf kvm --host record -agvsT -z=22 --sample-cpu --max-size 2M
--call-graph fp -p `pidof qemu-system-x86_64` -o perf-stack.data

-- 
You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux