All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Hildenbrand <david@redhat.com>
To: "Wang, Wei W" <wei.w.wang@intel.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"virtualization@lists.linux-foundation.org"
	<virtualization@lists.linux-foundation.org>
Cc: "tysand@google.com" <tysand@google.com>,
	"mst@redhat.com" <mst@redhat.com>,
	"alexander.h.duyck@linux.intel.com"
	<alexander.h.duyck@linux.intel.com>,
	"rientjes@google.com" <rientjes@google.com>,
	"mhocko@kernel.org" <mhocko@kernel.org>,
	"namit@vmware.com" <namit@vmware.com>,
	"penguin-kernel@I-love.SAKURA.ne.jp"
	<penguin-kernel@I-love.SAKURA.ne.jp>
Subject: Re: [PATCH RFC] virtio_balloon: conservative balloon page shrinking
Date: Thu, 6 Feb 2020 10:49:22 +0100	[thread overview]
Message-ID: <1f350e9f-e19d-8ef7-b63c-86bb4f52acc5@redhat.com> (raw)
In-Reply-To: <286AC319A985734F985F78AFA26841F73E42397C@shsmsx102.ccr.corp.intel.com>

On 06.02.20 10:44, Wang, Wei W wrote:
> On Thursday, February 6, 2020 5:32 PM, David Hildenbrand wrote:
>>
>> If the page cache is empty, a drop_slab() will deflate the whole balloon if I
>> am not wrong.
>>
>> Especially, a echo 3 > /proc/sys/vm/drop_caches
>>
>> will first drop the page cache and then drop_slab()
> 
> Then that's the problem of "echo 3 > /proc/sys/vm/drop_cache" itself. It invokes other shrinkers as well (if considered an issue), need to be tweaked in the mm.

In short, I don't like this approach as long as a drop_slab() can
deflate the whole balloon and don't think this is the right approach then.


-- 
Thanks,

David / dhildenb

  reply	other threads:[~2020-02-06  9:49 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-06  8:01 [PATCH RFC] virtio_balloon: conservative balloon page shrinking Wei Wang
2020-02-06  9:04 ` Michael S. Tsirkin
2020-02-06  9:27   ` Wang, Wei W
2020-02-06  9:31     ` Michael S. Tsirkin
2020-02-06  9:43       ` Wang, Wei W
2020-02-06 11:26         ` Michael S. Tsirkin
2020-02-06  9:09 ` David Hildenbrand
2020-02-06  9:28   ` Wang, Wei W
2020-02-06  9:32     ` David Hildenbrand
2020-02-06  9:44       ` Wang, Wei W
2020-02-06  9:49         ` David Hildenbrand [this message]
2020-02-08 12:32 ` Tetsuo Handa
2020-02-10  3:13   ` Wang, Wei W
2020-02-10  3:57     ` Tetsuo Handa
2020-02-10  7:27       ` Wang, Wei W
2020-02-11 14:18         ` Tetsuo Handa
2020-02-14 20:22           ` Tyler Sanderson via Virtualization

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=1f350e9f-e19d-8ef7-b63c-86bb4f52acc5@redhat.com \
    --to=david@redhat.com \
    --cc=alexander.h.duyck@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mhocko@kernel.org \
    --cc=mst@redhat.com \
    --cc=namit@vmware.com \
    --cc=penguin-kernel@I-love.SAKURA.ne.jp \
    --cc=rientjes@google.com \
    --cc=tysand@google.com \
    --cc=virtualization@lists.linux-foundation.org \
    --cc=wei.w.wang@intel.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 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.