qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Balbir Singh <balbir@linux.vnet.ibm.com>
To: kvm@vger.kernel.org
Cc: linux-mm@kvack.org, qemu-devel@nongnu.org,
	Balbir Singh <balbir@linux.vnet.ibm.com>
Subject: [Qemu-devel] [RFC][PATCH 0/3] KVM page cache optimization (v3)
Date: Fri, 29 Oct 2010 04:10:02 +0530	[thread overview]
Message-ID: <20101028224002.32626.13015.sendpatchset@localhost.localdomain> (raw)

This is version 3 of the page cache control patches

From: Balbir Singh <balbir@linux.vnet.ibm.com>

This series has three patches, the first controls
the amount of unmapped page cache usage via a boot
parameter and sysctl. The second patch controls page
and slab cache via the balloon driver. Both the patches
make heavy use of the zone_reclaim() functionality
already present in the kernel.

The last patch in the series is against QEmu to make
the ballooning hint optional.

V2 was posted a long time back (see http://lwn.net/Articles/391293/)
One of the review suggestions was to make the hint optional
(discussed in the community call as well).

I'd appreciate any test results with the patches.

TODO

1. libvirt exploits for optional hint

page-cache-control
balloon-page-cache
provide-memory-hint-during-ballooning

---
 b/balloon.c                       |   18 +++-
 b/balloon.h                       |    4
 b/drivers/virtio/virtio_balloon.c |   17 +++
 b/hmp-commands.hx                 |    7 +
 b/hw/virtio-balloon.c             |   14 ++-
 b/hw/virtio-balloon.h             |    3
 b/include/linux/gfp.h             |    8 +
 b/include/linux/mmzone.h          |    2
 b/include/linux/swap.h            |    3
 b/include/linux/virtio_balloon.h  |    3
 b/mm/page_alloc.c                 |    9 +-
 b/mm/vmscan.c                     |  162 ++++++++++++++++++++++++++++----------
 b/qmp-commands.hx                 |    7 -
 include/linux/swap.h              |    9 --
 mm/page_alloc.c                   |    3
 mm/vmscan.c                       |    2
 16 files changed, 202 insertions(+), 69 deletions(-)


-- 
	Three Cheers,
	Balbir

             reply	other threads:[~2010-10-28 22:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-28 22:40 Balbir Singh [this message]
2010-10-28 22:40 ` [Qemu-devel] [RFC][PATCH 1/3] Linux/Guest unmapped page cache control Balbir Singh
2010-11-03 14:35   ` [Qemu-devel] " Christoph Lameter
2010-11-03 17:17     ` Balbir Singh
2010-11-03 17:58       ` Christoph Lameter
2010-10-28 22:40 ` [Qemu-devel] [RFC][PATCH 2/3] Linux/Guest cooperative " Balbir Singh
2010-10-28 22:40 ` [Qemu-devel] [RFC][PATCH 3/3] QEmu changes to provide balloon hint Balbir Singh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101028224002.32626.13015.sendpatchset@localhost.localdomain \
    --to=balbir@linux.vnet.ibm.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).