public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] in-kernel APIC v8 (kernel side)
@ 2007-05-24 13:22 Gregory Haskins
       [not found] ` <20070524131917.11321.17746.stgit-sLgBBP33vUGnsjUZhwzVf9HuzzzSOjJt@public.gmane.org>
  0 siblings, 1 reply; 21+ messages in thread
From: Gregory Haskins @ 2007-05-24 13:22 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Changelog: v7 plus the following:

1) Rebased on git-head

2) Removed level-senstive patch.  I re-read the spec more carefully and we had
it right the first time.

3) Got rid of sigprocmask from vcpu_halt per comments

Passes the usual tests, and offers an 11% speedup.  There is another
enhancement not included here (coming shortly) which exposes another 12%
speedup over this as well.  Stay tuned

Regards
-Greg

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [PATCH 0/9] in-kernel APIC v9 (kernel side)
@ 2007-05-31 18:08 Gregory Haskins
       [not found] ` <20070531180005.1810.23884.stgit-5CR4LY5GPkvLDviKLk5550HKjMygAv58XqFh9Ls21Oc@public.gmane.org>
  0 siblings, 1 reply; 21+ messages in thread
From: Gregory Haskins @ 2007-05-31 18:08 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Incorporates v8 plus the following changes:

1) Fix for hang on AMD
2) Fixes issue where irq-windows are inaccurately reported to userspace
3) Fixed issue where irq-window-exiting requests can be ignored in some cases

Note that we no longer need the backlog.patch to handle a corner cases now.

As before, this has been tested on 32 bit XP w/ACPI and 64 bit windows.  It
offers a 17% performance improvement over git HEAD in my testing.  Note that I
am not able to fully verify that this works on AMD, as even git-head does not
work on my system.  I am able to verify that it no longer hangs the kernel
hard.  The guest hangs, but it hangs without my patches as well.  Perhaps
someone with a known good environment on AMD can verify for me?

I am being pulled off of my KVM work for a little while, so I will not be able
to contribute again until further notice. If there are any remaining issues
that need to be addressed and someone wants to carry the torch, feel free to
do so.  Otherwise, I will pick up the effort to get this merged in when I am
able to return to KVM.

Thanks all for the feedback/comments/suggestions through all of this.  It has
been very fun and quite a learning experience.

-Greg
 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [PATCH 0/9] in-kernel APIC v6 (kernel side)
@ 2007-05-18 21:50 Gregory Haskins
       [not found] ` <20070518214737.30990.39272.stgit-sLgBBP33vUGnsjUZhwzVf9HuzzzSOjJt@public.gmane.org>
  0 siblings, 1 reply; 21+ messages in thread
From: Gregory Haskins @ 2007-05-18 21:50 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Changelog:

1) Minor cleanup

2) Moved eventfd patch to end of series and dropped it from the public release
(for now).  We dont technically need to signal userspace if PIT is enabled
since this wakes us up anyway.  We can defer the eventfd/in-kernel-halt
conversation for later.

3) Bug fixed: PENDING interrupts were gauged on TPR, not PPR which was causing
   bad behavior under linux.  This is now fixed.

Regards,
-Greg

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [PATCH 0/9] in-kernel APIC v5 (kernel side)
@ 2007-05-15 14:57 Gregory Haskins
       [not found] ` <20070515145404.15609.61552.stgit-sLgBBP33vUGnsjUZhwzVf9HuzzzSOjJt@public.gmane.org>
  0 siblings, 1 reply; 21+ messages in thread
From: Gregory Haskins @ 2007-05-15 14:57 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

This is rapidly converging, so sorry for the v4 and v5 posts back to back.  I
am now running through the test matrix as proposed by Avi.

v5 builds upon v4 by adding:

1) Incorporated general minor feedback
2) Big change is vcpu->irq.task is now "pid_t vcpu->owner" to eliminate
   potential dangling task pointer issue.

As before, I have tested 32 bit XP w/ACPI and 64 bit linux.

Regards,
-Greg


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [PATCH 0/9] in-kernel APIC v4 (kernel side)
@ 2007-05-15  3:15 Gregory Haskins
       [not found] ` <20070515031217.9382.44999.stgit-sLgBBP33vUGnsjUZhwzVf9HuzzzSOjJt@public.gmane.org>
  0 siblings, 1 reply; 21+ messages in thread
From: Gregory Haskins @ 2007-05-15  3:15 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

This release incorporates v3, plus the following:

1) Avi's review comments have been added
2) Minor cleanup to the interrupt handling code
3) Conversion to eventfd userspace signaling mechanism

Has been tested on 

A) 32 bit Windows XP w/ACPI
B) 64 bit Linux (2.6.16 based)

Userspace will follow after this.

Regards,
-Greg

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [PATCH 0/9] in-kernel APIC v2
@ 2007-05-09 15:18 Gregory Haskins
       [not found] ` <20070509151238.8673.4818.stgit-sLgBBP33vUGnsjUZhwzVf9HuzzzSOjJt@public.gmane.org>
  0 siblings, 1 reply; 21+ messages in thread
