linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Gupta, Pankaj" <pankaj.gupta@amd.com>
To: "T.J. Alumbaugh" <talumbau@google.com>,
	lsf-pc@lists.linux-foundation.org
Cc: "Sudarshan Rajagopalan (QUIC)" <quic_sudaraja@quicinc.com>,
	hch@lst.de, kai.huang@intel.com,
	David Hildenbrand <david@redhat.com>,
	jon@nutanix.com, Yuanchu Xie <yuanchu@google.com>,
	linux-mm <linux-mm@kvack.org>
Subject: Re: [LSF/MM/BPF TOPIC] VM Memory Overcommit
Date: Tue, 28 Feb 2023 07:02:09 +0100	[thread overview]
Message-ID: <03c941dd-39a9-6775-ce4d-ff6ac9abffd7@amd.com> (raw)
In-Reply-To: <CABmGT5H6t_agW=yY1U78tsV+chLoRf2=mcSc8GCYUD25PbxahQ@mail.gmail.com>

Hi T.J,

> This topic proposal would be to present and discuss multiple MM
> features to improve host memory overcommit while running VMs. There
> are two general cases:
> 
> 1. The host and its guests operate independently,
> 
> 2. The host and its guests cooperate by techniques like ballooning.
> 
> In the first case, we would discuss some new techniques, e.g., fast
> access bit harvesting in the KVM MMU, and some difficulties, e.g.,
> double zswapping.
> 
> In the second case, we would like to discuss a novel working set size
> (WSS) notifier framework and some improvements to the ballooning
> policy. The WSS notifier, when available, can report WSS to its
> listeners. VM Memory Overcommit is one of its use cases: the
> virtio-balloon driver can register for WSS notifications and relay WSS
> to the host. The host can leverage the WSS notifications and improve
> the ballooning policy.

I am interested in this discussion. Have few questions below:

- What kind/frequency of data we expect WSS would relay to the host in
   good and worst case?

- Thoughts already considered about the overhead VM will have based on
   WSS relay data to the host and host taking action on the data?

   -- One thing iirc from the free page hinting design experiments is
      preventing guest and host acting simultaneously (e.g for free) on
      same page (pfn) and also reducing the overhead of sending data from
      guest to host by sending the highest possible page order.

Maybe some of these or other similar techniques are already considered.

Thanks,
Pankaj
> 
> This topic would be of interest to a wide range of audience, e.g.,
> phones, laptops and servers.
> Co-presented with Yuanchu Xie.
> 
> Thanks,
> 
> -T.J.
> 



  reply	other threads:[~2023-02-28  6:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-22 23:59 T.J. Alumbaugh
2023-02-28  6:02 ` Gupta, Pankaj [this message]
2023-03-01  3:09   ` T.J. Alumbaugh
2023-02-28  9:20 ` David Hildenbrand
2023-02-28 22:38   ` SeongJae Park
2023-02-28 22:52     ` David Hildenbrand
2023-03-02  3:26       ` David Rientjes
2023-03-02  9:32         ` David Hildenbrand
2023-03-01  3:21   ` T.J. Alumbaugh
2023-05-19 21:39 ` T.J. Alumbaugh

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=03c941dd-39a9-6775-ce4d-ff6ac9abffd7@amd.com \
    --to=pankaj.gupta@amd.com \
    --cc=david@redhat.com \
    --cc=hch@lst.de \
    --cc=jon@nutanix.com \
    --cc=kai.huang@intel.com \
    --cc=linux-mm@kvack.org \
    --cc=lsf-pc@lists.linux-foundation.org \
    --cc=quic_sudaraja@quicinc.com \
    --cc=talumbau@google.com \
    --cc=yuanchu@google.com \
    /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