All of lore.kernel.org
 help / color / mirror / Atom feed
* [Patch v4 0/6] KVM: Guest page hinting
@ 2017-11-03 20:30 nilal
  2017-11-03 20:30 ` [Patch v4 1/6] KVM: Support for guest " nilal
                   ` (7 more replies)
  0 siblings, 8 replies; 17+ messages in thread
From: nilal @ 2017-11-03 20:30 UTC (permalink / raw)
  To: kvm, pbonzini, pagupta, wei.w.wang, yang.zhang.wz, riel, david,
	mst, dodgen, konrad.wilk

The following patch-set proposes an efficient mechanism for handing freed memory between the guest and the host. It enables the guests with DAX (no page cache) to rapidly free and reclaim memory to and from the host respectively. 

Changelog in V4:
	-Undefined reference for arch_free_page and arch_alloc_page when KVM is build as a module is fixed
	-Batched guest free pages could be transmitted to the host/QEMU with one single kick
	-Enabling or disabling guest page hinting support could be done through sysctl variable on the run-time
	-Basic functional testing for this support is done

Virtio interface changes are picked up from Wei's patch-set for Virtio-balloon enhancement[3]. "Wei, How would you like me to credit you in the final patch?")

Performance:
	Test criteria: Kernel Build
	Command: make clean;make defconfig;time make
	With Hinting:
		real: 21m24.680s
		user: 16m3.362s
		sys : 2m19.027s
	Without Hinting:
		real: 21m18.062s
		user: 16m13.969s
		sys : 1m17.884s

	Test criteria: Stress Test
	Command: time stress --io 2 --cpu 2 --vm 2 --vm-bytes 1024M --timeout 100s -v
	With Hinting:
		real: 1m40.726s
		user: 1m23.449s
		sys : 0m5.576s
	Without Hinting:
		real: 1m40.378s
		user: 1m21.292s
		sys : 0m4.972s

[1] http://www.spinics.net/lists/kvm/msg153666.html
[2] https://www.spinics.net/lists/kvm/msg155471.html
[3] http://www.spinics.net/lists/kvm/msg152734.html
[4] https://www.spinics.net/lists/kvm/msg156658.html

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

end of thread, other threads:[~2017-11-15 20:06 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-03 20:30 [Patch v4 0/6] KVM: Guest page hinting nilal
2017-11-03 20:30 ` [Patch v4 1/6] KVM: Support for guest " nilal
2017-11-13 17:59   ` Michael S. Tsirkin
2017-11-15 19:38     ` Nitesh Narayan Lal
2017-11-15 20:06       ` Michael S. Tsirkin
2017-11-03 20:30 ` [Patch v4 2/6] KVM: Guest page hinting functionality nilal
2017-11-13 18:03   ` Michael S. Tsirkin
2017-11-03 20:30 ` [Patch v4 3/6] KVM: Adding tracepoints for guest page hinting nilal
2017-11-03 20:30 ` [Patch v4 4/6] virtio: Exposes added descriptor to the other side synchronously nilal
2017-11-03 20:30 ` [Patch v4 5/6] KVM: Sending hyperlist to the host via hinting_vq nilal
2017-11-03 20:30 ` [Patch v4 6/6] KVM: Enabling guest page hinting via static key nilal
2017-11-03 20:37 ` [QEMU PATCH] kvm: Support for guest page hinting nilal
2017-11-03 20:37   ` nilal
2017-11-06 11:21     ` Pankaj Gupta
2017-11-06 14:21       ` Nitesh Narayan Lal
2017-11-12 21:23 ` [Patch v4 0/6] KVM: Guest " Rik van Riel
2017-11-13 15:14   ` Nitesh Narayan Lal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.