From: Gregory Haskins @ 2007-05-09 15:18 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

This release fixes two critical issues:

1) Performance was bad in previous versions (QEMU would stay at 80% + even
   when the guest was idle).  Root cause was a latent KVM bug that was not
   exposed with the original interrupt model.  Namely, interrupts were not
   checked during light-exit (see Patch #2).  The behavior we were seeing was
   caused by the system continuously halting, only to determine that there
   were interrupts pending and executing a light-exit.  However, the
   interrupts were never injected so the guest would just tight loop on HLT.

2) Fixed corruption issue were signal reception in the new interrupt code
   could cause us to return to userspace without restoring the host state
   properly.

Regards,
-Greg

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2007-05-31 18:09 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-24 13:22 [PATCH 0/9] in-kernel APIC v8 (kernel side) Gregory Haskins
     [not found] ` <20070524131917.11321.17746.stgit-sLgBBP33vUGnsjUZhwzVf9HuzzzSOjJt@public.gmane.org>
2007-05-24 13:22   ` [PATCH 1/9] KVM: Adds support for in-kernel mmio handlers Gregory Haskins
2007-05-24 13:22   ` [PATCH 2/9] KVM: VMX - fix interrupt checking on light-exit Gregory Haskins
2007-05-24 13:23   ` [PATCH 3/9] KVM: Add irqdevice object Gregory Haskins
2007-05-24 13:23   ` [PATCH 4/9] KVM: Adds ability to preempt an executing VCPU Gregory Haskins
     [not found]     ` <20070524132305.11321.61433.stgit-sLgBBP33vUGnsjUZhwzVf9HuzzzSOjJt@public.gmane.org>
2007-05-27 11:16       ` Avi Kivity
2007-05-24 13:23   ` [PATCH 5/9] KVM: Add support for in-kernel LAPIC model Gregory Haskins
2007-05-24 13:23   ` [PATCH 6/9] KVM: Adds support for real NMI injection on VMX processors Gregory Haskins
2007-05-24 13:23   ` [PATCH 7/9] KVM: Adds basic plumbing to support TPR shadow features Gregory Haskins
2007-05-24 13:23   ` [PATCH 8/9] KVM: Add statistics from interrupt subsystem Gregory Haskins
2007-05-24 13:23   ` [PATCH 9/9] KVM: Adds support for halting in the kernel Gregory Haskins
2007-05-24 14:50   ` [PATCH 0/9] in-kernel APIC v8 (kernel side) Avi Kivity
     [not found]     ` <4655A63E.7000505-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-05-24 14:58       ` Avi Kivity
     [not found]         ` <4655A80C.4000606-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-05-24 15:02           ` Gregory Haskins
     [not found]             ` <4655709E.BA47.005A.0-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>
2007-05-24 15:06               ` Avi Kivity
     [not found]                 ` <4655AA0C.9040108-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-05-24 15:12                   ` Gregory Haskins
  -- strict thread matches above, loose matches on Subject: below --
2007-05-31 18:08 [PATCH 0/9] in-kernel APIC v9 " Gregory Haskins
     [not found] ` <20070531180005.1810.23884.stgit-5CR4LY5GPkvLDviKLk5550HKjMygAv58XqFh9Ls21Oc@public.gmane.org>
2007-05-31 18:09   ` [PATCH 4/9] KVM: Adds ability to preempt an executing VCPU Gregory Haskins
2007-05-18 21:50 [PATCH 0/9] in-kernel APIC v6 (kernel side) Gregory Haskins
     [not found] ` <20070518214737.30990.39272.stgit-sLgBBP33vUGnsjUZhwzVf9HuzzzSOjJt@public.gmane.org>
2007-05-18 21:51   ` [PATCH 4/9] KVM: Adds ability to preempt an executing VCPU Gregory Haskins
2007-05-15 14:57 [PATCH 0/9] in-kernel APIC v5 (kernel side) Gregory Haskins
     [not found] ` <20070515145404.15609.61552.stgit-sLgBBP33vUGnsjUZhwzVf9HuzzzSOjJt@public.gmane.org>
2007-05-15 14:57   ` [PATCH 4/9] KVM: Adds ability to preempt an executing VCPU Gregory Haskins
2007-05-15  3:15 [PATCH 0/9] in-kernel APIC v4 (kernel side) Gregory Haskins
     [not found] ` <20070515031217.9382.44999.stgit-sLgBBP33vUGnsjUZhwzVf9HuzzzSOjJt@public.gmane.org>
2007-05-15  3:15   ` [PATCH 4/9] KVM: Adds ability to preempt an executing VCPU Gregory Haskins
2007-05-09 15:18 [PATCH 0/9] in-kernel APIC v2 Gregory Haskins
     [not found] ` <20070509151238.8673.4818.stgit-sLgBBP33vUGnsjUZhwzVf9HuzzzSOjJt@public.gmane.org>
2007-05-09 15:19   ` [PATCH 4/9] KVM: Adds ability to preempt an executing VCPU Gregory Haskins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox