All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jürgen Groß" <jgross@suse.com>
To: SeongJae Park <sj38.park@gmail.com>, sjpark@amazon.com
Cc: axboe@kernel.dk, konrad.wilk@oracle.com,
	linux-block@vger.kernel.org, linux-kernel@vger.kernel.org,
	pdurrant@amazon.com, roger.pau@citrix.com,
	xen-devel@lists.xenproject.org, SeongJae Park <sjpark@amazon.de>
Subject: Re: [PATCH v5 1/2] xenbus/backend: Add memory pressure handler callback
Date: Tue, 10 Dec 2019 09:17:38 +0100	[thread overview]
Message-ID: <7260cdce-7488-5045-0572-021a0ef191ac@suse.com> (raw)
In-Reply-To: <20191210080628.5264-2-sjpark@amazon.de>

On 10.12.19 09:06, SeongJae Park wrote:
> Granting pages consumes backend system memory.  In systems configured
> with insufficient spare memory for those pages, it can cause a memory
> pressure situation.  However, finding the optimal amount of the spare
> memory is challenging for large systems having dynamic resource
> utilization patterns.  Also, such a static configuration might lack a
> flexibility.
> 
> To mitigate such problems, this commit adds a memory reclaim callback to
> 'xenbus_driver'.  Using this facility, 'xenbus' would be able to monitor
> a memory pressure and request specific devices of specific backend
> drivers which causing the given pressure to voluntarily release its
> memory.
> 
> That said, this commit simply requests every callback registered driver
> to release its memory for every domain, rather than issueing the
> requests to the drivers and the domain in charge.  Such things will be
> done in a futur.  Also, this commit focuses on memory only.  However, it
> would be ablt to be extended for general resources.
> 
> Signed-off-by: SeongJae Park <sjpark@amazon.de>

Reviewed-by: Juergen Gross <jgross@suse.com>


Juergen

WARNING: multiple messages have this Message-ID (diff)
From: "Jürgen Groß" <jgross@suse.com>
To: SeongJae Park <sj38.park@gmail.com>, sjpark@amazon.com
Cc: axboe@kernel.dk, konrad.wilk@oracle.com, pdurrant@amazon.com,
	SeongJae Park <sjpark@amazon.de>,
	linux-kernel@vger.kernel.org, linux-block@vger.kernel.org,
	xen-devel@lists.xenproject.org, roger.pau@citrix.com
Subject: Re: [Xen-devel] [PATCH v5 1/2] xenbus/backend: Add memory pressure handler callback
Date: Tue, 10 Dec 2019 09:17:38 +0100	[thread overview]
Message-ID: <7260cdce-7488-5045-0572-021a0ef191ac@suse.com> (raw)
In-Reply-To: <20191210080628.5264-2-sjpark@amazon.de>

On 10.12.19 09:06, SeongJae Park wrote:
> Granting pages consumes backend system memory.  In systems configured
> with insufficient spare memory for those pages, it can cause a memory
> pressure situation.  However, finding the optimal amount of the spare
> memory is challenging for large systems having dynamic resource
> utilization patterns.  Also, such a static configuration might lack a
> flexibility.
> 
> To mitigate such problems, this commit adds a memory reclaim callback to
> 'xenbus_driver'.  Using this facility, 'xenbus' would be able to monitor
> a memory pressure and request specific devices of specific backend
> drivers which causing the given pressure to voluntarily release its
> memory.
> 
> That said, this commit simply requests every callback registered driver
> to release its memory for every domain, rather than issueing the
> requests to the drivers and the domain in charge.  Such things will be
> done in a futur.  Also, this commit focuses on memory only.  However, it
> would be ablt to be extended for general resources.
> 
> Signed-off-by: SeongJae Park <sjpark@amazon.de>

Reviewed-by: Juergen Gross <jgross@suse.com>


Juergen

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2019-12-10  8:17 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-10  8:06 [PATCH v5 0/2] xenbus/backend: Add a memory pressure handler callback SeongJae Park
2019-12-10  8:06 ` [Xen-devel] " SeongJae Park
2019-12-10  8:06 ` [PATCH v5 1/2] xenbus/backend: Add " SeongJae Park
2019-12-10  8:06   ` [Xen-devel] " SeongJae Park
2019-12-10  8:17   ` Jürgen Groß [this message]
2019-12-10  8:17     ` Jürgen Groß
2019-12-10 10:16   ` Roger Pau Monné
2019-12-10 10:16     ` [Xen-devel] " Roger Pau Monné
2019-12-10 10:21     ` Roger Pau Monné
2019-12-10 10:21       ` Roger Pau Monné
2019-12-10 10:24       ` SeongJae Park
2019-12-10 10:24         ` SeongJae Park
2019-12-11  3:50     ` SeongJae Park
2019-12-11  3:50       ` [Xen-devel] " SeongJae Park
2019-12-11 10:51       ` Roger Pau Monné
2019-12-11 10:51         ` [Xen-devel] " Roger Pau Monné
2019-12-11 11:52         ` Re: " SeongJae Park
2019-12-11 11:52           ` [Xen-devel] " SeongJae Park
2019-12-10  8:06 ` [PATCH v5 2/2] xen/blkback: Squeeze page pools if a memory pressure is detected SeongJae Park
2019-12-10  8:06   ` [Xen-devel] " SeongJae Park
2019-12-10 11:04   ` Roger Pau Monné
2019-12-10 11:04     ` [Xen-devel] " Roger Pau Monné
2019-12-11  4:08     ` SeongJae Park
2019-12-11  4:08       ` [Xen-devel] " SeongJae Park
2019-12-11 11:14       ` Roger Pau Monné
2019-12-11 11:14         ` [Xen-devel] " Roger Pau Monné
2019-12-11 11:52         ` Re: " SeongJae Park
2019-12-11 11:52           ` [Xen-devel] " SeongJae Park

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=7260cdce-7488-5045-0572-021a0ef191ac@suse.com \
    --to=jgross@suse.com \
    --cc=axboe@kernel.dk \
    --cc=konrad.wilk@oracle.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pdurrant@amazon.com \
    --cc=roger.pau@citrix.com \
    --cc=sj38.park@gmail.com \
    --cc=sjpark@amazon.com \
    --cc=sjpark@amazon.de \
    --cc=xen-devel@lists.xenproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.