[RFC v2 0/2] virtio_balloon: auto-ballooning support

From: Luiz Capitulino
Date: Thu May 09 2013 - 10:54:39 EST


Hi,

This series is a respin of automatic ballooning support I started
working on last year. Patch 2/2 contains all relevant technical
details and performance measurements results.

This is in RFC state because it's a work in progress.

Here's some information if you want to try automatic ballooning:

1. You'll need 3.9+ for the host kernel
2. Apply this series for the guest kernel
3. Grab the QEMU bits from:
git://repo.or.cz/qemu/qmp-unstable.git balloon/auto-ballooning/memcg/rfc
4. Enable the balloon device in qemu with:
-device virtio-balloon-pci,auto-balloon=true
5. Balloon the guest memory down, say from 1G to 256MB
6. Generate some pressure in the guest, say a kernel build with -j16

Any feedback is appreciated!

Luiz Capitulino (2):
virtio_balloon: move balloon_lock mutex to callers
virtio_balloon: auto-ballooning support

drivers/virtio/virtio_balloon.c | 63 ++++++++++++++++++++++++++++++++++---
include/uapi/linux/virtio_balloon.h | 1 +
2 files changed, 60 insertions(+), 4 deletions(-)

--
1.8.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/