linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rik van Riel <riel@redhat.com>
To: lsf-pc@lists.linux-foundation.org
Cc: Linux Memory Management List <linux-mm@kvack.org>
Subject: [LSF/MM TOPIC] [ATTEND] memory compaction & ballooning
Date: Mon, 23 Jan 2012 08:57:49 -0500	[thread overview]
Message-ID: <4F1D675D.5070800@redhat.com> (raw)

KVM guests benefit a lot from being able to use transparent
hugepages in both the host and the guest, cutting the number
of memory accesses to fill a TLB entry almost in half when
using EPT/NPT.

However, currently memory is ballooned in 4kB units, leading
to fragmentation of guest memory and an inability to use 2MB
pages.  One obvious fix is to do memory ballooning in 2MB
increments, however there appear to be several obstacles in
the way of compaction actually creating contiguous 2MB areas
of free memory.

I would like to discuss / brainstorm improvements to
compaction and ways to keep memory allocations better
separated, to be better able to come up with contiguous
2MB areas.


-- 
All rights reversed

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

             reply	other threads:[~2012-01-23 13:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-23 13:57 Rik van Riel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-02-01 17:30 [LSF/MM TOPIC] [ATTEND] memory compaction & ballooning Dan Magenheimer

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=4F1D675D.5070800@redhat.com \
    --to=riel@redhat.com \
    --cc=linux-mm@kvack.org \
    --cc=lsf-pc@lists.linux-foundation.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).