Re: [Bug 103321] New: NPT page attribute support causes extreme slowdown

2015-09-15 Thread Sebastian Schütte
> do you get normal speed? Nope, still slow... I somehow missed that svm_set_msr() calls svm_set_guest_pat() as well, it does seem to properly change g_pat. The only thing that catches my eyes is that later on all WT entries in g_pat are replaced by WC (0x0007040600070406 ->

Re: [Bug 103321] New: NPT page attribute support causes extreme slowdown

2015-09-02 Thread Sebastian Schütte
I inserted some printk() lines into init_vmcb() around the call of svm_set_guest_pat() to print out the g_pat value as well as svm->vcpu.vcpu_id and noticed that something was off: Initially, the PATs of all VCPUs are set to 0x0606060606060606. However, after attaching some devices (vfio-pci

Re: [Bug 103321] New: NPT page attribute support causes extreme slowdown

2015-08-24 Thread Sebastian Schütte
Please try this: Still no difference I guess the trace_kvm_cr_write() call in that patch was supposed to trigger kvm_cr entries while tracing? I couldn't find any, though, the only entries containing cr within the output of trace-cmd report were kvm_exit ones that looked quite similar to the