public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] kvm-userspace: Batch writes to MMIO
@ 2008-05-30 14:07 Laurent Vivier
  2008-05-30 14:07 ` [PATCH 1/7] libkvm: coalesced MMIO support (common part) Laurent Vivier
  2008-06-04 15:16 ` [PATCH 0/7] kvm-userspace: Batch writes to MMIO Avi Kivity
  0 siblings, 2 replies; 10+ messages in thread
From: Laurent Vivier @ 2008-05-30 14:07 UTC (permalink / raw)
  To: kvm; +Cc: Laurent Vivier


When kernel has to send MMIO writes to userspace, it stores them
in memory until it has to pass the hand to userspace for another
reason. This avoids to have too many context switches on operations
that can wait.

[PATCH 1/7] libkvm: coalesced MMIO support (common part)

    This patch introduces in libkvm the common part of coalesced MMIO interface.

[PATCH 2/7] libkvm: coalesced MMIO support (x86 part)

    This patch enables coalesced MMIO for x86 architecture.

[PATCH 3/7] libkvm: coalesced MMIO support (powerpc part)

    This patch enables coalesced MMIO for powerpc architecture.
    WARNING: this has not been tested.

[PATCH 4/7] libkvm: coalesced support (ia64 part)

    This patch enables coalesced MMIO for ia64 architecture.
    WARNING: this has not been tested.

[PATCH 5/7] qemu: coalesced MMIO support (core)

    This patch introduces in qemu the coalesced MMIO.

[PATCH 6/7] qemu: coalesced MMIO support (VGA)

    This patch defines coalesced MMIO zones for VGA cards.

[PATCH 7/7] qemu: coalesced MMIO support (e1000)

    This patch defines coalesced MMIO zones for e1000 ethernet card.

Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net>

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 0/7] kvm-userspace: Batch writes to MMIO
@ 2008-05-23  8:50 Laurent Vivier
  0 siblings, 0 replies; 10+ messages in thread
From: Laurent Vivier @ 2008-05-23  8:50 UTC (permalink / raw)
  To: kvm; +Cc: Laurent Vivier

When kernel has to send MMIO writes to userspace, it stores them
in memory until it has to pass the hand to userspace for another
reason. This avoids to have too many context switches on operations
that can wait.

			WITHOUT			WITH
			PATCH			PATCH

iperf (e1000)		169 MB/s		185,5 MB/s	+9,7%
   host_state_reload	(626594)		(391825)	-37%

	[9,7% is a more realistic value than my previous benchmark]

boot XP
host_state_reload	764677			516059		-32%

VGA text scroll	
host_state_reload	13280568 (6:15)		3608362 (4:42)	-73% (-25%)

This is the userspace part of the MMIO batching functionality.

[PATCH 1/7] libkvm: delayed MMIO support (common part)

	This patch introduces in libkvm the common part of MMIO batching 
	interface.

[PATCH 2/7] libkvm: delayed MMIO support (x86 part)

	This patch enables MMIO batching for x86 architecture.

[PATCH 3/7] libkvm: delayed MMIO support (powerpc part)

	This patch enables MMIO batching for powerpc architecture.
	WARNING: this has not been tested.

[PATCH 4/7] libkvm: delayed MMIO support (ia64 part)

	This patch enables MMIO batching for ia64 architecture.
	WARNING: this has not been tested.

[PATCH 5/7] qemu: delayed MMIO support (core)

	This patch introduces in qemu the MMIO batching.

[PATCH 6/7] qemu: delayed MMIO support (VGA)

	This patch defines delayed MMIO zones for VGA cards.

[PATCH 7/7] qemu: delayed MMIO support (e1000)

	This patch defines delayed MMIO zones for e1000 ethernet card.

Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net>



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

end of thread, other threads:[~2008-06-04 15:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-30 14:07 [PATCH 0/7] kvm-userspace: Batch writes to MMIO Laurent Vivier
2008-05-30 14:07 ` [PATCH 1/7] libkvm: coalesced MMIO support (common part) Laurent Vivier
2008-05-30 14:07   ` [PATCH 2/7] libkvm: coalesced MMIO support (x86 part) Laurent Vivier
2008-05-30 14:07     ` [PATCH 3/7] libkvm: coalesced MMIO support (powerpc part) Laurent Vivier
2008-05-30 14:07       ` [PATCH 4/7] libkvm: coalesced support (ia64 part) Laurent Vivier
2008-05-30 14:07         ` [PATCH 5/7] qemu: coalesced MMIO support (core) Laurent Vivier
2008-05-30 14:07           ` [PATCH 6/7] qemu: coalesced MMIO support (VGA) Laurent Vivier
2008-05-30 14:07             ` [PATCH 7/7] qemu: coalesced MMIO support (e1000) Laurent Vivier
2008-06-04 15:16 ` [PATCH 0/7] kvm-userspace: Batch writes to MMIO Avi Kivity
  -- strict thread matches above, loose matches on Subject: below --
2008-05-23  8:50 Laurent Vivier

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