From: "T.J. Alumbaugh" <talumbau@google.com>
To: "Gupta, Pankaj" <pankaj.gupta@amd.com>
Cc: lsf-pc@lists.linux-foundation.org,
"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 20:09:30 -0700 [thread overview]
Message-ID: <CABmGT5EUF4AKCjG6KQvXdHSePKpnTMApZppHpJJx=UPn2juXrw@mail.gmail.com> (raw)
In-Reply-To: <03c941dd-39a9-6775-ce4d-ff6ac9abffd7@amd.com>
Hi Pankaj,
On Mon, Feb 27, 2023 at 11:02 PM Gupta, Pankaj <pankaj.gupta@amd.com> wrote:
>
>
> - What kind/frequency of data we expect WSS would relay to the host in
> good and worst case?
>
This is a good question. Right now, we communicate a histogram of page
counts (not very much data) during periods of memory pressure, with
user configurable rate limiting. The goal is to notify when it's
important to take action, but we also allow the host to request a
report.
> - 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.
>
I think you are correct that the best way to reduce overhead is by
sending the highest possible page order. So far we have not directly
addressed this problem. The goal here is to solve the "when" and "how
much" problems for balloon adjustment, which will go far in minimizing
fragmentation caused by frequent balloon adjustments. But it seems
clear that sending a higher page order is important too.
> Maybe some of these or other similar techniques are already considered.
>
David's idea of pairing this capability with free page reporting (in
the next reply on this thread) seems like an intriguing next step.
-T.J.
next prev parent reply other threads:[~2023-03-01 3:10 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
2023-03-01 3:09 ` T.J. Alumbaugh [this message]
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='CABmGT5EUF4AKCjG6KQvXdHSePKpnTMApZppHpJJx=UPn2juXrw@mail.gmail.com' \
--to=talumbau@google.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=pankaj.gupta@amd.com \
--cc=quic_sudaraja@quicinc.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